mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 解决多余顶部空间问题
This commit is contained in:
parent
2f97f11e83
commit
4a53da88e1
@ -4,8 +4,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/id_am_container"
|
android:id="@+id/id_am_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
android:paddingTop="?attr/actionBarSize">
|
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@+id/main_nav_host_fragment_activity"
|
android:id="@+id/main_nav_host_fragment_activity"
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
android:id="@+id/nav_device_fragment_textview"
|
android:id="@+id/nav_device_fragment_textview"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:textAlignment="center"
|
android:background="@color/teal_200"
|
||||||
android:text="@string/hello_blank_fragment"
|
android:text="@string/hello_blank_fragment"
|
||||||
|
android:textAlignment="center"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user