Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <com.balysv.materialripple.MaterialRippleLayout xmlns:android="http://schemas.android.com/apk/res/android"
- style="@style/RippleStyleBlack"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/lyt_parent"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clickable="true"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="50dp"
- android:orientation="horizontal"
- android:padding="@dimen/spacing_middle">
- <RelativeLayout
- android:layout_width="@dimen/page_row_img"
- android:layout_height="@dimen/page_row_img"
- android:background="@color/grey_medium">
- <ImageView
- android:layout_width="@dimen/spacing_mxlarge"
- android:layout_height="@dimen/spacing_mxlarge"
- android:layout_centerInParent="true"
- android:src="@drawable/ic_image"
- android:tint="@color/grey_hard" />
- <ImageView
- android:id="@+id/image"
- android:layout_width="@dimen/page_row_img"
- android:layout_height="@dimen/page_row_img"
- android:scaleType="centerCrop" />
- </RelativeLayout>
- <View
- android:layout_width="10dp"
- android:layout_height="0dp" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="top"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:maxLines="2"
- android:text="Page Title Placed Here"
- android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
- android:textColor="@color/grey_dark"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/short_content"
- android:layout_width="wrap_content"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:maxLines="1"
- android:text="Post short content will be show here"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
- android:textColor="@color/grey_hard" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <ImageView
- android:layout_width="@dimen/spacing_large"
- android:layout_height="@dimen/spacing_large"
- android:layout_marginRight="@dimen/spacing_small"
- android:src="@drawable/ic_date"
- android:tint="@color/grey_hard" />
- <TextView
- android:id="@+id/date"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="16 Mar 2016"
- android:textAppearance="@style/TextAppearance.AppCompat.Caption"
- android:textColor="@color/grey_hard" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:layout_marginLeft="@dimen/spacing_middle"
- android:layout_marginRight="@dimen/spacing_middle"
- android:background="@color/grey_bg" />
- </LinearLayout>
- </com.balysv.materialripple.MaterialRippleLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement