|
152 | 152 | android:layout_marginTop="8dp"
|
153 | 153 | android:ems="8"
|
154 | 154 | android:inputType="number"
|
155 |
| - android:textAlignment="center" |
156 | 155 | android:selectAllOnFocus="true"
|
| 156 | + android:textAlignment="center" |
157 | 157 | app:layout_constraintEnd_toStartOf="@+id/btQuantityPlus"
|
158 | 158 | app:layout_constraintStart_toEndOf="@+id/btQuantityMinus" />
|
159 | 159 |
|
|
256 | 256 | android:layout_marginTop="8dp"
|
257 | 257 | android:ems="8"
|
258 | 258 | android:inputType="number"
|
259 |
| - android:textAlignment="center" |
260 | 259 | android:selectAllOnFocus="true"
|
| 260 | + android:textAlignment="center" |
261 | 261 | app:layout_constraintEnd_toStartOf="@+id/btPricePlus"
|
262 | 262 | app:layout_constraintStart_toEndOf="@+id/btPriceMinus" />
|
263 | 263 |
|
|
356 | 356 | android:layout_marginEnd="8dp">
|
357 | 357 |
|
358 | 358 | <ToggleButton
|
| 359 | + android:id="@+id/btDay" |
359 | 360 | android:layout_width="wrap_content"
|
360 |
| - android:layout_height="match_parent" |
| 361 | + android:layout_height="wrap_content" |
361 | 362 | android:layout_weight="1"
|
362 | 363 | android:textOff="@string/day"
|
363 | 364 | android:textOn="@string/day" />
|
364 | 365 |
|
365 | 366 | <ToggleButton
|
| 367 | + android:id="@+id/btWeek" |
366 | 368 | android:layout_width="wrap_content"
|
367 | 369 | android:layout_height="wrap_content"
|
368 | 370 | android:layout_weight="1"
|
|
377 | 379 | android:layout_marginStart="8dp"
|
378 | 380 | android:layout_marginEnd="8dp">
|
379 | 381 |
|
380 |
| - <Spinner |
381 |
| - android:layout_width="wrap_content" |
| 382 | + <ToggleButton |
| 383 | + android:id="@+id/btTillDate" |
| 384 | + android:layout_width="0dp" |
382 | 385 | android:layout_height="wrap_content"
|
383 |
| - android:layout_weight="1"> |
| 386 | + android:layout_weight="1" |
| 387 | + android:drawableEnd="@drawable/ic_arrow_drop_down" |
| 388 | + android:textAlignment="center" |
| 389 | + android:textOff="@string/till_date" |
| 390 | + android:textOn="@string/till_date"> |
384 | 391 |
|
385 |
| - </Spinner> |
| 392 | + </ToggleButton> |
386 | 393 |
|
387 |
| - <Spinner |
388 |
| - android:layout_width="wrap_content" |
| 394 | + <ToggleButton |
| 395 | + android:id="@+id/btSession" |
| 396 | + android:layout_width="0dp" |
389 | 397 | android:layout_height="wrap_content"
|
390 |
| - android:layout_weight="1"> |
| 398 | + android:layout_weight="1" |
| 399 | + android:drawableEnd="@drawable/ic_arrow_drop_down" |
| 400 | + android:textAlignment="center" |
| 401 | + android:textOff="@string/opening" |
| 402 | + android:textOn="@string/opening"> |
391 | 403 |
|
392 |
| - </Spinner> |
| 404 | + </ToggleButton> |
393 | 405 | </android.support.v7.widget.LinearLayoutCompat>
|
394 | 406 | </android.support.v7.widget.LinearLayoutCompat>
|
395 | 407 |
|
|
481 | 493 | android:layout_width="match_parent"
|
482 | 494 | android:layout_height="wrap_content"
|
483 | 495 | android:layout_marginStart="16dp"
|
484 |
| - android:layout_marginEnd="16dp" |
485 | 496 | android:layout_marginTop="16dp"
|
| 497 | + android:layout_marginEnd="16dp" |
486 | 498 | android:text="@string/order_review"
|
487 | 499 | app:layout_constraintBottom_toBottomOf="parent"
|
488 | 500 | app:layout_constraintEnd_toEndOf="parent"
|
|
0 commit comments