Guest User

Untitled

a guest
Jul 9th, 2020
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:id="@+id/container"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="wrap_content"
  6.    android:layout_marginLeft="2dp"
  7.    android:layout_marginRight="2dp"
  8.    android:orientation="horizontal">
  9.  
  10.     <include layout="@layout/rounded_image" android:id="@+id/roundCardView" />
  11.  
  12.     <LinearLayout
  13.        android:id="@+id/wallpostCol"
  14.        android:layout_width="match_parent"
  15.        android:layout_height="wrap_content"
  16.        android:orientation="vertical"
  17.        android:layout_marginStart="10dp"
  18.        android:layout_marginLeft="10dp"
  19.        android:layout_marginBottom="10dp"
  20.        android:fillViewport="true">
  21.         <TextView
  22.            android:id="@+id/wpHeader"
  23.            android:layout_width="match_parent"
  24.            android:layout_height="wrap_content"
  25.            android:textStyle="bold"
  26.            android:textColor="#000"/>
  27.         <TextView
  28.            android:id="@+id/wpContent"
  29.            android:layout_width="match_parent"
  30.            android:layout_height="wrap_content"/>
  31.  
  32.         <include layout="@layout/separator" />
  33.  
  34.         <LinearLayout
  35.            android:layout_width="match_parent"
  36.            android:layout_height="wrap_content"
  37.            android:orientation="horizontal">
  38.             <Button
  39.                style="@style/WpButton"
  40.                android:id="@+id/btnLike"
  41.                android:text="@string/like"
  42.                android:drawableStart="@drawable/like"
  43.                android:drawableLeft="@drawable/like"
  44.                />
  45.             <Space
  46.                android:layout_width="0dp"
  47.                android:layout_height="1dp"
  48.                android:layout_weight="1" >
  49.             </Space>
  50.             <Button
  51.                style="@style/WpButton"
  52.                android:id="@+id/btnComment"
  53.                android:text="@string/comment"
  54.                android:drawablePadding="5dp"
  55.                android:drawableStart="@drawable/comment"
  56.                android:drawableLeft="@drawable/comment"
  57.                />
  58.             <Space
  59.                android:layout_width="0dp"
  60.                android:layout_height="1dp"
  61.                android:layout_weight="1" >
  62.             </Space>
  63.             <Button
  64.                style="@style/WpButton"
  65.                android:id="@+id/btnShare"
  66.                android:text="@string/share"
  67.                android:drawableStart="@drawable/share"
  68.                android:drawableLeft="@drawable/share"
  69.                />
  70.         </LinearLayout>
  71.  
  72.         <include layout="@layout/separator" />
  73.  
  74.         <TextView
  75.            android:id="@+id/wpLinks"
  76.            android:layout_width="match_parent"
  77.            android:layout_height="wrap_content"
  78.            android:textColor="#428bca"
  79.            android:layout_marginBottom="10dp"/>
  80.         <androidx.recyclerview.widget.RecyclerView
  81.            android:id="@+id/commentsList"
  82.            android:scrollbars="vertical"
  83.            android:layout_width="match_parent"
  84.            android:layout_height="match_parent"
  85.            android:layout_marginEnd="5dp"
  86.            android:layout_marginRight="5dp"
  87.            xmlns:android="http://schemas.android.com/apk/res/android"/>
  88.     </LinearLayout>
  89. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment