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

88 lines
3.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:gravity="end|center"
android:orientation="horizontal"
android:id="@id/create_post_root_layout"
android:background="?background_content"
android:layout_width="fill_parent"
android:layout_height="56.0dip"
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/create_post_avatar_image"
android:layout_width="32.0dip"
android:layout_height="32.0dip"
android:layout_marginTop="12.0dip"
android:layout_marginBottom="12.0dip"
android:layout_marginStart="@dimen/post_side_padding"
app:roundAsCircle="true" />
<TextView
android:textSize="15.0dip"
android:textStyle="normal"
android:textColor="?text_secondary"
android:layout_gravity="center_vertical"
android:id="@id/create_post_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/what_new"
android:fontFamily="sans-serif"
android:layout_marginStart="64.0dip"
android:layout_marginEnd="100.0dip"
style="@style/VKUIText" />
<LinearLayout
android:layout_gravity="end"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginEnd="@dimen/newsfeed_newpost_item_first_button_end_space">
<android.support.v7.widget.AppCompatImageView
android:layout_gravity="end|center"
android:id="@id/create_post_gallery_image"
android:background="?selectableItemBackgroundBorderless"
android:layout_width="40.0dip"
android:layout_height="48.0dip"
android:src="@drawable/ic_gallery_outline_28"
android:scaleType="center"
android:tint="?icon_secondary"
android:contentDescription="@string/add_photo_camera" />
<android.support.v7.widget.AppCompatImageView
android:layout_gravity="end|center"
android:id="@id/create_post_live_image"
android:background="?selectableItemBackgroundBorderless"
android:layout_width="50.0dip"
android:layout_height="48.0dip"
android:src="@drawable/ic_live_24"
android:scaleType="center"
android:tint="?icon_secondary"
android:contentDescription="@string/live" />
<android.support.v7.widget.AppCompatImageView
android:layout_gravity="end|center"
android:id="@id/create_post_story_image"
android:background="?selectableItemBackgroundBorderless"
android:visibility="gone"
android:layout_width="50.0dip"
android:layout_height="48.0dip"
android:src="@drawable/ic_story_outline_28"
android:scaleType="center"
android:tint="?icon_secondary"
android:contentDescription="@string/story" />
</LinearLayout>
<com.vk.newsfeed.items.posting.item.TrianglePointerView
android:layout_gravity="bottom"
android:id="@id/create_post_triangle_pointer"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="7.0dip"
app:fillColor="?content_tint_background"
app:outlineColor="?separator_alternate"
app:outlineWidth="0.5dip"
app:pointerOffset="32.0dip" />
</FrameLayout>