layouts -> AppCompat

This commit is contained in:
Milos Kozak 2020-10-19 19:24:33 +02:00
parent 154d2af774
commit fe5cc3d334
46 changed files with 138 additions and 108 deletions

View file

@ -1,6 +1,5 @@
package info.nightscout.androidaps.plugins.constraints.objectives package info.nightscout.androidaps.plugins.constraints.objectives
import android.app.Activity
import androidx.fragment.app.FragmentActivity import androidx.fragment.app.FragmentActivity
import com.google.common.base.Charsets import com.google.common.base.Charsets
import com.google.common.hash.Hashing import com.google.common.hash.Hashing

View file

@ -1,7 +1,7 @@
package info.nightscout.androidaps.plugins.general.maintenance package info.nightscout.androidaps.plugins.general.maintenance
import android.Manifest import android.Manifest
import android.app.Activity import androidx.appcompat.app.AppCompatActivity
import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothAdapter
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
@ -344,7 +344,7 @@ class ImportExportPrefs @Inject constructor(
show(context, resourceHelper.gs(R.string.setting_imported), resourceHelper.gs(R.string.restartingapp), Runnable { show(context, resourceHelper.gs(R.string.setting_imported), resourceHelper.gs(R.string.restartingapp), Runnable {
log.debug(TAG, "Exiting") log.debug(TAG, "Exiting")
rxBus.send(EventAppExit()) rxBus.send(EventAppExit())
if (context is Activity) { if (context is AppCompatActivity) {
context.finish() context.finish()
} }
System.runFinalization() System.runFinalization()

View file

@ -31,7 +31,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="@string/exit" android:text="@string/exit"
android:onClick="exitPressed" android:onClick="exitPressed"
android:textAppearance="@android:style/TextAppearance.Material.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>

View file

@ -36,7 +36,7 @@
android:id="@+id/automation_action_image" android:id="@+id/automation_action_image"
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:src="@drawable/ic_action_orange_48dp" /> app:srcCompat="@drawable/ic_action_orange_48dp" />
<TextView <TextView
android:id="@+id/automation_viewActionTitle" android:id="@+id/automation_viewActionTitle"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/action" android:contentDescription="@string/action"
android:src="@drawable/ic_action_orange_48dp" /> app:srcCompat="@drawable/ic_action_orange_48dp" />
<TextView <TextView
android:id="@+id/automation_actionTitle" android:id="@+id/automation_actionTitle"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/please_choose_an_action_type" android:contentDescription="@string/please_choose_an_action_type"
android:src="@drawable/ic_action_orange_48dp" /> app:srcCompat="@drawable/ic_action_orange_48dp" />
<TextView <TextView
android:id="@+id/actions_care_title" android:id="@+id/actions_care_title"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/please_choose_a_trigger_type" android:contentDescription="@string/please_choose_a_trigger_type"
android:src="@drawable/ic_trigger_green_48dp" /> app:srcCompat="@drawable/ic_trigger_green_48dp" />
<TextView <TextView
android:id="@+id/actions_care_title" android:id="@+id/actions_care_title"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/triggers" android:contentDescription="@string/triggers"
android:src="@drawable/ic_trigger_green_48dp" /> app:srcCompat="@drawable/ic_trigger_green_48dp" />
<TextView <TextView
android:id="@+id/automation_actionTitle" android:id="@+id/automation_actionTitle"

View file

@ -26,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/automation" android:contentDescription="@string/automation"
android:src="@drawable/ic_action_orange_48dp" /> app:srcCompat="@drawable/ic_action_orange_48dp" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -69,7 +69,7 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:src="@drawable/ic_trigger_green_48dp" /> app:srcCompat="@drawable/ic_trigger_green_48dp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -132,7 +132,7 @@
android:layout_width="24dp" android:layout_width="24dp"
android:layout_height="24dp" android:layout_height="24dp"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:src="@drawable/ic_action_orange_48dp" /> app:srcCompat="@drawable/ic_action_orange_48dp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View file

@ -42,7 +42,7 @@
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:contentDescription="@string/reorder_label" android:contentDescription="@string/reorder_label"
android:orientation="horizontal" android:orientation="horizontal"
android:src="@drawable/ic_reorder_gray_24dp" /> app:srcCompat="@drawable/ic_reorder_gray_24dp" />
<LinearLayout <LinearLayout
android:id="@+id/iconLayout" android:id="@+id/iconLayout"

View file

@ -40,7 +40,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:src="@drawable/ic_flat" /> card_view:srcCompat="@drawable/ic_flat" />
<TextView <TextView
android:id="@+id/ns_sign" android:id="@+id/ns_sign"

View file

@ -52,7 +52,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="16dp" android:layout_marginLeft="16dp"
android:layout_marginRight="16dp" android:layout_marginRight="16dp"
android:background="?android:selectableItemBackgroundBorderless" android:background="?attr/selectableItemBackgroundBorderless"
app:srcCompat="@drawable/ic_settings" /> app:srcCompat="@drawable/ic_settings" />
<CheckBox <CheckBox

View file

@ -12,7 +12,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/event_time_label" android:text="@string/event_time_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -26,7 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/overview_calibration" android:contentDescription="@string/overview_calibration"
android:src="@drawable/ic_calibration" /> app:srcCompat="@drawable/ic_calibration" />
<TextView <TextView
android:id="@+id/actions_care_title" android:id="@+id/actions_care_title"
@ -63,7 +64,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/treatments_wizard_bg_label" android:text="@string/treatments_wizard_bg_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/carbs" android:contentDescription="@string/carbs"
android:src="@drawable/ic_cp_bolus_carbs" /> app:srcCompat="@drawable/ic_cp_bolus_carbs" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -86,7 +87,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/time_offset" android:text="@string/time_offset"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker
@ -119,7 +120,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -152,7 +153,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/overview_carbs_label" android:text="@string/overview_carbs_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -26,7 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/careportal_profileswitch" android:contentDescription="@string/careportal_profileswitch"
android:src="@drawable/ic_actions_profileswitch" /> app:srcCompat="@drawable/ic_actions_profileswitch" />
<TextView <TextView
android:id="@+id/actions_care_title" android:id="@+id/actions_care_title"
@ -91,7 +92,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/treatments_wizard_bg_label" android:text="@string/treatments_wizard_bg_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -126,7 +127,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/virtualpump_extendedbolus_label" android:contentDescription="@string/virtualpump_extendedbolus_label"
android:src="@drawable/ic_actions_startextbolus" /> app:srcCompat="@drawable/ic_actions_startextbolus" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -58,7 +59,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/overview_insulin_label" android:text="@string/overview_insulin_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -91,7 +92,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/primefill" android:contentDescription="@string/primefill"
android:src="@drawable/ic_cp_pump_canula" /> app:srcCompat="@drawable/ic_cp_pump_canula" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/overview_insulin_label" android:contentDescription="@string/overview_insulin_label"
android:src="@drawable/ic_bolus" /> app:srcCompat="@drawable/ic_bolus" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -81,7 +82,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/time" android:text="@string/time"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -114,7 +115,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/overview_insulin_label" android:text="@string/overview_insulin_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/careportal_profileswitch" android:contentDescription="@string/careportal_profileswitch"
android:src="@drawable/ic_actions_profileswitch" /> app:srcCompat="@drawable/ic_actions_profileswitch" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -59,7 +60,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker
@ -92,7 +93,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_profile_label" android:text="@string/careportal_newnstreatment_profile_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<Spinner <Spinner
@ -117,7 +118,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="" android:text=""
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<Button <Button
@ -151,7 +152,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_percentage_label" android:text="@string/careportal_newnstreatment_percentage_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -184,7 +185,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_timeshift_label" android:text="@string/careportal_newnstreatment_timeshift_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/tempbasal_label" android:contentDescription="@string/tempbasal_label"
android:src="@drawable/ic_cp_basal_start" /> app:srcCompat="@drawable/ic_cp_basal_start" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -59,7 +60,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/basal_rate" android:text="@string/basal_rate"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -93,7 +94,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/basal_rate" android:text="@string/basal_rate"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -126,7 +127,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/careportal_temporarytarget" android:contentDescription="@string/careportal_temporarytarget"
android:src="@drawable/ic_actions_temptarget" /> app:srcCompat="@drawable/ic_actions_temptarget" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -59,7 +60,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/reason" android:text="@string/reason"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<Spinner <Spinner
@ -82,7 +83,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/target_label" android:text="@string/target_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -117,7 +118,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_duration_label" android:text="@string/careportal_newnstreatment_duration_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.MinutesNumberPicker <info.nightscout.androidaps.utils.ui.MinutesNumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/overview_treatment_label" android:contentDescription="@string/overview_treatment_label"
android:src="@drawable/ic_bolus" /> app:srcCompat="@drawable/ic_bolus" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -73,7 +74,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/overview_insulin_label" android:text="@string/overview_insulin_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -106,7 +107,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/overview_carbs_label" android:text="@string/overview_carbs_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:contentDescription="@string/boluswizard" android:contentDescription="@string/boluswizard"
android:src="@drawable/ic_calculator" /> app:srcCompat="@drawable/ic_calculator" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@ -62,7 +63,7 @@
android:layout_weight="1" android:layout_weight="1"
android:padding="10dp" android:padding="10dp"
android:text="@string/treatments_wizard_bg_label" android:text="@string/treatments_wizard_bg_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -92,7 +93,7 @@
android:layout_weight="1" android:layout_weight="1"
android:padding="10dp" android:padding="10dp"
android:text="@string/treatments_wizard_carbs_label" android:text="@string/treatments_wizard_carbs_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -123,7 +124,7 @@
android:layout_weight="1" android:layout_weight="1"
android:padding="10dp" android:padding="10dp"
android:text="@string/treatments_wizard_correction_label" android:text="@string/treatments_wizard_correction_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -153,7 +154,7 @@
android:layout_weight="1" android:layout_weight="1"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_carbtime_label" android:text="@string/careportal_newnstreatment_carbtime_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<info.nightscout.androidaps.utils.ui.NumberPicker <info.nightscout.androidaps.utils.ui.NumberPicker
@ -186,7 +187,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_profile_label" android:text="@string/careportal_newnstreatment_profile_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<Spinner <Spinner
@ -252,7 +253,7 @@
android:labelFor="@+id/treatment_wizard_notes" android:labelFor="@+id/treatment_wizard_notes"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_notes_label" android:text="@string/careportal_newnstreatment_notes_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<EditText <EditText
@ -289,7 +290,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/show_calculation" android:contentDescription="@string/show_calculation"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:src="@drawable/ic_visibility" /> app:srcCompat="@drawable/ic_visibility" />
<Button <Button
android:id="@+id/cancel" android:id="@+id/cancel"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/carbs" android:contentDescription="@string/carbs"
android:src="@drawable/ic_calculator" /> app:srcCompat="@drawable/ic_calculator" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableRow xmlns:android="http://schemas.android.com/apk/res/android" <TableRow xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -10,7 +11,7 @@
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="20dp" android:layout_height="20dp"
android:layout_margin="4dp" android:layout_margin="4dp"
android:src="@drawable/ic_toast_check" /> app:srcCompat="@drawable/ic_toast_check" />
<ImageView <ImageView
android:id="@+id/summary_icon" android:id="@+id/summary_icon"
@ -19,7 +20,7 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:src="@drawable/ic_meta_format" app:srcCompat="@drawable/ic_meta_format"
android:tint="#ffffff" /> android:tint="#ffffff" />
<TextView <TextView

View file

@ -1,4 +1,5 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -63,7 +64,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:contentDescription="@string/addnew" android:contentDescription="@string/addnew"
android:src="@drawable/ic_add" /> app:srcCompat="@drawable/ic_add" />
<ImageView <ImageView
android:id="@+id/localprofile_profile_clone" android:id="@+id/localprofile_profile_clone"
@ -72,7 +73,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
android:contentDescription="@string/clone_label" android:contentDescription="@string/clone_label"
android:src="@drawable/ic_clone" /> app:srcCompat="@drawable/ic_clone" />
<ImageView <ImageView
android:id="@+id/localprofile_profile_remove" android:id="@+id/localprofile_profile_remove"
@ -83,7 +84,7 @@
android:contentDescription="@string/remove_label" android:contentDescription="@string/remove_label"
android:scaleX="1" android:scaleX="1"
android:scaleY="1" android:scaleY="1"
android:src="@drawable/ic_remove" /> app:srcCompat="@drawable/ic_remove" />
</LinearLayout> </LinearLayout>

View file

@ -28,7 +28,7 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:layout_marginBottom="1dp" android:layout_marginBottom="1dp"
android:src="@drawable/ic_meta_format" card_view:srcCompat="@drawable/ic_meta_format"
android:tint="@color/importListFileName" /> android:tint="@color/importListFileName" />
<TextView <TextView
@ -89,7 +89,7 @@
android:layout_marginTop="1dp" android:layout_marginTop="1dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginBottom="1dp" android:layout_marginBottom="1dp"
android:src="@drawable/ic_meta_name" card_view:srcCompat="@drawable/ic_meta_name"
android:tint="@color/importListAdditionalInfo" /> android:tint="@color/importListAdditionalInfo" />
<TextView <TextView
@ -121,7 +121,7 @@
android:layout_marginTop="1dp" android:layout_marginTop="1dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginBottom="1dp" android:layout_marginBottom="1dp"
android:src="@drawable/ic_meta_date" card_view:srcCompat="@drawable/ic_meta_date"
android:tint="@color/importListAdditionalInfo" /> android:tint="@color/importListAdditionalInfo" />
<TextView <TextView

View file

@ -13,7 +13,7 @@
android:width="120dp" android:width="120dp"
android:padding="10dp" android:padding="10dp"
android:text="@string/careportal_newnstreatment_notes_label" android:text="@string/careportal_newnstreatment_notes_label"
android:textAppearance="@android:style/TextAppearance.Material.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="bold" /> android:textStyle="bold" />
<EditText <EditText

View file

@ -18,7 +18,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_buttontext" android:text="@string/overview_editquickwizard_buttontext"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<EditText <EditText
android:id="@+id/overview_editquickwizard_button_edit" android:id="@+id/overview_editquickwizard_button_edit"
@ -31,7 +31,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_carbs" android:text="@string/overview_editquickwizard_carbs"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<EditText <EditText
android:id="@+id/overview_editquickwizard_carbs_edit" android:id="@+id/overview_editquickwizard_carbs_edit"
@ -44,7 +44,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_valid" android:text="@string/overview_editquickwizard_valid"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -70,7 +70,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usebg" android:text="@string/overview_editquickwizard_usebg"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usebg_spinner" android:id="@+id/overview_editquickwizard_usebg_spinner"
@ -82,7 +82,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usebolusiob" android:text="@string/overview_editquickwizard_usebolusiob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usebolusiob_spinner" android:id="@+id/overview_editquickwizard_usebolusiob_spinner"
@ -94,7 +94,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usebasaliob" android:text="@string/overview_editquickwizard_usebasaliob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usebasaliob_spinner" android:id="@+id/overview_editquickwizard_usebasaliob_spinner"
@ -106,7 +106,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usecob" android:text="@string/overview_editquickwizard_usecob"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usecob_spinner" android:id="@+id/overview_editquickwizard_usecob_spinner"
@ -118,7 +118,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usetrend" android:text="@string/overview_editquickwizard_usetrend"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usetrend_spinner" android:id="@+id/overview_editquickwizard_usetrend_spinner"
@ -130,7 +130,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usesuperbolus" android:text="@string/overview_editquickwizard_usesuperbolus"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usesuperbolus_spinner" android:id="@+id/overview_editquickwizard_usesuperbolus_spinner"
@ -142,7 +142,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/overview_editquickwizard_usetemptarget" android:text="@string/overview_editquickwizard_usetemptarget"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<Spinner <Spinner
android:id="@+id/overview_editquickwizard_usetemptarget_spinner" android:id="@+id/overview_editquickwizard_usetemptarget_spinner"

View file

@ -50,7 +50,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:paddingTop="18dp" android:paddingTop="18dp"
android:src="@drawable/ic_flat" /> app:srcCompat="@drawable/ic_flat" />
<TextView <TextView
android:id="@+id/overview_deltashort" android:id="@+id/overview_deltashort"

View file

@ -28,7 +28,7 @@
app:layout_constraintStart_toEndOf="@+id/overview_bg" app:layout_constraintStart_toEndOf="@+id/overview_bg"
app:layout_constraintTop_toTopOf="@+id/overview_bg" app:layout_constraintTop_toTopOf="@+id/overview_bg"
android:paddingTop="18dp" android:paddingTop="18dp"
android:src="@drawable/ic_flat" /> app:srcCompat="@drawable/ic_flat" />
<LinearLayout <LinearLayout
android:id="@+id/overview_deltas_llayout" android:id="@+id/overview_deltas_llayout"
@ -121,7 +121,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginBottom="-4dp" android:layout_marginBottom="-4dp"
android:src="@drawable/ic_loop_closed" /> app:srcCompat="@drawable/ic_loop_closed" />
<TextView <TextView
android:id="@+id/overview_apsmode_text" android:id="@+id/overview_apsmode_text"
@ -150,7 +150,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:src="@drawable/ic_bolus" /> app:srcCompat="@drawable/ic_bolus" />
<TextView <TextView
android:id="@+id/overview_iob" android:id="@+id/overview_iob"
@ -208,7 +208,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:src="@drawable/ic_cp_basal_no_tbr" /> app:srcCompat="@drawable/ic_cp_basal_no_tbr" />
<TextView <TextView
android:id="@+id/overview_basebasal" android:id="@+id/overview_basebasal"
@ -236,7 +236,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:src="@drawable/ic_actions_startextbolus" /> app:srcCompat="@drawable/ic_actions_startextbolus" />
<TextView <TextView
android:id="@+id/overview_extendedbolus" android:id="@+id/overview_extendedbolus"
@ -265,7 +265,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:src="@drawable/ic_swap_vert_black_48dp_green" /> app:srcCompat="@drawable/ic_swap_vert_black_48dp_green" />
<TextView <TextView
android:id="@+id/overview_sensitivity" android:id="@+id/overview_sensitivity"

View file

@ -46,7 +46,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:text="Sample button text" android:text="Sample button text"
android:textAppearance="@android:style/TextAppearance.Material.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="normal|bold" android:textStyle="normal|bold"
android:textColor="@color/cardObjectiveText" /> android:textColor="@color/cardObjectiveText" />
@ -56,7 +56,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:text="36g" android:text="36g"
android:textAppearance="@android:style/TextAppearance.Material.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="@color/cardObjectiveText" android:textColor="@color/cardObjectiveText"
android:textStyle="normal|bold" /> android:textStyle="normal|bold" />
@ -75,7 +75,7 @@
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:paddingRight="5dp" android:paddingRight="5dp"
android:text="@string/overview_editquickwizard_valid" android:text="@string/overview_editquickwizard_valid"
android:textAppearance="@android:style/TextAppearance.Material.Medium" /> android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
<TextView <TextView
android:id="@+id/overview_quickwizard_item_from" android:id="@+id/overview_quickwizard_item_from"
@ -84,7 +84,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:paddingRight="10dp" android:paddingRight="10dp"
android:text="07:45" android:text="07:45"
android:textAppearance="@android:style/TextAppearance.Material.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="normal|bold" /> android:textStyle="normal|bold" />
<TextView <TextView
@ -99,7 +99,7 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:text="11:45" android:text="11:45"
android:textAppearance="@android:style/TextAppearance.Material.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="normal|bold" /> android:textStyle="normal|bold" />
</LinearLayout> </LinearLayout>

View file

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/overview_statuslights" android:id="@+id/overview_statuslights"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="3dp" android:layout_marginTop="3dp"
android:layout_marginBottom="3dp" android:layout_marginBottom="3dp"
android:background="?android:attr/colorControlHighlight" android:background="?attr/colorControlHighlight"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingTop="4dp" android:paddingTop="4dp"
android:paddingBottom="4dp"> android:paddingBottom="4dp">
@ -18,7 +19,7 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:scaleX="2" android:scaleX="2"
android:scaleY="2" android:scaleY="2"
android:src="@drawable/ic_cp_age_canula" /> app:srcCompat="@drawable/ic_cp_age_canula" />
<TextView <TextView
android:id="@+id/careportal_canulaage" android:id="@+id/careportal_canulaage"
@ -37,7 +38,7 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:scaleX="1.8" android:scaleX="1.8"
android:scaleY="1.8" android:scaleY="1.8"
android:src="@drawable/ic_cp_age_insulin" /> app:srcCompat="@drawable/ic_cp_age_insulin" />
<TextView <TextView
android:id="@+id/careportal_insulinage" android:id="@+id/careportal_insulinage"
@ -63,7 +64,7 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:scaleX="2" android:scaleX="2"
android:scaleY="2" android:scaleY="2"
android:src="@drawable/ic_cp_age_sensor" /> app:srcCompat="@drawable/ic_cp_age_sensor" />
<TextView <TextView
android:id="@+id/careportal_sensorage" android:id="@+id/careportal_sensorage"
@ -82,7 +83,7 @@
android:scaleType="centerInside" android:scaleType="centerInside"
android:scaleX="2" android:scaleX="2"
android:scaleY="2" android:scaleY="2"
android:src="@drawable/ic_cp_age_battery" /> app:srcCompat="@drawable/ic_cp_age_battery" />
<TextView <TextView
android:id="@+id/careportal_pbage" android:id="@+id/careportal_pbage"

View file

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout 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_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@ -37,7 +38,7 @@
android:layout_height="35dp" android:layout_height="35dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:src="@drawable/ic_add" /> app:srcCompat="@drawable/ic_add" />
<ImageView <ImageView
android:id="@+id/timelistedit_remove" android:id="@+id/timelistedit_remove"
@ -45,5 +46,5 @@
android:layout_height="35dp" android:layout_height="35dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:src="@drawable/ic_remove" /> app:srcCompat="@drawable/ic_remove" />
</LinearLayout> </LinearLayout>

View file

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout 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_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@ -37,7 +38,7 @@
android:layout_height="35dp" android:layout_height="35dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:src="@drawable/ic_add" /> app:srcCompat="@drawable/ic_add" />
<ImageView <ImageView
android:id="@+id/timelistedit_remove" android:id="@+id/timelistedit_remove"
@ -45,5 +46,5 @@
android:layout_height="35dp" android:layout_height="35dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp" android:layout_marginLeft="15dp"
android:src="@drawable/ic_remove" /> app:srcCompat="@drawable/ic_remove" />
</LinearLayout> </LinearLayout>

View file

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -18,7 +19,7 @@
android:id="@+id/header_icon" android:id="@+id/header_icon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:src="@drawable/ic_trending_flat_white_48dp" /> app:srcCompat="@drawable/ic_trending_flat_white_48dp" />
<TextView <TextView
android:id="@+id/overview_bolusprogress_title" android:id="@+id/overview_bolusprogress_title"

View file

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -17,7 +18,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/error" android:contentDescription="@string/error"
android:src="@drawable/ic_error_red_48dp" /> app:srcCompat="@drawable/ic_error_red_48dp" />
<TextView <TextView
android:id="@+id/error_title" android:id="@+id/error_title"

View file

@ -1,4 +1,5 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -25,7 +26,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:src="@drawable/ic_home_profile" /> app:srcCompat="@drawable/ic_home_profile" />
<TextView <TextView
android:id="@+id/profileview_activeprofile" android:id="@+id/profileview_activeprofile"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -13,7 +14,7 @@
android:layout_marginLeft="6dp" android:layout_marginLeft="6dp"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
android:src="@drawable/ic_toast_check" app:srcCompat="@drawable/ic_toast_check"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
<TextView <TextView

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
@ -20,7 +21,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/pumphistory" android:contentDescription="@string/pumphistory"
android:src="@drawable/ic_danarhistory" /> app:srcCompat="@drawable/ic_danarhistory" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,4 +1,5 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -26,7 +27,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/danar_pump_settings" android:contentDescription="@string/danar_pump_settings"
android:src="@drawable/ic_danar_useropt" /> app:srcCompat="@drawable/ic_danar_useropt" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -18,7 +19,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/danars_pairing" android:contentDescription="@string/danars_pairing"
android:src="@drawable/ic_bluetooth_white_48dp" /> app:srcCompat="@drawable/ic_bluetooth_white_48dp" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -18,7 +19,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/pairing" android:contentDescription="@string/pairing"
android:src="@drawable/ic_bluetooth_white_48dp" /> app:srcCompat="@drawable/ic_bluetooth_white_48dp" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -17,7 +18,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/pairing" android:contentDescription="@string/pairing"
android:src="@drawable/ic_bluetooth_white_48dp" /> app:srcCompat="@drawable/ic_bluetooth_white_48dp" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout 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_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
@ -28,7 +29,7 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/omnipod_wizard_vertical_spacing" android:layout_marginTop="@dimen/omnipod_wizard_vertical_spacing"
android:layout_marginBottom="@dimen/omnipod_wizard_vertical_spacing" android:layout_marginBottom="@dimen/omnipod_wizard_vertical_spacing"
android:src="@drawable/ic_toast_check" app:srcCompat="@drawable/ic_toast_check"
android:visibility="gone" /> android:visibility="gone" />
<TextView <TextView