1
0

Hide action bar

This commit is contained in:
dump_stack() 2020-02-23 14:18:28 +00:00
parent 91d19e6698
commit 42c0b0278e

View File

@ -10,5 +10,9 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
if (getSupportActionBar() != null) {
getSupportActionBar().hide();
}
}
}