-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
87 lines
3.5 KiB
XML
87 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout android:background="@drawable/rounded_list_selector"
|
|
android:paddingTop="8.0dip"
|
|
android:paddingBottom="8.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="64.0dip"
|
|
android:paddingStart="@dimen/standard_list_item_padding"
|
|
android:paddingEnd="@dimen/standard_list_item_padding"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.vk.imageloader.view.VKCircleImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/photo"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
app:placeholderImage="?placeholder_icon_background"
|
|
style="@style/UserSmallPhoto" />
|
|
|
|
<com.vk.core.widget.FluidHorizontalLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="60.0dip">
|
|
|
|
<LinearLayout
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:id="@id/container"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
app:vk_layout_isFluid="true">
|
|
|
|
<com.vk.core.widget.FluidHorizontalLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textColor="?text_muted"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/title"
|
|
android:duplicateParentState="false"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
app:vk_layout_isFluid="true" />
|
|
|
|
<View
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/icon"
|
|
android:layout_width="16.0dip"
|
|
android:layout_height="16.0dip"
|
|
android:layout_marginTop="-2.0dip"
|
|
android:layout_marginStart="4.0dip" />
|
|
</com.vk.core.widget.FluidHorizontalLayout>
|
|
|
|
<TextView
|
|
android:textSize="14.0sp"
|
|
android:textColor="?text_secondary"
|
|
android:ellipsize="marquee"
|
|
android:layout_gravity="start"
|
|
android:id="@id/subtitle"
|
|
android:duplicateParentState="false"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3.0dip"
|
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:textSize="15.0sp"
|
|
android:textColor="?counter_primary_text"
|
|
android:gravity="center"
|
|
android:layout_gravity="end|center"
|
|
android:id="@id/counter"
|
|
android:background="@drawable/subscription_counter_bg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="24.0dip"
|
|
android:minWidth="22.0dip"
|
|
android:singleLine="true"
|
|
android:fontFamily="@string/font_family_medium"
|
|
android:paddingStart="8.0dip"
|
|
android:paddingEnd="8.0dip"
|
|
android:layout_marginStart="8.0dip" />
|
|
</com.vk.core.widget.FluidHorizontalLayout>
|
|
</FrameLayout> |