1
0
Fork 0
mirror of https://github.com/vanitasvitae/Spherical synced 2024-11-22 04:12:07 +01:00

Do not display Appname

This commit is contained in:
vanitasvitae 2017-09-14 21:11:57 +02:00
parent 28216a5c72
commit 94c7d8c540
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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();