-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
115 lines
4.4 KiB
XML
115 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.vtosters.lite.ui.OverlayLinearLayout android:orientation="horizontal"
|
|
android:paddingLeft="8.0dip"
|
|
android:paddingRight="8.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
app:overlay="@drawable/highlight_post"
|
|
app:padOverlay="true"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<FrameLayout
|
|
android:layout_width="80.0dip"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginLeft="@dimen/post_side_padding_btn">
|
|
|
|
<com.vk.imageloader.view.VKSnippetImageView
|
|
android:id="@id/snippet_image"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
app:actualImageScaleType="centerCrop"
|
|
app:placeholderImage="@drawable/attach_snippet_small_message_placeholder" />
|
|
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:id="@id/iv_amp"
|
|
android:layout_width="36.0dip"
|
|
android:layout_height="36.0dip"
|
|
android:layout_margin="12.0dip"
|
|
android:src="@drawable/ic_longreads_amp_36"
|
|
android:scaleType="centerInside" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:id="@id/video_single_info"
|
|
android:paddingLeft="12.0dip"
|
|
android:paddingTop="10.0dip"
|
|
android:paddingRight="12.0dip"
|
|
android:paddingBottom="10.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/post_side_padding_btn"
|
|
android:minHeight="60.0dip">
|
|
|
|
<TextView
|
|
android:textSize="14.0dip"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:id="@id/attach_title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Link Title"
|
|
android:maxLines="2"
|
|
android:fontFamily="@string/font_family_medium" />
|
|
|
|
<LinearLayout
|
|
android:id="@id/attach_subtitle_wrap"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@id/attach_button"
|
|
android:layout_below="@id/attach_title"
|
|
android:layout_alignParentLeft="true">
|
|
|
|
<TextView
|
|
android:textSize="13.0dip"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:id="@id/attach_subtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="100500 views"
|
|
android:singleLine="true" />
|
|
|
|
<com.vtosters.lite.ui.RatingView
|
|
android:id="@id/attach_rating"
|
|
android:paddingLeft="7.0dip"
|
|
android:layout_width="88.0dip"
|
|
android:layout_height="19.0dip" />
|
|
|
|
<TextView
|
|
android:textSize="13.0dip"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:id="@id/attach_review_count"
|
|
android:paddingLeft="7.0dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="(200)"
|
|
android:singleLine="true" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:textSize="13.0dip"
|
|
android:textColor="#87000205"
|
|
android:ellipsize="end"
|
|
android:id="@id/attach_subsubtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="facebook.com"
|
|
android:singleLine="true"
|
|
android:layout_below="@id/attach_subtitle" />
|
|
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@id/attach_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10.0dip"
|
|
android:text="qweqwe"
|
|
android:maxLines="1"
|
|
style="@style/outline_button" />
|
|
</LinearLayout>
|
|
</com.vtosters.lite.ui.OverlayLinearLayout> |