Files
vtosters/smali/res/layout/video_item.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

91 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.vtosters.lite.ui.ForegroundRelativeLayout android:paddingLeft="16.0dip"
android:paddingTop="8.0dip"
android:paddingRight="16.0dip"
android:paddingBottom="8.0dip"
android:clipToPadding="false"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
app:foreground="@drawable/highlight"
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="136.0dip"
android:layout_height="77.0dip"
android:layout_marginEnd="12.0dip"
app:actualImageScaleType="centerCrop"
app:roundedCornerRadius="2.0dip" />
<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:layout_marginTop="-8.0dip"
android:src="@drawable/ic_actions_small_24"
android:scaleType="centerInside"
android:tint="#ffabafb3"
android:layout_alignParentTop="true"
android:layout_marginEnd="-18.0dip"
android:layout_alignParentEnd="true" />
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toStartOf="@id/options"
android:layout_toEndOf="@id/photo">
<TextView
android:textSize="15.0dip"
android:textColor="?text_primary"
android:ellipsize="end"
android:id="@id/title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:singleLine="false"
android:lineSpacingExtra="2.0dip" />
<TextView
android:textSize="14.0dip"
android:textColor="#ff909499"
android:ellipsize="end"
android:id="@id/subtitle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-2.3299866dip"
android:singleLine="true"
android:lineSpacingExtra="1.6599731dip" />
<TextView
android:textSize="14.0dip"
android:textColor="#ff909499"
android:id="@id/info"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="-1.3299866dip"
android:lineSpacingExtra="2.0dip" />
</LinearLayout>
</com.vtosters.lite.ui.ForegroundRelativeLayout>