diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/activities/QuickWizardListActivity.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/activities/QuickWizardListActivity.kt index 128f6c6613..5c1ffc8c27 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/activities/QuickWizardListActivity.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/overview/activities/QuickWizardListActivity.kt @@ -76,6 +76,10 @@ class QuickWizardListActivity : DaggerAppCompatActivityWithResult(), OnStartDrag else -> R.drawable.ic_smartphone } ) + holder.binding.device.contentDescription = when (quickWizard[position].device()) { + QuickWizardEntry.DEVICE_WATCH -> rh.gs(R.string.a11y_only_on_watch) + else -> rh.gs(R.string.a11y_only_on_phone) + } } holder.binding.root.setOnClickListener { if (actionHelper.isNoAction) { diff --git a/app/src/main/res/layout/activity_historybrowse.xml b/app/src/main/res/layout/activity_historybrowse.xml index f3792b7e91..2cbd13c683 100644 --- a/app/src/main/res/layout/activity_historybrowse.xml +++ b/app/src/main/res/layout/activity_historybrowse.xml @@ -59,7 +59,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" - android:text="24" /> + tools:text="24" /> diff --git a/app/src/main/res/layout/activity_profilehelper.xml b/app/src/main/res/layout/activity_profilehelper.xml index ddad35b461..509d23b6b8 100644 --- a/app/src/main/res/layout/activity_profilehelper.xml +++ b/app/src/main/res/layout/activity_profilehelper.xml @@ -27,8 +27,7 @@ android:gravity="center" android:paddingStart="5dp" android:paddingEnd="5dp" - android:text="1" - tools:ignore="HardcodedText" /> + android:text="Profile 1" /> + android:text="Profile 2" /> diff --git a/app/src/main/res/layout/activity_setupwizard.xml b/app/src/main/res/layout/activity_setupwizard.xml index 24403b64a3..a60004b8f8 100644 --- a/app/src/main/res/layout/activity_setupwizard.xml +++ b/app/src/main/res/layout/activity_setupwizard.xml @@ -20,6 +20,7 @@ android:layout_marginTop="16dp" android:layout_weight="1" android:background="@android:color/transparent" + android:importantForAccessibility="no" android:onClick="exitPressed" app:srcCompat="@drawable/ic_exit_to_app" /> diff --git a/app/src/main/res/layout/activity_smscommunicator_otp.xml b/app/src/main/res/layout/activity_smscommunicator_otp.xml index 99c410f02e..dc6e69e303 100644 --- a/app/src/main/res/layout/activity_smscommunicator_otp.xml +++ b/app/src/main/res/layout/activity_smscommunicator_otp.xml @@ -35,6 +35,7 @@ android:id="@+id/otp_provisioning" android:layout_width="fill_parent" android:layout_height="wrap_content" + android:contentDescription="@string/a11y_otp_qr_code" android:layout_marginTop="10dp" android:scaleType="center" /> @@ -72,6 +73,7 @@ android:layout_width="140sp" android:layout_height="wrap_content" android:hint="@string/smscommunicator_code_verify_hint" + android:importantForAutofill="no" android:inputType="number" android:maxLength="12" android:textAlignment="center" diff --git a/app/src/main/res/layout/bgsource_item.xml b/app/src/main/res/layout/bgsource_item.xml index 5d3e8595c6..261b3c0475 100644 --- a/app/src/main/res/layout/bgsource_item.xml +++ b/app/src/main/res/layout/bgsource_item.xml @@ -3,6 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:card_view="http://schemas.android.com/tools" + xmlns:tools="http://schemas.android.com/tools" style="@style/Widget.MaterialComponents.CardView" android:id="@+id/bg_card" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/configbuilder_single_category.xml b/app/src/main/res/layout/configbuilder_single_category.xml index 2f6177b593..8d653c61bc 100644 --- a/app/src/main/res/layout/configbuilder_single_category.xml +++ b/app/src/main/res/layout/configbuilder_single_category.xml @@ -36,8 +36,10 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:layout_margin="4dp" - app:tint="?android:attr/colorAccent" - app:srcCompat="@drawable/ic_visibility" /> + android:importantForAccessibility="no" + app:srcCompat="@drawable/ic_visibility" + app:tint="?android:attr/colorAccent" /> + - \ No newline at end of file + + diff --git a/app/src/main/res/layout/configbuilder_single_plugin.xml b/app/src/main/res/layout/configbuilder_single_plugin.xml index d48ef40a5f..397c755aba 100644 --- a/app/src/main/res/layout/configbuilder_single_plugin.xml +++ b/app/src/main/res/layout/configbuilder_single_plugin.xml @@ -38,7 +38,8 @@ android:layout_width="36dp" android:layout_height="36dp" android:layout_gravity="center_vertical" - android:layout_marginEnd="8dp" /> + android:layout_marginEnd="8dp" + android:importantForAccessibility="no" /> @@ -70,6 +72,7 @@ android:layout_height="wrap_content" android:textSize="12sp" tools:text="A super exquisite plugin description" /> + @@ -80,6 +83,7 @@ android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" + android:contentDescription="@string/a11y_open_settings" android:background="?attr/selectableItemBackgroundBorderless" app:srcCompat="@drawable/ic_settings" /> @@ -88,4 +92,5 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:saveEnabled="false" /> - \ No newline at end of file + + diff --git a/app/src/main/res/layout/dialog_carbs.xml b/app/src/main/res/layout/dialog_carbs.xml index e8b9e70bf6..71b771bb15 100644 --- a/app/src/main/res/layout/dialog_carbs.xml +++ b/app/src/main/res/layout/dialog_carbs.xml @@ -75,6 +75,7 @@ + + tools:text="+0.5" /> + tools:text="+1.0" /> + tools:text="+2.0" /> diff --git a/app/src/main/res/layout/dialog_loop.xml b/app/src/main/res/layout/dialog_loop.xml index dccc545c6d..f0289139d3 100644 --- a/app/src/main/res/layout/dialog_loop.xml +++ b/app/src/main/res/layout/dialog_loop.xml @@ -182,7 +182,7 @@ android:id="@+id/overview_resume" style="@style/ButtonSmallFontStyle" android:layout_width="wrap_content" - android:layout_height="fill_parent" + android:layout_height="0dp" android:layout_gravity="center" android:layout_marginEnd="-4dp" android:layout_weight="0.5" @@ -291,7 +291,7 @@ android:id="@+id/overview_reconnect" style="@style/ButtonSmallFontStyle" android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_height="0dp" android:layout_gravity="center" android:layout_marginEnd="-4dp" android:layout_weight="0.5" @@ -396,7 +396,7 @@ android:id="@+id/cancel" style="@style/OkCancelButton.Text" android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_height="0dp" android:layout_marginEnd="8dp" android:layout_weight="1" android:text="@string/cancel" @@ -404,4 +404,5 @@ android:textAlignment="textEnd" /> - \ No newline at end of file + + diff --git a/app/src/main/res/layout/dialog_profileswitch.xml b/app/src/main/res/layout/dialog_profileswitch.xml index 7b1f72d2bd..8dfca79eae 100644 --- a/app/src/main/res/layout/dialog_profileswitch.xml +++ b/app/src/main/res/layout/dialog_profileswitch.xml @@ -151,7 +151,8 @@ android:paddingStart="5dp" android:paddingEnd="5dp" android:text="%" - android:textAppearance="?android:attr/textAppearanceSmall" /> + android:textAppearance="?android:attr/textAppearanceSmall" + tools:ignore="HardcodedText" /> @@ -210,7 +211,7 @@ + android:textAppearance="?android:attr/textAppearanceSmall" + tools:ignore="HardcodedText" /> diff --git a/app/src/main/res/layout/dialog_wizard.xml b/app/src/main/res/layout/dialog_wizard.xml index 7ce4846a4d..9064fe76d2 100644 --- a/app/src/main/res/layout/dialog_wizard.xml +++ b/app/src/main/res/layout/dialog_wizard.xml @@ -48,8 +48,8 @@ + android:paddingStart="0dp" + android:paddingEnd="5dp"> + android:textStyle="bold" + tools:ignore="HardcodedText" /> @@ -347,7 +348,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:checked="false" - android:contentDescription="set carb timer alarm" + android:contentDescription="@string/a11y_set_carb_timer" android:drawableEnd="@drawable/ic_access_alarm_24dp" android:layoutDirection="rtl" android:padding="2dp" /> @@ -384,7 +385,8 @@ android:layout_marginEnd="5dp" android:layout_weight="0.5" android:hint="@string/profile" - android:paddingStart="7dp"> + android:paddingStart="7dp" + android:paddingEnd="0dp"> @@ -76,10 +76,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:text="Question" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/exam_name" /> + app:layout_constraintTop_toBottomOf="@id/exam_name" + tools:text="Question" /> + app:layout_constraintTop_toTopOf="parent" + tools:text="Name" /> + app:layout_constraintTop_toBottomOf="@+id/exam_hints" + tools:text="Disabled until:" /> diff --git a/app/src/main/res/layout/objectives_item.xml b/app/src/main/res/layout/objectives_item.xml index 07e05be638..9083300a3c 100644 --- a/app/src/main/res/layout/objectives_item.xml +++ b/app/src/main/res/layout/objectives_item.xml @@ -95,7 +95,7 @@ android:id="@+id/requestcode" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Request code: XXXXX" /> + tools:text="Request code: XXXXX" /> + android:inputType="text" + tools:hint="XXXXXXXXXX" + android:importantForAutofill="no" /> + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + tools:text="08:20pm" /> + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + tools:ignore="HardcodedText" /> + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + tools:text="08:20pm" /> @@ -123,17 +124,17 @@ + android:text="@string/device_all" /> + android:text="@string/device_phone" /> + android:text="@string/device_watch" /> @@ -366,9 +367,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" + android:importantForAutofill="no" android:inputType="number" - android:maxLength="3" - android:paddingStart="10dp" /> + android:maxLength="3"/> diff --git a/app/src/main/res/layout/overview_quickwizardlist_item.xml b/app/src/main/res/layout/overview_quickwizardlist_item.xml index 56824188e9..594721d43e 100644 --- a/app/src/main/res/layout/overview_quickwizardlist_item.xml +++ b/app/src/main/res/layout/overview_quickwizardlist_item.xml @@ -2,7 +2,6 @@ @@ -81,14 +81,15 @@ android:adjustViewBounds="false" android:cropToPadding="false" android:scaleType="fitStart" - app:srcCompat="@drawable/ic_smartphone" - tools:ignore="RtlSymmetry" /> + android:contentDescription="@string/a11y_only_on_phone" + app:srcCompat="@drawable/ic_smartphone" /> diff --git a/app/src/main/res/layout/overview_statuslights_layout.xml b/app/src/main/res/layout/overview_statuslights_layout.xml index c49e01b0c7..546409aa7e 100644 --- a/app/src/main/res/layout/overview_statuslights_layout.xml +++ b/app/src/main/res/layout/overview_statuslights_layout.xml @@ -9,14 +9,16 @@ android:layout_marginBottom="3dp" android:orientation="horizontal" android:paddingTop="4dp" - android:paddingBottom="4dp"> + android:paddingBottom="4dp" + android:baselineAligned="false"> + android:gravity="center_horizontal" + tools:ignore="UseCompoundDrawables"> @@ -73,7 +76,8 @@ android:layout_height="fill_parent" android:layout_weight="1" android:focusable="true" - android:gravity="center_horizontal"> + android:gravity="center_horizontal" + tools:ignore="UseCompoundDrawables"> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a8f8bf0efd..12e9f6b607 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1212,4 +1212,13 @@ Hide loop records AndroidAPS widget Configure opacity + QR Code for setup one time password + open settings + set carb timer alarm + All + Phone + Watch + only on watch + only on phone + drag and drop handle diff --git a/automation/src/main/res/layout/automation_action_item.xml b/automation/src/main/res/layout/automation_action_item.xml index 24697cee75..187abda4a9 100644 --- a/automation/src/main/res/layout/automation_action_item.xml +++ b/automation/src/main/res/layout/automation_action_item.xml @@ -2,6 +2,7 @@ + android:orientation="horizontal" + tools:ignore="UseCompoundDrawables"> - \ No newline at end of file + diff --git a/automation/src/main/res/layout/automation_dialog_action.xml b/automation/src/main/res/layout/automation_dialog_action.xml index 0ec8a68c46..ba6a516e70 100644 --- a/automation/src/main/res/layout/automation_dialog_action.xml +++ b/automation/src/main/res/layout/automation_dialog_action.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:focusableInTouchMode="true" - tools:context=".plugins.general.automation.dialogs.EditActionDialog"> + tools:context="info.nightscout.androidaps.plugins.general.automation.dialogs.EditActionDialog"> - \ No newline at end of file + diff --git a/automation/src/main/res/layout/automation_dialog_choose_action.xml b/automation/src/main/res/layout/automation_dialog_choose_action.xml index f3aaebd19b..ac3997cf97 100644 --- a/automation/src/main/res/layout/automation_dialog_choose_action.xml +++ b/automation/src/main/res/layout/automation_dialog_choose_action.xml @@ -2,12 +2,10 @@ + tools:context="info.nightscout.androidaps.plugins.general.automation.dialogs.EditEventDialog"> - \ No newline at end of file + diff --git a/automation/src/main/res/layout/automation_dialog_choose_trigger.xml b/automation/src/main/res/layout/automation_dialog_choose_trigger.xml index f88d4a1078..c4c139c607 100644 --- a/automation/src/main/res/layout/automation_dialog_choose_trigger.xml +++ b/automation/src/main/res/layout/automation_dialog_choose_trigger.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:focusableInTouchMode="true" - tools:context=".plugins.general.automation.dialogs.EditEventDialog"> + tools:context="info.nightscout.androidaps.plugins.general.automation.dialogs.EditEventDialog"> - \ No newline at end of file + diff --git a/automation/src/main/res/layout/automation_dialog_event.xml b/automation/src/main/res/layout/automation_dialog_event.xml index 9109c1a520..a94169dd49 100644 --- a/automation/src/main/res/layout/automation_dialog_event.xml +++ b/automation/src/main/res/layout/automation_dialog_event.xml @@ -26,7 +26,7 @@ app:srcCompat="@drawable/ic_action_orange_48dp" /> @@ -93,6 +94,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:layout_centerVertical="true" + android:importantForAccessibility="no" app:srcCompat="@drawable/ic_trigger_green_48dp" /> + android:text="@string/edit_short" + tools:ignore="RelativeOverlap" /> @@ -156,6 +159,7 @@ android:layout_width="24dp" android:layout_height="24dp" android:layout_centerVertical="true" + android:importantForAccessibility="no" app:srcCompat="@drawable/ic_action_orange_48dp" /> + android:text="@string/add_short" + tools:ignore="RelativeOverlap" /> @@ -195,4 +200,4 @@ - \ No newline at end of file + diff --git a/core/src/main/res/layout/datetime.xml b/core/src/main/res/layout/datetime.xml index 07e7ba30fe..507595174d 100644 --- a/core/src/main/res/layout/datetime.xml +++ b/core/src/main/res/layout/datetime.xml @@ -1,9 +1,10 @@ + android:orientation="horizontal" + android:paddingTop="2dp"> + tools:text="2017/05/05" /> + tools:text="08:20pm" /> diff --git a/core/src/main/res/layout/dialog_alert_custom_title.xml b/core/src/main/res/layout/dialog_alert_custom_title.xml index 624b970c12..0c0641954d 100644 --- a/core/src/main/res/layout/dialog_alert_custom_title.xml +++ b/core/src/main/res/layout/dialog_alert_custom_title.xml @@ -18,6 +18,7 @@ android:id="@+id/alertdialog_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:importantForAccessibility="no" app:tint="?dialogTitleIconTint" /> - \ No newline at end of file + diff --git a/core/src/main/res/layout/maintenance_import_list_item.xml b/core/src/main/res/layout/maintenance_import_list_item.xml index 39d68cfa89..d7e8cd1f18 100644 --- a/core/src/main/res/layout/maintenance_import_list_item.xml +++ b/core/src/main/res/layout/maintenance_import_list_item.xml @@ -27,7 +27,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="true" - android:orientation="horizontal"> + android:orientation="horizontal" + tools:ignore="UseCompoundDrawables"> @@ -46,6 +48,7 @@ android:layout_weight="1" android:ellipsize="none" android:maxLines="2" + android:paddingStart="0dp" android:paddingEnd="10dp" android:scrollHorizontally="false" android:text="File name here" @@ -53,7 +56,6 @@ android:textColor="?attr/importListFileNameColor" tools:ignore="HardcodedText" /> - - + android:orientation="horizontal" + tools:ignore="UseCompoundDrawables"> @@ -110,17 +112,14 @@ android:textColor="?attr/importListAdditionalInfoColor" tools:ignore="HardcodedText" /> - - - diff --git a/core/src/main/res/layout/passwordprompt.xml b/core/src/main/res/layout/passwordprompt.xml index ea4209edc3..05c300a702 100644 --- a/core/src/main/res/layout/passwordprompt.xml +++ b/core/src/main/res/layout/passwordprompt.xml @@ -21,9 +21,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/password_hint" + android:importantForAutofill="no" android:inputType="textPassword"> + - \ No newline at end of file + diff --git a/core/src/main/res/layout/toast.xml b/core/src/main/res/layout/toast.xml index 4572e3b408..8b79189760 100644 --- a/core/src/main/res/layout/toast.xml +++ b/core/src/main/res/layout/toast.xml @@ -26,8 +26,9 @@ android:layout_marginTop="4dp" android:layout_marginEnd="18dp" android:layout_marginBottom="4dp" - android:text="Toast goes here..." android:textColor="?attr/toastBaseTextColor" android:textSize="18sp" - tools:ignore="HardcodedText,RtlHardcoded" /> - \ No newline at end of file + tools:ignore="RtlHardcoded" + tools:text="Toast goes here..." /> + + diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 74e30a005c..39ff22b27b 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -561,6 +561,8 @@ Remove Items Sort Items Remove Selected Items + file + user %1$d day diff --git a/dana/src/main/res/layout/danar_history_item.xml b/dana/src/main/res/layout/danar_history_item.xml index 23b37e9e00..ddae424524 100644 --- a/dana/src/main/res/layout/danar_history_item.xml +++ b/dana/src/main/res/layout/danar_history_item.xml @@ -14,7 +14,6 @@ app:cardUseCompatPadding="true" android:layout_gravity="center"> - - @@ -64,7 +62,7 @@ android:id="@+id/duration" android:layout_width="30dp" android:layout_height="wrap_content" - android:gravity="right" + android:gravity="end" android:paddingStart="5dp" android:text="30" tools:ignore="HardcodedText,RtlHardcoded,RtlSymmetry" /> @@ -73,7 +71,7 @@ android:id="@+id/daily_basal" android:layout_width="50dp" android:layout_height="wrap_content" - android:gravity="right" + android:gravity="end" android:paddingStart="5dp" tools:ignore="RtlHardcoded,RtlSymmetry" /> @@ -81,7 +79,7 @@ android:id="@+id/daily_bolus" android:layout_width="50dp" android:layout_height="wrap_content" - android:gravity="right" + android:gravity="end" android:paddingStart="5dp" tools:ignore="RtlHardcoded,RtlSymmetry" /> @@ -89,7 +87,7 @@ android:id="@+id/daily_total" android:layout_width="56dp" android:layout_height="wrap_content" - android:gravity="right" + android:gravity="end" android:paddingStart="10dp" android:visibility="gone" tools:ignore="RtlHardcoded,RtlSymmetry" /> diff --git a/dana/src/main/res/layout/danar_user_options_activity.xml b/dana/src/main/res/layout/danar_user_options_activity.xml index ee76cba6bf..6e4f850ab1 100644 --- a/dana/src/main/res/layout/danar_user_options_activity.xml +++ b/dana/src/main/res/layout/danar_user_options_activity.xml @@ -8,7 +8,6 @@ android:focusableInTouchMode="true" tools:context="info.nightscout.androidaps.dana.activities.DanaUserOptionsActivity"> - - + android:textOn="@string/timeformat24h" + app:showText="true" /> - + android:textOn="@string/option_on" + app:showText="true" /> - + android:textOn="@string/option_on" + app:showText="true" /> - + android:textOn="@string/mmol" + app:showText="true" /> + tools:text="STATUS" /> - - + app:contentPadding="2dp"> - + android:paddingEnd="0dp" + tools:text="27.06.2016 18:00" /> + android:paddingEnd="0dp" + tools:text="0.25" /> + android:paddingEnd="0dp" + tools:text="E" /> + android:paddingEnd="0dp" + tools:text="XXXXXXX" /> + android:paddingEnd="0dp" + tools:text="30" /> + android:paddingEnd="0dp" /> + android:paddingEnd="0dp" /> + android:paddingEnd="0dp" + android:visibility="gone" /> + android:paddingStart="5dp" + android:paddingEnd="0dp" /> diff --git a/diaconn/src/main/res/layout/diaconn_g8_user_options_activity.xml b/diaconn/src/main/res/layout/diaconn_g8_user_options_activity.xml index 61a43250a5..85a4ba9aa8 100644 --- a/diaconn/src/main/res/layout/diaconn_g8_user_options_activity.xml +++ b/diaconn/src/main/res/layout/diaconn_g8_user_options_activity.xml @@ -8,7 +8,6 @@ android:focusableInTouchMode="true" tools:context="info.nightscout.androidaps.diaconn.activities.DiaconnG8UserOptionsActivity"> - - - @@ -191,17 +185,11 @@ - - - @@ -273,16 +261,11 @@ - - @@ -306,7 +289,6 @@ android:layout_marginBottom="5dp" android:background="?android:attr/dividerHorizontal" /> - \ No newline at end of file + android:gravity="center_vertical" + android:paddingStart="16dp" + android:paddingEnd="0dp" + android:textColor="#FFFFFF" + android:textSize="20sp" + tools:text="Test" /> diff --git a/insight/src/main/res/layout/local_insight_status_item.xml b/insight/src/main/res/layout/local_insight_status_item.xml index 38216e9b33..987d71b50e 100644 --- a/insight/src/main/res/layout/local_insight_status_item.xml +++ b/insight/src/main/res/layout/local_insight_status_item.xml @@ -1,5 +1,6 @@ @@ -10,6 +11,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:gravity="end" + android:paddingStart="0dp" android:paddingEnd="5dp" android:textSize="14sp" /> @@ -21,7 +23,8 @@ android:paddingStart="2dp" android:paddingEnd="2dp" android:text=":" - android:textSize="14sp" /> + android:textSize="14sp" + tools:ignore="HardcodedText" /> - \ No newline at end of file + + diff --git a/medtronic/src/main/res/layout/medtronic_fragment.xml b/medtronic/src/main/res/layout/medtronic_fragment.xml index ea92f2a590..db76e71150 100644 --- a/medtronic/src/main/res/layout/medtronic_fragment.xml +++ b/medtronic/src/main/res/layout/medtronic_fragment.xml @@ -4,14 +4,12 @@ android:layout_height="match_parent" tools:context="info.nightscout.androidaps.plugins.pump.medtronic.MedtronicFragment"> - - - - - - - - - - - - - - + android:text="@string/riley_statistics" /> diff --git a/medtronic/src/main/res/layout/medtronic_history_activity.xml b/medtronic/src/main/res/layout/medtronic_history_activity.xml index b9e95908df..91e8ddbc45 100644 --- a/medtronic/src/main/res/layout/medtronic_history_activity.xml +++ b/medtronic/src/main/res/layout/medtronic_history_activity.xml @@ -7,7 +7,6 @@ android:paddingTop="@dimen/activity_vertical_margin" tools:context="info.nightscout.androidaps.plugins.pump.medtronic.dialog.MedtronicHistoryActivity"> - - - + android:textSize="12sp" + tools:text="Date" /> + android:textSize="12sp" + tools:text="Source" /> + android:textSize="12sp" + tools:text="Description" /> - \ No newline at end of file + diff --git a/medtronic/src/main/res/values/strings.xml b/medtronic/src/main/res/values/strings.xml index 5ec63bcdfd..0e247f48b1 100644 --- a/medtronic/src/main/res/values/strings.xml +++ b/medtronic/src/main/res/values/strings.xml @@ -123,5 +123,7 @@ %1$.1f U/h (%2$d min remaining) ^\\d{6} Invalid pump history data detected. Open new issue and provide logs. + RL Stats + Type: \ No newline at end of file diff --git a/omnipod-dash/src/main/res/layout/omnipod_dash_pod_history_activity.xml b/omnipod-dash/src/main/res/layout/omnipod_dash_pod_history_activity.xml index be8a49d07a..fba452e2a2 100644 --- a/omnipod-dash/src/main/res/layout/omnipod_dash_pod_history_activity.xml +++ b/omnipod-dash/src/main/res/layout/omnipod_dash_pod_history_activity.xml @@ -29,7 +29,7 @@ + - \ No newline at end of file + diff --git a/rileylink/src/main/res/layout/rileylink_status.xml b/rileylink/src/main/res/layout/rileylink_status.xml index d73f137bcb..42882d46de 100644 --- a/rileylink/src/main/res/layout/rileylink_status.xml +++ b/rileylink/src/main/res/layout/rileylink_status.xml @@ -5,7 +5,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" - tools:context="info.nightscout.androidaps.plugins.pump.common.hw.rileylink.dialog.RileyLinkStatusActivity"> - + - - diff --git a/rileylink/src/main/res/layout/rileylink_status_device.xml b/rileylink/src/main/res/layout/rileylink_status_device.xml index f56c4b0d6d..e8d1a63552 100644 --- a/rileylink/src/main/res/layout/rileylink_status_device.xml +++ b/rileylink/src/main/res/layout/rileylink_status_device.xml @@ -2,7 +2,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".plugins.pump.medtronic.dialog.RileyLinkStatusDevice"> + tools:context="info.nightscout.androidaps.plugins.pump.common.hw.rileylink.dialog.RileyLinkStatusDevice"> + - \ No newline at end of file + diff --git a/rileylink/src/main/res/layout/rileylink_status_device_item.xml b/rileylink/src/main/res/layout/rileylink_status_device_item.xml index e8a81fbc6f..f37596f31f 100644 --- a/rileylink/src/main/res/layout/rileylink_status_device_item.xml +++ b/rileylink/src/main/res/layout/rileylink_status_device_item.xml @@ -1,25 +1,27 @@ + android:orientation="horizontal" + android:paddingStart="15dp" + android:paddingEnd="0dp"> + android:textSize="12sp" + tools:text="Command" /> + android:textSize="12sp" + tools:text="Description" /> - \ No newline at end of file + diff --git a/rileylink/src/main/res/layout/rileylink_status_history.xml b/rileylink/src/main/res/layout/rileylink_status_history.xml index 3a44c3a8e8..21a37379cb 100644 --- a/rileylink/src/main/res/layout/rileylink_status_history.xml +++ b/rileylink/src/main/res/layout/rileylink_status_history.xml @@ -12,17 +12,15 @@ + android:layout_height="fill_parent"/> - \ No newline at end of file + diff --git a/rileylink/src/main/res/layout/rileylink_status_history_item.xml b/rileylink/src/main/res/layout/rileylink_status_history_item.xml index 1a9a7a61c2..4e522c8899 100644 --- a/rileylink/src/main/res/layout/rileylink_status_history_item.xml +++ b/rileylink/src/main/res/layout/rileylink_status_history_item.xml @@ -1,33 +1,34 @@ - + android:orientation="horizontal" + android:paddingStart="20dp" + android:paddingEnd="0dp"> + android:textSize="12sp" + tools:text="Date" /> + android:textSize="12sp" + tools:text="Source" /> + android:textSize="12sp" + tools:text="Description" /> - \ No newline at end of file +