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

142 lines
5.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:paddingBottom="12.0dip"
android:clipToPadding="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/post_side_padding"
android:paddingEnd="@dimen/post_side_padding"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.vk.imageloader.view.VKCircleImageView
android:id="@id/poster_photo"
android:layout_width="36.0dip"
android:layout_height="36.0dip"
android:layout_marginTop="12.0dip"
android:layout_alignParentTop="true"
android:layout_marginEnd="12.0dip"
android:layout_alignParentStart="true"
app:placeholderImage="@drawable/placeholder_user_72" />
<com.vk.core.widget.FluidHorizontalLayout
android:id="@id/poster_name_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="1.0dip"
android:layout_alignTop="@id/poster_photo"
android:layout_toEndOf="@id/poster_photo">
<TextView
android:textSize="14.0dip"
android:textColor="?text_name"
android:ellipsize="end"
android:id="@id/poster_name"
android:focusableInTouchMode="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:includeFontPadding="false"
android:fontFamily="@string/font_family_medium"
app:vk_layout_isFluid="true" />
<View
android:layout_gravity="center_vertical"
android:id="@id/icon"
android:layout_width="12.0dip"
android:layout_height="12.0dip"
android:layout_marginTop="-1.0dip"
android:layout_marginStart="2.0dip" />
</com.vk.core.widget.FluidHorizontalLayout>
<TextView
android:textSize="14.0sp"
android:textColor="?text_subhead"
android:ellipsize="end"
android:id="@id/reply_to_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="1.0dip"
android:singleLine="true"
android:includeFontPadding="false"
android:layout_alignTop="@id/poster_photo"
android:layout_marginStart="9.0dip"
android:layout_toEndOf="@id/poster_name_view" />
<FrameLayout
android:id="@id/post_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2.0dip"
android:layout_below="@id/poster_name_view"
android:layout_alignStart="@id/poster_name_view">
<com.vtosters.lite.ui.LinkedTextView
android:textSize="15.0sp"
android:textColor="?text_primary"
android:linksClickable="false"
android:id="@id/text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:lineSpacingExtra="2.0dip"
android:textDirection="locale" />
</FrameLayout>
<LinearLayout
android:orientation="vertical"
android:id="@id/post_attach_container"
android:visibility="gone"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="7.0dip"
android:divider="@drawable/comments_attach_divider"
android:layout_below="@id/post_view"
android:showDividers="middle"
android:layout_toEndOf="@id/poster_photo" />
<TextView
android:textSize="13.0sp"
android:textColor="?text_subhead"
android:ellipsize="end"
android:gravity="start"
android:layout_gravity="start"
android:id="@id/post_info_view"
android:focusableInTouchMode="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3.0dip"
android:includeFontPadding="false"
android:layout_below="@id/post_attach_container"
android:layout_marginEnd="12.0dip"
android:layout_toEndOf="@id/poster_photo" />
<TextView
android:textSize="13.0sp"
android:textColor="?text_secondary"
android:id="@id/comment_reply"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reply_to"
android:includeFontPadding="false"
android:layout_alignBaseline="@id/post_info_view"
android:layout_alignTop="@id/post_info_view"
android:fontFamily="@string/font_family_medium"
android:layout_toEndOf="@id/post_info_view" />
<TextView
android:textSize="13.0sp"
android:textColor="@color/post_counters"
android:gravity="end"
android:id="@id/post_likes"
android:padding="16.0dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="-16.0dip"
android:includeFontPadding="false"
android:drawablePadding="4.0dip"
android:layout_below="@id/post_attach_container"
android:layout_alignBaseline="@id/comment_reply"
android:drawableStart="@drawable/ic_like_outline_16_xml"
android:layout_marginEnd="-16.0dip"
android:layout_alignParentEnd="true" />
</RelativeLayout>