Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_height="wrap_content"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- tools:backgroundTint="@color/white"
- app:cardElevation="2dp"
- android:layout_margin="8dp"
- android:layout_marginBottom="14dp"
- android:layout_width="match_parent">
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- tools:maxHeight="300dp"
- tools:scaleType="centerCrop"
- tools:src="@drawable/doc_placeholder"
- android:adjustViewBounds="true"
- android:id="@+id/imageView"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
- <RelativeLayout
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp"
- android:layout_width="match_parent"
- android:layout_height="20dp">
- <View
- android:background="@color/lineColor"
- style="@style/card_item_line_horizontal"
- android:layout_centerVertical="true"
- android:layout_height="1px"
- android:layout_toLeftOf="@+id/pageNumTextView" />
- <View
- android:background="@color/lineColor"
- style="@style/card_item_line_horizontal"
- android:layout_centerVertical="true"
- android:layout_height="1px"
- android:layout_toRightOf="@+id/pageNumTextView" />
- <TextView
- android:textColor="@color/lineColor"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:id="@+id/pageNumTextView"
- android:layout_centerVertical="true"
- android:layout_centerHorizontal="true"
- android:textSize="16sp"
- tools:text="23"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
- </LinearLayout>
- </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement