Skip to content

Commit c9aae82

Browse files
committed
no ellipsis for poll options
1 parent 012cca5 commit c9aae82

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mastodon/src/main/res/layout/display_item_poll_option.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<LinearLayout
1313
android:id="@+id/button"
1414
android:layout_width="match_parent"
15-
android:layout_height="48dp"
15+
android:layout_height="wrap_content"
16+
android:paddingVertical="12dp"
1617
android:outlineProvider="background"
1718
android:elevation="2dp"
1819
android:background="@drawable/bg_poll_option_clickable"
@@ -48,9 +49,7 @@
4849
android:layout_marginLeft="16dp"
4950
android:layout_marginRight="16dp"
5051
android:textAppearance="@style/m3_title_medium"
51-
android:singleLine="true"
52-
android:ellipsize="end"
53-
tools:text="scream into void"/>
52+
tools:text="scream into void. like this: aaaaaaaaaaaaaaaaaaaa"/>
5453

5554
</LinearLayout>
5655

0 commit comments

Comments
 (0)