-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
92 lines
3.7 KiB
XML
92 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.vtosters.lite.ui.ForegroundRelativeLayout android:paddingTop="8.0dip"
|
|
android:paddingBottom="8.0dip"
|
|
android:clipToPadding="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16.0dip"
|
|
android:paddingEnd="16.0dip"
|
|
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/video_item_posting_play_image"
|
|
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" />
|
|
|
|
<ImageView
|
|
android:id="@id/video_item_play_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/posting_video_preview_play"
|
|
android:scaleType="center"
|
|
android:layout_alignTop="@id/video_item_posting_play_image"
|
|
android:layout_alignBottom="@id/video_item_posting_play_image"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignStart="@id/video_item_posting_play_image"
|
|
android:layout_alignEnd="@id/video_item_posting_play_image" />
|
|
|
|
<TextView
|
|
android:textSize="12.0sp"
|
|
android:textColor="#ffffffff"
|
|
android:id="@id/video_item_posting_duration_text"
|
|
android:background="@drawable/posting_video_preview_duration_bg"
|
|
android:paddingLeft="6.0dip"
|
|
android:paddingTop="3.0dip"
|
|
android:paddingRight="6.0dip"
|
|
android:paddingBottom="3.0dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBottom="@id/video_item_posting_play_image"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:layout_alignEnd="@id/video_item_posting_play_image" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="32.0dip"
|
|
android:layout_toStartOf="@id/options"
|
|
android:layout_toEndOf="@id/video_item_posting_play_image">
|
|
|
|
<TextView
|
|
android:textSize="15.0sp"
|
|
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.0sp"
|
|
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.0sp"
|
|
android:textColor="#ff909499"
|
|
android:ellipsize="end"
|
|
android:id="@id/info"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="-1.3299866dip"
|
|
android:singleLine="true"
|
|
android:lineSpacingExtra="2.0dip" />
|
|
</LinearLayout>
|
|
</com.vtosters.lite.ui.ForegroundRelativeLayout> |