mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
実装整理
This commit is contained in:
parent
6bc43869c9
commit
3d8ab69742
|
@ -89,22 +89,8 @@ public class MainActivity extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Toolbar toolbar = findViewById(R.id.toolbar);
|
|
||||||
setSupportActionBar(toolbar);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Public
|
|
||||||
public void setActionBarTitle(String title) {
|
|
||||||
getSupportActionBar().setTitle(title);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setActionBarBackButton(boolean isEnabled) {
|
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(isEnabled);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setActionBarMenuItem(int itemId, boolean isEnabled) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initializeApp() {
|
private void initializeApp() {
|
||||||
Log.d("Init", "Initializing app");
|
Log.d("Init", "Initializing app");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user