Files
vtosters/smali/res/layout/menu_fragment_item.xml
T
gdlbo 9c6c9489ff 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

59 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical"
android:orientation="horizontal"
android:background="@drawable/highlight"
android:paddingLeft="16.0dip"
android:paddingRight="16.0dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:weightSum="1.0"
android:minHeight="48.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView
android:id="@id/icon"
android:layout_width="24.0dip"
android:layout_height="24.0dip"
android:scaleType="center" />
<TextView
android:textSize="16.0dip"
android:textColor="?text_primary"
android:id="@id/title"
android:paddingLeft="16.0dip"
android:paddingRight="16.0dip"
android:layout_width="0.0dip"
android:layout_height="wrap_content"
android:text="TextView"
android:singleLine="true"
android:layout_weight="1.0" />
<TextView
android:textSize="13.0dip"
android:textColor="?accent"
android:gravity="center"
android:id="@id/newBadge"
android:background="@drawable/fragment_menu_new_bg"
android:paddingLeft="8.0dip"
android:paddingTop="3.0dip"
android:paddingRight="8.0dip"
android:paddingBottom="4.0dip"
android:layout_width="wrap_content"
android:layout_height="24.0dip"
android:text="@string/new_badge"
android:singleLine="true"
android:fontFamily="@string/font_family_medium" />
<TextView
android:textSize="15.0dip"
android:textColor="@color/white"
android:gravity="center"
android:id="@id/counter"
android:background="@drawable/fragment_menu_counter_bg"
android:paddingLeft="4.0dip"
android:paddingRight="4.0dip"
android:layout_width="wrap_content"
android:layout_height="22.0dip"
android:minWidth="22.0dip"
android:singleLine="true" />
</LinearLayout>