Guest User

Untitled

a guest
Jul 9th, 2020
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.95 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/comments"
  4.    android:layout_width="wrap_content"
  5.    android:layout_height="wrap_content"
  6.    android:orientation="horizontal">
  7.  
  8.     <include layout="@layout/rounded_image" />
  9.  
  10.     <LinearLayout
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:layout_marginLeft="5dp"
  14.        android:layout_marginStart="5dp"
  15.        android:layout_marginBottom="5dp"
  16.        android:background="@drawable/rounded_corners"
  17.        android:orientation="vertical">
  18.  
  19.         <TextView
  20.            android:id="@+id/commentHeader"
  21.            android:layout_width="wrap_content"
  22.            android:layout_height="wrap_content"
  23.            android:textColor="#000"
  24.            android:textStyle="bold" />
  25.  
  26.         <TextView
  27.            android:id="@+id/commentContent"
  28.            android:layout_width="wrap_content"
  29.            android:layout_height="wrap_content"
  30.            android:textColor="#000"
  31.            android:textSize="16sp" />
  32.  
  33.         <LinearLayout
  34.            android:layout_width="wrap_content"
  35.            android:layout_height="wrap_content"
  36.            android:layout_marginTop="2dp"
  37.            android:orientation="horizontal">
  38.             <TextView
  39.                android:id="@+id/date"
  40.                android:layout_width="wrap_content"
  41.                android:layout_height="wrap_content"
  42.                android:textStyle="bold" />
  43.  
  44.             <TextView
  45.                android:id="@+id/like"
  46.                android:layout_width="wrap_content"
  47.                android:layout_height="wrap_content"
  48.                android:textStyle="bold"
  49.                android:layout_marginStart="5dp"
  50.                android:layout_marginLeft="5dp"
  51.                android:text="@string/like"/>
  52.         </LinearLayout>
  53.     </LinearLayout>
  54. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment