-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
82 lines
3.0 KiB
XML
82 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.vtosters.lite.ui.ForegroundRelativeLayout android:paddingLeft="8.0dip"
|
|
android:paddingTop="8.0dip"
|
|
android:paddingRight="8.0dip"
|
|
android:paddingBottom="11.0dip"
|
|
android:clipToPadding="false"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:foreground="@drawable/rounded_list_selector"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.vk.imageloader.view.VKImageView
|
|
android:id="@id/photo"
|
|
android:background="@drawable/ic_videos_placeholder"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
app:actualImageScaleType="centerCrop"
|
|
app:roundedCornerRadius="2.0dip"
|
|
app:viewAspectRatio="1.77777" />
|
|
|
|
<com.vtosters.lite.ui.BadooTextView
|
|
android:textSize="12.0dip"
|
|
android:textColor="#ffffffff"
|
|
android:id="@id/duration"
|
|
android:background="@drawable/bg_doc_label"
|
|
android:paddingLeft="4.0dip"
|
|
android:paddingTop="2.5dip"
|
|
android:paddingRight="4.0dip"
|
|
android:paddingBottom="2.5dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4.0dip"
|
|
android:layout_alignBottom="@id/photo"
|
|
android:layout_marginEnd="4.0dip"
|
|
android:layout_alignEnd="@id/photo"
|
|
app:typeface="Medium" />
|
|
|
|
<ImageView
|
|
android:id="@id/options"
|
|
android:background="@drawable/highlight"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:src="@drawable/ic_actions_small_24"
|
|
android:scaleType="centerInside"
|
|
android:tint="#ffabafb3"
|
|
android:layout_below="@id/photo"
|
|
android:layout_marginEnd="-6.0dip"
|
|
android:layout_alignEnd="@id/photo" />
|
|
|
|
<TextView
|
|
android:textSize="14.0dip"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:id="@id/title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6.0dip"
|
|
android:singleLine="true"
|
|
android:layout_below="@id/photo"
|
|
android:layout_toStartOf="@id/options" />
|
|
|
|
<TextView
|
|
android:textSize="13.0dip"
|
|
android:textColor="#ff909499"
|
|
android:ellipsize="end"
|
|
android:id="@id/subtitle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:layout_below="@id/title"
|
|
android:layout_toStartOf="@id/options" />
|
|
|
|
<TextView
|
|
android:textSize="13.0dip"
|
|
android:textColor="#ff909499"
|
|
android:id="@id/info"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/subtitle"
|
|
android:layout_toStartOf="@id/options" />
|
|
</com.vtosters.lite.ui.ForegroundRelativeLayout> |