ソースを参照

Switch to CoordinatorLayout for activity container

Snackbars use it to infer the right margins

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
master
Harsh Shandilya 4年前
コミット
0db2578ca0
1個のファイルの変更4行の追加3行の削除
  1. +4
    -3
      app/src/main/res/layout/main_activity.xml

+ 4
- 3
app/src/main/res/layout/main_activity.xml ファイルの表示

@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/master_detail_wrapper"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.MainActivity">
tools:context=".activity.MainActivity"
android:fitsSystemWindows="true">

<androidx.fragment.app.FragmentContainerView
android:id="@+id/detail_container"
@@ -12,4 +13,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:tag="LIST"/>
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

読み込み中…
キャンセル
保存