Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="2dp"
- android:layout_marginRight="2dp"
- android:orientation="horizontal">
- <include layout="@layout/rounded_image" android:id="@+id/roundCardView" />
- <LinearLayout
- android:id="@+id/wallpostCol"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_marginStart="10dp"
- android:layout_marginLeft="10dp"
- android:layout_marginBottom="10dp"
- android:fillViewport="true">
- <TextView
- android:id="@+id/wpHeader"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:textColor="#000"/>
- <TextView
- android:id="@+id/wpContent"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
- <include layout="@layout/separator" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- style="@style/WpButton"
- android:id="@+id/btnLike"
- android:text="@string/like"
- android:drawableStart="@drawable/like"
- android:drawableLeft="@drawable/like"
- />
- <Space
- android:layout_width="0dp"
- android:layout_height="1dp"
- android:layout_weight="1" >
- </Space>
- <Button
- style="@style/WpButton"
- android:id="@+id/btnComment"
- android:text="@string/comment"
- android:drawablePadding="5dp"
- android:drawableStart="@drawable/comment"
- android:drawableLeft="@drawable/comment"
- />
- <Space
- android:layout_width="0dp"
- android:layout_height="1dp"
- android:layout_weight="1" >
- </Space>
- <Button
- style="@style/WpButton"
- android:id="@+id/btnShare"
- android:text="@string/share"
- android:drawableStart="@drawable/share"
- android:drawableLeft="@drawable/share"
- />
- </LinearLayout>
- <include layout="@layout/separator" />
- <TextView
- android:id="@+id/wpLinks"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#428bca"
- android:layout_marginBottom="10dp"/>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/commentsList"
- android:scrollbars="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginEnd="5dp"
- android:layout_marginRight="5dp"
- xmlns:android="http://schemas.android.com/apk/res/android"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment