make text in detailed toots selectable

main
Konrad Pozniak 7 years ago
parent be10bc3c88
commit ae5229a9e2
  1. 10
      app/src/main/res/layout/item_status_detailed.xml

@ -59,8 +59,9 @@
android:layout_below="@id/status_name_bar" android:layout_below="@id/status_name_bar"
android:lineSpacingMultiplier="1.1" android:lineSpacingMultiplier="1.1"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
tools:text="CW this is a long long long long long long long long content warning" android:textIsSelectable="true"
android:textSize="?attr/status_text_medium" /> android:textSize="?attr/status_text_medium"
tools:text="CW this is a long long long long long long long long content warning" />
<ToggleButton <ToggleButton
android:id="@+id/status_content_warning_button" android:id="@+id/status_content_warning_button"
@ -68,6 +69,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/status_content_warning_description" android:layout_below="@+id/status_content_warning_description"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginBottom="4dp"
android:layout_marginTop="4dp"
android:background="?attr/content_warning_button" android:background="?attr/content_warning_button"
android:minHeight="0dp" android:minHeight="0dp"
android:minWidth="150dp" android:minWidth="150dp"
@ -75,8 +78,6 @@
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp" android:paddingRight="16dp"
android:paddingTop="6dp" android:paddingTop="6dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:textAllCaps="true" android:textAllCaps="true"
android:textOff="@string/status_content_warning_show_more" android:textOff="@string/status_content_warning_show_more"
android:textOn="@string/status_content_warning_show_less" android:textOn="@string/status_content_warning_show_less"
@ -91,6 +92,7 @@
android:focusable="true" android:focusable="true"
android:lineSpacingMultiplier="1.1" android:lineSpacingMultiplier="1.1"
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"
android:textIsSelectable="true"
android:textSize="?attr/status_text_large" /> android:textSize="?attr/status_text_large" />
<LinearLayout <LinearLayout

Loading…
Cancel
Save