Search in sources :

Example 1 with SampleHmsFragment

use of com.codetroopers.betterpickers.sample.fragment.SampleHmsFragment in project android-betterpickers by code-troopers.

the class SampleHmsUsingFragment method onCreate.

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.frame_layout);
    Fragment fragment = new SampleHmsFragment();
    FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
    transaction.replace(R.id.frame, fragment);
    transaction.commit();
}
Also used : FragmentTransaction(android.support.v4.app.FragmentTransaction) SampleHmsFragment(com.codetroopers.betterpickers.sample.fragment.SampleHmsFragment) Fragment(android.support.v4.app.Fragment) SampleHmsFragment(com.codetroopers.betterpickers.sample.fragment.SampleHmsFragment)

Aggregations

Fragment (android.support.v4.app.Fragment)1 FragmentTransaction (android.support.v4.app.FragmentTransaction)1 SampleHmsFragment (com.codetroopers.betterpickers.sample.fragment.SampleHmsFragment)1