From bf4e005f397d2df14ad690ad7c4773fe1c144cf6 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 11 Jun 2021 10:19:42 +0200 Subject: [PATCH] Remove useless parent --- vector/lint.xml | 3 + .../layout/view_attachment_type_selector.xml | 274 +++++++++--------- 2 files changed, 137 insertions(+), 140 deletions(-) diff --git a/vector/lint.xml b/vector/lint.xml index e7e5fe78fe..a8eed30160 100644 --- a/vector/lint.xml +++ b/vector/lint.xml @@ -58,6 +58,9 @@ + + + diff --git a/vector/src/main/res/layout/view_attachment_type_selector.xml b/vector/src/main/res/layout/view_attachment_type_selector.xml index 9fe977e060..4d54d2980a 100644 --- a/vector/src/main/res/layout/view_attachment_type_selector.xml +++ b/vector/src/main/res/layout/view_attachment_type_selector.xml @@ -1,168 +1,162 @@ - + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" + android:background="@drawable/bg_attachment_type_selector" + android:orientation="vertical" + android:paddingTop="16dp" + android:paddingBottom="16dp"> + android:layout_height="match_parent" + android:layout_margin="16dp" + android:baselineAligned="false" + android:orientation="horizontal" + android:weightSum="3"> + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="center" + android:orientation="vertical"> - + - - - - - - - - - - - - - - - - - - - - - - - + + + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="center" + android:orientation="vertical"> - + - + - - - + - + - + - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +