mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
ドロワーを廃止
This commit is contained in:
parent
339566b243
commit
dc1cc429e9
|
@ -118,11 +118,6 @@ public class HomeTopFragment extends Fragment {
|
||||||
// Set the Toolbar
|
// Set the Toolbar
|
||||||
((AppCompatActivity)getActivity()).setSupportActionBar(toolbar);
|
((AppCompatActivity)getActivity()).setSupportActionBar(toolbar);
|
||||||
|
|
||||||
DrawerLayout drawer = view.findViewById(R.id.drawer_layout);
|
|
||||||
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
|
|
||||||
getActivity(), drawer, toolbar, one.nem.lacerta.shared.ui.R.string.placeholder, one.nem.lacerta.shared.ui.R.string.placeholder);
|
|
||||||
drawer.addDrawerListener(toggle);
|
|
||||||
toggle.syncState();
|
|
||||||
|
|
||||||
// Set the title of the CollapsingToolbarLayout
|
// Set the title of the CollapsingToolbarLayout
|
||||||
collapsingToolbarLayout.setTitle("Title");
|
collapsingToolbarLayout.setTitle("Title");
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"c
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user