File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : layout_width =" match_parent"
4
+ android : layout_height =" match_parent"
5
+ xmlns : app =" http://schemas.android.com/apk/res-auto" >
6
+
7
+ <android .support.v7.widget.CardView
8
+ android : id =" @+id/card"
9
+ android : layout_width =" match_parent"
10
+ android : layout_height =" match_parent"
11
+ app : cardElevation =" 2dp"
12
+ app : cardBackgroundColor =" @android:color/holo_red_dark"
13
+ app : cardCornerRadius =" 5dp" >
14
+
15
+ <TextView
16
+ android : id =" @+id/title"
17
+ android : layout_width =" match_parent"
18
+ android : layout_height =" wrap_content"
19
+ android : textAlignment =" center"
20
+ android : textSize =" 50sp"
21
+ android : text =" Title"
22
+ android : textStyle =" bold"
23
+ android : textColor =" @android:color/white"
24
+ android : layout_gravity =" center" />
25
+
26
+
27
+ </android .support.v7.widget.CardView>
28
+
29
+ </RelativeLayout >
You can’t perform that action at this time.
0 commit comments