Skip to content

Commit

Permalink
fix(polls): fix poll options being wonky
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Oct 1, 2023
1 parent 584e2c0 commit 3f253c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mastodon/src/main/res/layout/display_item_poll_option.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,30 @@
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingBottom="4dp"
android:paddingVertical="4dp"
android:clipToPadding="false">

<LinearLayout
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="40dp"
android:background="@drawable/bg_poll_option_clickable"
android:duplicateParentState="true"
android:layoutDirection="locale">

<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingVertical="8dp"
android:orientation="horizontal">

<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginStart="12dp"
android:layout_gravity="center_vertical"
android:tint="?colorM3OnSecondaryContainer"
android:scaleType="center"
Expand Down

0 comments on commit 3f253c1

Please sign in to comment.