fix(polls): fix poll options being wonky

This commit is contained in:
LucasGGamerM 2023-10-01 16:10:50 -03:00
parent 584e2c0daa
commit 3f253c1211
1 changed files with 5 additions and 3 deletions

View File

@ -5,28 +5,30 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp" android:paddingRight="16dp"
android:paddingBottom="4dp" android:paddingVertical="4dp"
android:clipToPadding="false"> android:clipToPadding="false">
<LinearLayout <LinearLayout
android:id="@+id/button" android:id="@+id/button"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="40dp"
android:background="@drawable/bg_poll_option_clickable" android:background="@drawable/bg_poll_option_clickable"
android:duplicateParentState="true" android:duplicateParentState="true"
android:layoutDirection="locale"> android:layoutDirection="locale">
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:paddingVertical="8dp"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:layout_marginStart="12dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:tint="?colorM3OnSecondaryContainer" android:tint="?colorM3OnSecondaryContainer"
android:scaleType="center" android:scaleType="center"