diff --git a/app/src/main/res/layout/actions_fragment.xml b/app/src/main/res/layout/actions_fragment.xml index e41f84726b..e5b4cc4c5a 100644 --- a/app/src/main/res/layout/actions_fragment.xml +++ b/app/src/main/res/layout/actions_fragment.xml @@ -47,8 +47,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_actions_profileswitch" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_profileswitch" android:textSize="11sp" app:layout_column="0" @@ -62,8 +62,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_temptarget_high" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_temporarytarget" android:textSize="11sp" app:layout_column="1" @@ -77,8 +77,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_actions_starttempbasal" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/overview_tempbasal_button" android:textSize="11sp" app:layout_column="0" @@ -92,8 +92,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_cancelbasal" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/canceltemp" android:textSize="11sp" android:visibility="gone" @@ -108,8 +108,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_actions_startextbolus" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/overview_extendedbolus_button" android:textSize="11sp" app:layout_column="1" @@ -123,8 +123,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_actions_cancelextbolus" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/overview_extendedbolus_cancel_button" android:textSize="11sp" android:visibility="gone" @@ -194,8 +194,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_bgcheck" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_bgcheck" android:textSize="11sp" app:layout_column="0" @@ -209,8 +209,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_cp_pump_canula" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/primefill" android:textSize="11sp" app:layout_column="1" @@ -224,8 +224,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_cgm_insert" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_cgmsensorinsert" android:textSize="11sp" app:layout_column="0" @@ -239,8 +239,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_pump_battery" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_pumpbatterychange" android:textSize="11sp" app:layout_column="1" @@ -254,8 +254,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_note" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_note" android:textSize="11sp" app:layout_column="0" @@ -269,8 +269,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_exercise" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_exercise" android:textSize="11sp" app:layout_column="1" @@ -284,8 +284,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_announcement" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_announcement" android:textSize="11sp" app:layout_column="0" @@ -299,8 +299,8 @@ android:layout_width="0dp" android:layout_height="fill_parent" android:drawableTop="@drawable/ic_cp_question" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/careportal_question" android:textSize="11sp" app:layout_column="1" @@ -347,8 +347,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_pump_history" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/nav_historybrowser" android:textSize="11sp" app:layout_column="0" @@ -362,8 +362,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_cp_stats" - android:paddingLeft="0dp" - android:paddingRight="0dp" + android:paddingStart="0dp" + android:paddingEnd="0dp" android:text="@string/tdd" android:textSize="11sp" app:layout_column="1" diff --git a/app/src/main/res/layout/activity_logsetting.xml b/app/src/main/res/layout/activity_logsetting.xml index cb1573ecf8..4236005fd8 100644 --- a/app/src/main/res/layout/activity_logsetting.xml +++ b/app/src/main/res/layout/activity_logsetting.xml @@ -31,8 +31,8 @@ android:layout_height="wrap_content" android:layout_centerInParent="true" android:layout_gravity="center" - android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" + android:layout_marginStart="10dp" + android:layout_marginEnd="10dp" android:text="@string/nav_logsettings" android:textAlignment="center" android:textAppearance="?android:attr/textAppearanceLarge" /> diff --git a/app/src/main/res/layout/activity_profilehelper.xml b/app/src/main/res/layout/activity_profilehelper.xml index 73353f3d1c..615958b310 100644 --- a/app/src/main/res/layout/activity_profilehelper.xml +++ b/app/src/main/res/layout/activity_profilehelper.xml @@ -25,8 +25,8 @@ android:layout_height="30dp" android:layout_weight="1" android:gravity="center" - android:paddingLeft="5dp" - android:paddingRight="5dp" + android:paddingStart="5dp" + android:paddingEnd="5dp" android:text="1" tools:ignore="HardcodedText" /> @@ -36,8 +36,8 @@ android:layout_height="30dp" android:layout_weight="1" android:gravity="center" - android:paddingLeft="5dp" - android:paddingRight="5dp" + android:paddingStart="5dp" + android:paddingEnd="5dp" android:text="2" tools:ignore="HardcodedText" /> diff --git a/app/src/main/res/layout/activity_setupwizard.xml b/app/src/main/res/layout/activity_setupwizard.xml index c84e5f652d..24403b64a3 100644 --- a/app/src/main/res/layout/activity_setupwizard.xml +++ b/app/src/main/res/layout/activity_setupwizard.xml @@ -64,8 +64,8 @@ android:layout_gravity="bottom|center_horizontal" android:background="@color/black_alpha_40" android:orientation="horizontal" - android:paddingLeft="16dp" - android:paddingRight="16dp"> + android:paddingStart="16dp" + android:paddingEnd="16dp">