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:
parent
28216a5c72
commit
94c7d8c540
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
// Prepare UI
|
// Prepare UI
|
||||||
toolbar = (Toolbar) findViewById(R.id.toolbar);
|
toolbar = (Toolbar) findViewById(R.id.toolbar);
|
||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
getSupportActionBar().setDisplayShowTitleEnabled(false);
|
||||||
appBarLayout = (AppBarLayout) findViewById(R.id.lay_toolbar);
|
appBarLayout = (AppBarLayout) findViewById(R.id.lay_toolbar);
|
||||||
AppBarLayout.LayoutParams lp = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
|
AppBarLayout.LayoutParams lp = (AppBarLayout.LayoutParams) toolbar.getLayoutParams();
|
||||||
lp.topMargin += getStatusBarHeight();
|
lp.topMargin += getStatusBarHeight();
|
||||||
|
|
Loading…
Reference in a new issue