|
79 | 79 | tools:text="+ 0,45 € deposit" /> |
80 | 80 |
|
81 | 81 | <Button |
82 | | - style="@style/Widget.MaterialComponents.Button.TextButton" |
83 | 82 | android:id="@+id/enterReducedPrice" |
| 83 | + style="@style/Snabble.Widget.MaterialComponents.Button.TextButton" |
84 | 84 | android:layout_width="wrap_content" |
85 | 85 | android:layout_height="wrap_content" |
86 | 86 | android:layout_below="@+id/depositPrice" |
87 | 87 | android:layout_centerHorizontal="true" |
88 | 88 | android:layout_marginBottom="-16dp" |
89 | 89 | android:textSize="14sp" |
90 | 90 | tools:text="Reduzierten Preis eingeben" |
91 | | - tools:textColor="#c40000"/> |
| 91 | + tools:textColor="#c40000" /> |
92 | 92 |
|
93 | | - <Button style="@style/Widget.MaterialComponents.Button.OutlinedButton.Icon" |
| 93 | + <Button |
94 | 94 | android:id="@+id/minus" |
| 95 | + style="@style/Snabble.Widget.MaterialComponents.Button.OutlinedButton.Icon" |
95 | 96 | android:layout_width="48dp" |
96 | 97 | android:layout_height="48dp" |
97 | 98 | android:layout_below="@+id/enterReducedPrice" |
98 | 99 | android:layout_centerHorizontal="true" |
99 | | - android:layout_marginTop="24dp" |
| 100 | + android:layout_marginTop="16dp" |
100 | 101 | android:layout_marginEnd="8dp" |
101 | 102 | android:layout_toStartOf="@+id/quantity_text_input" |
102 | 103 | android:insetLeft="0dp" |
103 | | - android:insetRight="0dp" |
104 | 104 | android:insetTop="0dp" |
| 105 | + android:insetRight="0dp" |
105 | 106 | android:insetBottom="0dp" |
| 107 | + app:icon="@drawable/snabble_ic_minus_content" |
106 | 108 | app:iconTint="?attr/colorOnSurface" |
107 | | - app:strokeColor="@drawable/snabble_stroke" |
108 | | - app:icon="@drawable/snabble_ic_minus_content" /> |
| 109 | + app:strokeColor="@drawable/snabble_stroke" /> |
109 | 110 |
|
110 | 111 | <com.google.android.material.textfield.TextInputLayout |
111 | 112 | style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" |
|
120 | 121 | app:boxStrokeColor="@drawable/snabble_stroke" |
121 | 122 | android:layout_below="@+id/enterReducedPrice" |
122 | 123 | android:layout_centerHorizontal="true" |
123 | | - android:layout_marginTop="24dp"> |
| 124 | + android:layout_marginTop="16dp"> |
124 | 125 |
|
125 | 126 | <com.google.android.material.textfield.TextInputEditText |
126 | 127 | android:id="@+id/quantity" |
|
135 | 136 |
|
136 | 137 | </com.google.android.material.textfield.TextInputLayout> |
137 | 138 |
|
138 | | - <Button style="@style/Widget.MaterialComponents.Button.OutlinedButton.Icon" |
| 139 | + <Button style="@style/Snabble.Widget.MaterialComponents.Button.OutlinedButton.Icon" |
139 | 140 | android:id="@+id/plus" |
140 | 141 | android:layout_width="48dp" |
141 | 142 | android:layout_height="48dp" |
142 | 143 | android:layout_below="@+id/enterReducedPrice" |
143 | 144 | android:layout_centerHorizontal="true" |
144 | | - android:layout_marginTop="24dp" |
| 145 | + android:layout_marginTop="16dp" |
145 | 146 | android:layout_marginStart="8dp" |
146 | 147 | android:insetLeft="0dp" |
147 | 148 | android:insetRight="0dp" |
|
169 | 170 |
|
170 | 171 | <Button |
171 | 172 | android:id="@+id/addToCart" |
| 173 | + style="@style/Snabble.Widget.MaterialComponents.Button" |
172 | 174 | android:layout_width="match_parent" |
173 | | - android:layout_height="56dp" |
| 175 | + android:layout_height="wrap_content" |
| 176 | + android:layout_below="@+id/quantity_text_input" |
| 177 | + android:layout_centerHorizontal="true" |
174 | 178 | android:layout_marginLeft="16dp" |
| 179 | + android:layout_marginTop="16dp" |
175 | 180 | android:layout_marginRight="16dp" |
176 | | - android:layout_marginTop="24dp" |
177 | | - app:autoSizeTextType="uniform" |
178 | | - app:autoSizeMinTextSize="8sp" |
| 181 | + android:text="@string/Snabble.Scanner.addToCart" |
179 | 182 | app:autoSizeMaxTextSize="14sp" |
180 | | - android:layout_below="@+id/quantity_text_input" |
181 | | - android:layout_centerHorizontal="true" |
182 | | - android:text="@string/Snabble.Scanner.addToCart" /> |
| 183 | + app:autoSizeMinTextSize="8sp" |
| 184 | + app:autoSizeTextType="uniform" /> |
183 | 185 |
|
184 | 186 |
|
185 | 187 | <!-- invisible view as a margin, marginBottom does not work on API 16-18 --> |
|
0 commit comments