Rca/fix UI #15
|
@ -118,6 +118,10 @@ public class MainActivity extends AppCompatActivity {
|
||||||
getSupportFragmentManager().beginTransaction()
|
getSupportFragmentManager().beginTransaction()
|
||||||
.replace(findViewById(R.id.fragmentContainerView).getId(), NotificationFragment.newInstance("test", "test"))
|
.replace(findViewById(R.id.fragmentContainerView).getId(), NotificationFragment.newInstance("test", "test"))
|
||||||
.commit();
|
.commit();
|
||||||
|
} else if (v.getItemId() == findViewById(R.id.navigation_settings).getId()) {
|
||||||
|
getSupportFragmentManager().beginTransaction()
|
||||||
|
.replace(findViewById(R.id.fragmentContainerView).getId(), SettingFragment.newInstance())
|
||||||
|
.commit();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user