Flatten View hierarchy

This commit is contained in:
Benoit Marty 2021-05-12 13:53:03 +02:00
parent 391e952fbd
commit 0d5b66f92b
1 changed files with 32 additions and 44 deletions

View File

@ -1,21 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="16dp" android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"> android:paddingEnd="16dp">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="vertical">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -47,9 +39,5 @@
android:textColor="@color/vector_info_color" android:textColor="@color/vector_info_color"
android:textSize="15sp" android:textSize="15sp"
app:drawableStartCompat="@drawable/ic_feedback" /> app:drawableStartCompat="@drawable/ic_feedback" />
</LinearLayout>
</FrameLayout> </LinearLayout>
</FrameLayout>