-
Notifications
You must be signed in to change notification settings - Fork 24
/
activity_main.xml
77 lines (70 loc) · 2.82 KB
/
activity_main.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.simmorsal.library.ConcealerNestedScrollView
android:id="@+id/concealerNSV"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:background="#BDBDBD"
android:layout_width="match_parent"
android:layout_height="200dp"/>
<View
android:background="#9E9E9E"
android:layout_width="match_parent"
android:layout_height="200dp"/>
<View
android:background="#757575"
android:layout_width="match_parent"
android:layout_height="200dp"/>
<View
android:background="#BDBDBD"
android:layout_width="match_parent"
android:layout_height="200dp"/>
<View
android:background="#9E9E9E"
android:layout_width="match_parent"
android:layout_height="200dp"/>
<View
android:background="#757575"
android:layout_width="match_parent"
android:layout_height="200dp"/>
</LinearLayout>
</com.simmorsal.library.ConcealerNestedScrollView>
<android.support.v7.widget.CardView
android:id="@+id/crdHeaderView"
android:layout_width="match_parent"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
app:cardBackgroundColor="#C2185B"
android:layout_height="100dp">
<TextView
android:text="This is a floating CardView on top"
android:textColor="#fff"
android:gravity="center"
android:textSize="16sp"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v7.widget.CardView>
<LinearLayout
android:id="@+id/linFooterView"
android:background="#0097A7"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="70dp">
<TextView
android:text="This is a LinearLayout at the bottom"
android:textSize="16dp"
android:textColor="#fff"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
</RelativeLayout>