-
Notifications
You must be signed in to change notification settings - Fork 1
/
item.xml
35 lines (35 loc) · 1.4 KB
/
item.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
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:orientation="vertical"
android:background="#AAAAAA"
xmlns:tools="http://schemas.android.com/tools"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent">
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="130dp"
card_view:cardCornerRadius="21dp"
card_view:cardBackgroundColor="#30326B"
card_view:cardElevation="2dp"
card_view:cardMaxElevation="10dp"
android:layout_marginTop="5dp"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/info_text"
android:gravity="center"
android:textColor="#FFFFFF"
android:textSize="19sp"
android:layout_gravity="center"
tools:text="helloworld"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>