-
Notifications
You must be signed in to change notification settings - Fork 0
/
rowdesign.xml
30 lines (25 loc) · 1.02 KB
/
rowdesign.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:padding="5dp"
app:cardCornerRadius="20dp"
android:elevation="10dp">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/image1"
android:layout_width="380dp"
android:layout_height="170dp"
android:scaleType="centerCrop"
android:layout_gravity="center"
android:src="@mipmap/ic_launcher" />
</LinearLayout>
</ScrollView>
</android.support.v7.widget.CardView>