Files
vtosters/smali/res/layout/post_easy_promote_state.xml
T
gdlbo b50f56a5d4 Oh, fixes?
-Added styles list for dark and light themes
-Updated libs
-Auto refactored resources for easy editing
-Improved amoled theme
2022-04-23 21:36:08 +03:00

45 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="?content_tint_background"
android:addStatesFromChildren="false"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout
android:orientation="horizontal"
android:id="@id/content"
android:background="@drawable/highlight"
android:paddingTop="8.0dip"
android:paddingBottom="8.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/post_side_padding"
android:paddingEnd="@dimen/post_side_padding">
<ImageView
android:id="@id/icon"
android:layout_width="24.0dip"
android:layout_height="24.0dip"
android:contentDescription="@null" />
<TextView
android:textSize="12.0sp"
android:textColor="?content_tint_foreground"
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:id="@id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
android:includeFontPadding="false"
android:layout_marginStart="32.0dip" />
<ImageView
android:layout_gravity="end|center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_chevron_24"
android:tint="?icon_tertiary"
android:contentDescription="@null" />
</FrameLayout>
</FrameLayout>