diff options
Diffstat (limited to 'app/src/main/res/layout/item_card_default.xml')
-rw-r--r-- | app/src/main/res/layout/item_card_default.xml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/app/src/main/res/layout/item_card_default.xml b/app/src/main/res/layout/item_card_default.xml index afc7ee138..7454129f4 100644 --- a/app/src/main/res/layout/item_card_default.xml +++ b/app/src/main/res/layout/item_card_default.xml @@ -30,16 +30,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" - android:paddingStart="@dimen/spacer_2x" - android:paddingTop="@dimen/spacer_1x" - android:paddingEnd="@dimen/spacer_2x"> + android:paddingHorizontal="@dimen/spacer_2x" + android:paddingTop="@dimen/spacer_1x"> <com.google.android.material.textview.MaterialTextView android:id="@+id/card_title" android:layout_width="0dp" android:layout_height="wrap_content" - android:paddingVertical="2sp" android:layout_weight="1" + android:paddingVertical="2sp" android:textColor="?attr/colorAccent" android:textSize="18sp" tools:ignore="RtlSymmetry" @@ -73,8 +72,7 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/spacer_1x" android:animateLayoutChanges="true" - android:paddingStart="@dimen/spacer_2x" - android:paddingEnd="@dimen/spacer_2x" + android:paddingHorizontal="@dimen/spacer_2x" app:flexWrap="nowrap" tools:layout_height="@dimen/avatar_size" /> @@ -83,8 +81,7 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/spacer_1x" android:baselineAligned="false" - android:paddingStart="@dimen/spacer_1x" - android:paddingEnd="@dimen/spacer_1x"> + android:paddingHorizontal="@dimen/spacer_1x"> <LinearLayout android:layout_width="0dp" @@ -129,8 +126,7 @@ android:id="@+id/overlappingAvatars" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/spacer_1x" - android:layout_marginEnd="@dimen/spacer_1x" + android:layout_marginHorizontal="@dimen/spacer_1x" android:gravity="end" android:orientation="horizontal" tools:background="@tools:sample/avatars" @@ -144,8 +140,8 @@ android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/label_menu" android:padding="@dimen/spacer_1hx" - app:tint="?attr/colorAccent" - app:srcCompat="@drawable/ic_menu" /> + app:srcCompat="@drawable/ic_menu" + app:tint="?attr/colorAccent" /> </LinearLayout> </LinearLayout> </LinearLayout> |