|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
@@ -7,79 +8,73 @@
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/switches"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
android:baselineAligned="false"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/line"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/sift_menu_page"
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/sift_menu"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_weight="1"
|
|
|
android:background="@color/background_color"
|
|
|
- android:gravity="center_horizontal"
|
|
|
+ android:gravity="top"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <RadioGroup
|
|
|
- android:id="@+id/sift_menu"
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/business_sift"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:background="@drawable/style_radio_button"
|
|
|
+ android:button="@null"
|
|
|
+ android:checked="true"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/business_sift"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:background="@drawable/style_radio_button"
|
|
|
- android:button="@null"
|
|
|
- android:checked="true"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/business_sift" />
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/customer_level"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="@dimen/common_padding"
|
|
|
- android:background="@drawable/style_radio_button"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/customer_level" />
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/customer_classification"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="@dimen/common_padding"
|
|
|
- android:background="@drawable/style_radio_button"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/customer_classification" />
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/director"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="@dimen/common_padding"
|
|
|
- android:background="@drawable/style_radio_button"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/director" />
|
|
|
-
|
|
|
- <RadioButton
|
|
|
- android:id="@+id/province"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="@dimen/common_padding"
|
|
|
- android:background="@drawable/style_radio_button"
|
|
|
- android:button="@null"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/province" />
|
|
|
- </RadioGroup>
|
|
|
- </LinearLayout>
|
|
|
+ android:text="@string/business_sift" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/customer_level"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="@dimen/common_padding"
|
|
|
+ android:background="@drawable/style_radio_button"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/customer_level" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/customer_classification"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="@dimen/common_padding"
|
|
|
+ android:background="@drawable/style_radio_button"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/customer_classification" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/director"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="@dimen/common_padding"
|
|
|
+ android:background="@drawable/style_radio_button"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/director" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/province"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginTop="@dimen/common_padding"
|
|
|
+ android:background="@drawable/style_radio_button"
|
|
|
+ android:button="@null"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/province" />
|
|
|
+ </RadioGroup>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/business_sift_page"
|
|
@@ -262,15 +257,21 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
|
+ android:id="@+id/line"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/line"
|
|
|
- android:layout_marginBottom="@dimen/common_padding"
|
|
|
- android:background="@color/line_color" />
|
|
|
+ android:background="@color/line_color"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/buttons"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/switches"
|
|
|
+ android:layout_marginBottom="@dimen/common_padding"/>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/buttons"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/count"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/line">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/reset"
|
|
@@ -302,11 +303,14 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:id="@+id/count"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_margin="@dimen/common_padding"
|
|
|
android:baselineAligned="false"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/buttons">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="0dp"
|
|
@@ -352,4 +356,4 @@
|
|
|
android:textSize="@dimen/text_size_small" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
-</LinearLayout>
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|