3
3
xmlns : materialdesign =" http://schemas.android.com/apk/res-auto"
4
4
android : layout_width =" match_parent"
5
5
android : layout_height =" match_parent"
6
+ android : background =" #FFF"
6
7
>
8
+ <com .gc.materialdesign.views.ScrollView
9
+ android : layout_width =" fill_parent"
10
+ android : layout_height =" fill_parent" >
7
11
8
12
<LinearLayout
9
13
android : layout_width =" fill_parent"
107
111
materialdesign : iconFloat =" @drawable/ic_action_new" />
108
112
</RelativeLayout >
109
113
110
- <!-- SMALL FLOAT BUTTON -->
114
+ <!-- FLOAT BUTTON -->
115
+
116
+ <RelativeLayout
117
+ android : layout_width =" fill_parent"
118
+ android : layout_height =" 32dp"
119
+ android : layout_marginLeft =" 24dp" >
120
+
121
+ <TextView
122
+ android : layout_width =" wrap_content"
123
+ android : layout_height =" wrap_content"
124
+ android : layout_centerVertical =" true"
125
+ android : text =" Icon Button" />
126
+
127
+ <View
128
+ android : layout_width =" fill_parent"
129
+ android : layout_height =" 1dp"
130
+ android : layout_alignParentBottom =" true"
131
+ android : background =" #1E88E5" />
132
+ </RelativeLayout >
133
+
134
+ <RelativeLayout
135
+ android : layout_width =" fill_parent"
136
+ android : layout_height =" 72dp" >
137
+
138
+ <com .gc.materialdesign.views.ButtonIcon
139
+ android : id =" @+id/buttonIcon"
140
+ android : layout_width =" wrap_content"
141
+ android : layout_height =" wrap_content"
142
+ android : layout_centerInParent =" true"
143
+ android : background =" #1E88E5"
144
+ materialdesign : iconFloat =" @drawable/ic_next" />
145
+ </RelativeLayout >
146
+
147
+ <!-- FLOAT BUTTON -->
111
148
112
149
<RelativeLayout
113
150
android : layout_width =" fill_parent"
127
164
android : background =" #1E88E5" />
128
165
</RelativeLayout >
129
166
</LinearLayout >
167
+ </com .gc.materialdesign.views.ScrollView>
130
168
<com .gc.materialdesign.views.ButtonFloat
131
169
android : id =" @+id/buttonFloat"
132
170
android : layout_width =" wrap_content"
138
176
materialdesign : animate =" true"
139
177
materialdesign : iconFloat =" @drawable/ic_action_new" />
140
178
141
- </RelativeLayout >
179
+ </RelativeLayout >
0 commit comments