refactor(display_item_warning.xml): add back the resource file for the warning status display item
This commit is contained in:
35
mastodon/src/main/res/layout/display_item_warning.xml
Normal file
35
mastodon/src/main/res/layout/display_item_warning.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="75dp"
|
||||
android:id="@+id/warning_wrap"
|
||||
android:background="@drawable/bg_m3_surface3"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:ellipsize="end"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="start|center_vertical"
|
||||
android:textAppearance="@style/m3_title_medium"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:text="@string/mo_filtered"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/reveal_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:text="@string/spoiler_show"
|
||||
android:layout_weight="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:visibility="visible"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user