Improve Layout alignment

This commit is contained in:
Philoul 2022-07-04 08:53:19 +02:00
parent a33bdb6bff
commit e9bd7b0314

View file

@ -38,7 +38,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center_vertical" android:layout_gravity="center_horizontal|center_vertical"
android:layout_weight="2" android:layout_weight="3.5"
android:gravity="end" android:gravity="end"
android:paddingStart="5dp" android:paddingStart="5dp"
android:paddingEnd="5dp" android:paddingEnd="5dp"
@ -74,7 +74,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center_vertical" android:layout_gravity="center_horizontal|center_vertical"
android:layout_weight="2" android:layout_weight="3.5"
android:gravity="end" android:gravity="end"
android:paddingStart="5dp" android:paddingStart="5dp"
android:paddingEnd="5dp" android:paddingEnd="5dp"
@ -84,8 +84,8 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:layout_weight="1"
android:layout_weight="1"> android:orientation="horizontal">
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
android:id="@+id/tune_days" android:id="@+id/tune_days"
@ -106,10 +106,9 @@
android:paddingStart="5dp" android:paddingStart="5dp"
android:paddingEnd="5dp" android:paddingEnd="5dp"
android:text="(5)" android:text="(5)"
android:visibility="visible" android:textSize="14sp"
android:textSize="14sp" /> android:visibility="visible" />
</LinearLayout>
<CheckBox <CheckBox
android:id="@+id/show_week_days_checkbox" android:id="@+id/show_week_days_checkbox"
@ -124,6 +123,9 @@
</LinearLayout> </LinearLayout>
</LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/select_week_days" android:id="@+id/select_week_days"
android:layout_width="match_parent" android:layout_width="match_parent"