1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <ScrollView
3
+ xmlns:android=" http://schemas.android.com/apk/res/android"
4
+ xmlns:tools=" http://schemas.android.com/tools"
5
+ android:layout_width=" match_parent"
6
+ android:layout_height=" match_parent"
7
+ tools:context=" .ButtonsActivity" >
8
+
9
+ <LinearLayout
10
+ android:layout_width=" match_parent"
11
+ android:layout_height=" wrap_content"
12
+ android:gravity=" center"
13
+ android:orientation=" vertical"
14
+ android:padding=" 16dp" >
15
+
16
+ <Button
17
+ style=" @style/FarmBlocks.Button.Primary"
18
+ android:layout_margin=" 8dp"
19
+ android:text=" Primary Button"
20
+ tools:ignore=" HardcodedText" />
21
+
22
+ <Button
23
+ style=" @style/FarmBlocks.Button.Secondary"
24
+ android:layout_margin=" 8dp"
25
+ android:text=" Secondary Button"
26
+ tools:ignore=" HardcodedText" />
27
+
28
+ <Button
29
+ style=" @style/FarmBlocks.Button.Neutral"
30
+ android:layout_margin=" 8dp"
31
+ android:text=" Neutral Button"
32
+ tools:ignore=" HardcodedText" />
33
+
34
+ <Button
35
+ style=" @style/FarmBlocks.Button.White"
36
+ android:layout_margin=" 8dp"
37
+ android:text=" White Button"
38
+ tools:ignore=" HardcodedText" />
39
+
40
+ <Button
41
+ style=" @style/FarmBlocks.Button.Accept"
42
+ android:layout_margin=" 8dp"
43
+ android:text=" Accept Button"
44
+ tools:ignore=" HardcodedText" />
45
+
46
+ <Button
47
+ style=" @style/FarmBlocks.Button.Primary"
48
+ android:layout_margin=" 8dp"
49
+ android:enabled=" false"
50
+ android:text=" Primary Button Disabled"
51
+ tools:ignore=" HardcodedText" />
52
+
53
+ <Button
54
+ style=" @style/FarmBlocks.ButtonFlat.Primary"
55
+ android:layout_margin=" 8dp"
56
+ android:text=" Primary Flat Button"
57
+ tools:ignore=" HardcodedText" />
58
+
59
+ <Button
60
+ style=" @style/FarmBlocks.ButtonFlat.Secondary"
61
+ android:layout_margin=" 8dp"
62
+ android:text=" Secondary Flat Button"
63
+ tools:ignore=" HardcodedText" />
64
+
65
+ <Button
66
+ style=" @style/FarmBlocks.ButtonFlat.Neutral"
67
+ android:layout_margin=" 8dp"
68
+ android:text=" Neutral Flat Button"
69
+ tools:ignore=" HardcodedText" />
70
+
71
+ <Button
72
+ style=" @style/FarmBlocks.ButtonFlat.White"
73
+ android:layout_margin=" 8dp"
74
+ android:text=" White Flat Button"
75
+ tools:ignore=" HardcodedText" />
76
+
77
+ <Button
78
+ style=" @style/FarmBlocks.ButtonFlat.Primary"
79
+ android:layout_margin=" 8dp"
80
+ android:enabled=" false"
81
+ android:text=" Primary Flat Button"
82
+ tools:ignore=" HardcodedText" />
83
+
84
+ <com .google.android.material.floatingactionbutton.FloatingActionButton
85
+ style=" @style/FarmBlocks.FloatingActionButton"
86
+ android:layout_margin=" 8dp"
87
+ android:src=" @drawable/ic_edit" />
88
+
89
+ <com .google.android.material.floatingactionbutton.FloatingActionButton
90
+ style=" @style/FarmBlocks.FloatingActionButton.Small"
91
+ android:layout_margin=" 8dp"
92
+ android:src=" @drawable/ic_edit" />
93
+
94
+ </LinearLayout >
95
+
96
+ </ScrollView >
0 commit comments