From 3b1d96ecc96b9349b88f6babc818dc70a55c73f8 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 8 Apr 2019 17:03:18 +0200 Subject: [PATCH] LINT: xml --- app/src/main/AndroidManifest.xml | 63 ++++++++++--------- .../res/layout/activity_insight_alert.xml | 1 - .../activity_insight_pairing_information.xml | 1 - .../main/res/layout/activity_logsetting.xml | 2 +- app/src/main/res/layout/activity_main.xml | 1 - app/src/main/res/layout/bgsource_fragment.xml | 1 - .../careportal_newnstreatment_dialog.xml | 1 - .../res/layout/careportal_stats_fragment.xml | 1 - .../careportal_stats_fragment_short.xml | 1 - .../res/layout/configbuilder_fragment.xml | 1 - app/src/main/res/layout/insulin_fragment.xml | 1 - .../res/layout/nsclientinternal_fragment.xml | 1 - .../layout/overview_calibration_dialog.xml | 1 - .../res/layout/overview_newcarbs_dialog.xml | 1 - .../overview_newextendedbolus_dialog.xml | 1 - .../layout/overview_newtempbasal_dialog.xml | 1 - .../layout/overview_newtreatment_dialog.xml | 1 - .../layout/overview_quickwizardlist_item.xml | 1 - app/src/main/res/layout/spinner_centered.xml | 2 +- .../main/res/layout/timelistedit_element.xml | 1 - app/src/main/res/xml/filepaths.xml | 2 +- app/src/main/res/xml/pref_others.xml | 24 +++---- logo/drawing.svg | 20 ++---- logo/logo_androidaps.svg | 2 +- logo/pattern.svg | 2 +- .../main/res/layout/rect_activity_home_2.xml | 8 +-- wear/src/main/res/layout/rect_steampunk.xml | 2 +- .../main/res/layout/round_activity_home_2.xml | 8 +-- wear/src/main/res/layout/round_steampunk.xml | 2 +- wear/src/main/res/xml/watch_face.xml | 2 +- 30 files changed, 65 insertions(+), 91 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 606a7d3dea..eae2a84dd2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -38,6 +38,7 @@ + @@ -175,57 +176,57 @@ + android:pathPrefix="/nightscout_watch_data" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_data_resend" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_cancel_bolus" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_confirmactionstring" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_initiateactionstring" + android:scheme="wear" /> + android:pathPrefix="/openwearsettings" + android:scheme="wear" /> + android:pathPrefix="/sendstatustowear" + android:scheme="wear" /> + android:pathPrefix="/sendpreferencestowear" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_basal" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_bolusprogress" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_actionconfirmationrequest" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_changeconfirmationrequest" + android:scheme="wear" /> + android:pathPrefix="/nightscout_watch_cancelnotificationrequest" + android:scheme="wear" /> - + + android:label="@string/insight_pairing" + android:theme="@style/AppTheme" /> + android:label="@string/pairing_information" + android:theme="@style/AppTheme" /> diff --git a/app/src/main/res/layout/activity_insight_alert.xml b/app/src/main/res/layout/activity_insight_alert.xml index 043fbaebe3..6bc3dc1565 100644 --- a/app/src/main/res/layout/activity_insight_alert.xml +++ b/app/src/main/res/layout/activity_insight_alert.xml @@ -1,6 +1,5 @@ diff --git a/app/src/main/res/layout/activity_logsetting.xml b/app/src/main/res/layout/activity_logsetting.xml index 41ca05f95f..feee7bd38a 100644 --- a/app/src/main/res/layout/activity_logsetting.xml +++ b/app/src/main/res/layout/activity_logsetting.xml @@ -21,7 +21,7 @@ android:id="@+id/logsettings_placeholder" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" /> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index c0f382fbb8..94d7917e06 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,7 +1,6 @@ \ No newline at end of file + android:textColor="#FFFFFF" /> \ No newline at end of file diff --git a/app/src/main/res/layout/timelistedit_element.xml b/app/src/main/res/layout/timelistedit_element.xml index c65fc0855b..b9e473d34e 100644 --- a/app/src/main/res/layout/timelistedit_element.xml +++ b/app/src/main/res/layout/timelistedit_element.xml @@ -1,5 +1,4 @@ - + \ No newline at end of file diff --git a/app/src/main/res/xml/pref_others.xml b/app/src/main/res/xml/pref_others.xml index 5d3b365cb6..cbe2b9c705 100644 --- a/app/src/main/res/xml/pref_others.xml +++ b/app/src/main/res/xml/pref_others.xml @@ -9,49 +9,49 @@ android:defaultValue="0" android:inputType="number" android:key="@string/key_eatingsoon_duration" - android:title="@string/eatingsoon_duration"> + android:title="@string/eatingsoon_duration" /> + android:title="@string/eatingsoon_target" /> + android:title="@string/activity_duration" /> + android:title="@string/activity_target" /> + android:title="@string/hypo_duration" /> + android:title="@string/hypo_target" /> + android:title="@string/button1" /> + android:title="@string/button2" /> + android:title="@string/button3" /> + android:title="@string/low_mark" /> + android:title="@string/high_mark" /> + android:title="@string/nsalarm_staledatavalue_label" /> - + - + android:orientation="horizontal" /> + android:orientation="horizontal" /> + android:orientation="horizontal" /> + android:orientation="horizontal" /> diff --git a/wear/src/main/res/layout/rect_steampunk.xml b/wear/src/main/res/layout/rect_steampunk.xml index 832c27d005..03bad38d4d 100644 --- a/wear/src/main/res/layout/rect_steampunk.xml +++ b/wear/src/main/res/layout/rect_steampunk.xml @@ -322,7 +322,7 @@ android:layout_width="match_parent" android:layout_height="0px" android:layout_weight="0.64" - android:orientation="horizontal"> + android:orientation="horizontal" /> diff --git a/wear/src/main/res/layout/round_activity_home_2.xml b/wear/src/main/res/layout/round_activity_home_2.xml index 837dc979e3..6643bc068c 100644 --- a/wear/src/main/res/layout/round_activity_home_2.xml +++ b/wear/src/main/res/layout/round_activity_home_2.xml @@ -228,7 +228,7 @@ android:layout_width="0px" android:layout_height="match_parent" android:layout_weight="1" - android:orientation="horizontal"> + android:orientation="horizontal" /> + android:orientation="horizontal" /> + android:orientation="horizontal" /> + android:orientation="horizontal" /> diff --git a/wear/src/main/res/layout/round_steampunk.xml b/wear/src/main/res/layout/round_steampunk.xml index 894164db00..c82caa2d4b 100644 --- a/wear/src/main/res/layout/round_steampunk.xml +++ b/wear/src/main/res/layout/round_steampunk.xml @@ -322,7 +322,7 @@ android:layout_width="match_parent" android:layout_height="0px" android:layout_weight="0.64" - android:orientation="horizontal"> + android:orientation="horizontal" /> diff --git a/wear/src/main/res/xml/watch_face.xml b/wear/src/main/res/xml/watch_face.xml index 699f0562ca..fe99dc6cdf 100644 --- a/wear/src/main/res/xml/watch_face.xml +++ b/wear/src/main/res/xml/watch_face.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file