ドロワーを廃止

This commit is contained in:
ろむねこ 2024-01-19 17:47:57 +09:00
parent 339566b243
commit dc1cc429e9
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -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">