-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
107 lines
4.2 KiB
XML
107 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout android:id="@id/publish_suggest_root_view"
|
|
android:background="?content_tint_background"
|
|
android:paddingBottom="10.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:foreground="@drawable/highlight_post"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.vk.imageloader.view.VKImageView
|
|
android:layout_gravity="start"
|
|
android:id="@id/publish_suggest_default_image"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_marginTop="16.0dip"
|
|
android:layout_marginBottom="16.0dip"
|
|
android:scaleType="centerCrop"
|
|
android:layout_marginStart="16.0dip"
|
|
app:placeholderImage="@drawable/ic_placeholder_post_48"
|
|
app:roundedCornerRadius="4.0dip" />
|
|
|
|
<com.vk.imageloader.view.VKImageView
|
|
android:layout_gravity="start"
|
|
android:id="@id/publish_suggest_rounded_image"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_marginTop="16.0dip"
|
|
android:layout_marginBottom="16.0dip"
|
|
android:scaleType="centerCrop"
|
|
android:layout_marginStart="16.0dip"
|
|
app:placeholderImage="@drawable/ic_placeholder_post_48"
|
|
app:roundAsCircle="true" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16.0dip"
|
|
android:layout_marginStart="76.0dip">
|
|
|
|
<TextView
|
|
android:textSize="14.0dip"
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="start"
|
|
android:id="@id/publish_suggest_title_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="2.0dip"
|
|
android:maxLines="5"
|
|
android:lineSpacingExtra="4.0dip"
|
|
android:fontFamily="sans-serif"
|
|
android:layout_marginEnd="48.0dip" />
|
|
|
|
<TextView
|
|
android:textSize="15.0dip"
|
|
android:textColor="?accent"
|
|
android:ellipsize="end"
|
|
android:id="@id/publish_suggest_action_text"
|
|
android:paddingTop="2.0dip"
|
|
android:paddingBottom="6.0dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:lineSpacingExtra="6.0dip"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:layout_marginEnd="48.0dip" />
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:id="@id/situational_suggest_friends_layout"
|
|
android:paddingTop="6.0dip"
|
|
android:paddingBottom="6.0dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16.0dip">
|
|
|
|
<com.vk.core.view.PhotoStripView
|
|
android:id="@id/publish_suggest_photo_strip_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="24.0dip"
|
|
android:layout_marginEnd="8.0dip" />
|
|
|
|
<TextView
|
|
android:textSize="14.0dip"
|
|
android:textColor="?text_secondary"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/publish_suggest_friends_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:lineSpacingExtra="4.0sp"
|
|
android:fontFamily="sans-serif" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:layout_gravity="end"
|
|
android:id="@id/publish_suggest_close_image"
|
|
android:background="@drawable/highlight_circle"
|
|
android:padding="12.0dip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_not_close_24"
|
|
android:scaleType="center"
|
|
android:tint="?icon_secondary" />
|
|
</FrameLayout> |