Browse Source

Do not display Appname

feature_fragments
vanitasvitae 5 years ago
parent
commit
94c7d8c540
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
  1. 1
      app/src/main/java/de/trac/spherical/MainActivity.java

1
app/src/main/java/de/trac/spherical/MainActivity.java

@ -48,6 +48,7 @@ public class MainActivity extends AppCompatActivity {
// Prepare UI
toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayShowTitleEnabled(false);
appBarLayout = (AppBarLayout) findViewById(R.id.lay_toolbar);
AppBarLayout.LayoutParams lp = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
lp.topMargin += getStatusBarHeight();

Loading…
Cancel
Save