mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-23 22:09:30 +00:00
Use new navigation bar by default
This commit is contained in:
parent
52a9c15290
commit
f635506985
@ -127,6 +127,8 @@ public class MainActivity extends AppCompatActivity implements
|
|||||||
conversationsListHelper = new ConversationsListHelper(this, dbHelper);
|
conversationsListHelper = new ConversationsListHelper(this, dbHelper);
|
||||||
|
|
||||||
//Use navigation bar
|
//Use navigation bar
|
||||||
|
assert getSupportActionBar() != null;
|
||||||
|
getSupportActionBar().hide();
|
||||||
mNavBar = findViewById(R.id.nav_bar);
|
mNavBar = findViewById(R.id.nav_bar);
|
||||||
mNavBar.setOnNavigationItemSelectedListener(this);
|
mNavBar.setOnNavigationItemSelectedListener(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user