Search in sources :

Example 1 with SubmitLogFragment

use of org.whispersystems.libpastelog.SubmitLogFragment in project Signal-Android by WhisperSystems.

the class LogSubmitActivity method onCreate.

@Override
protected void onCreate(Bundle icicle) {
    dynamicTheme.onCreate(this);
    super.onCreate(icicle);
    setContentView(R.layout.log_submit_activity);
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    SubmitLogFragment fragment = SubmitLogFragment.newInstance();
    FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
    transaction.replace(R.id.fragment_container, fragment);
    transaction.commit();
}
Also used : FragmentTransaction(android.support.v4.app.FragmentTransaction) SubmitLogFragment(org.whispersystems.libpastelog.SubmitLogFragment)

Aggregations

FragmentTransaction (android.support.v4.app.FragmentTransaction)1 SubmitLogFragment (org.whispersystems.libpastelog.SubmitLogFragment)1