mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-19 16:25:33 +00:00
Use new navigation bar by default
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user