Fix tools:text
This commit is contained in:
parent
40557697bd
commit
3d72982063
|
@ -59,7 +59,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
tools:text="24" />
|
||||
android:text="24"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -117,7 +117,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:lines="1"
|
||||
tools:text="-" />
|
||||
android:text="-"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/battery_level"
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="5dp"
|
||||
android:gravity="center"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="{fa-clock-o}" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="{fa-clock-o}" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/calc_time"
|
||||
|
@ -86,8 +86,8 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="5dp"
|
||||
android:gravity="center"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="{fa-clock-o}" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="{fa-clock-o}" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bolus_time"
|
||||
|
@ -143,7 +143,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bolus_pump"
|
||||
|
@ -151,7 +152,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="PH" />
|
||||
android:text="PH"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bolus_invalid"
|
||||
|
@ -188,8 +190,8 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="5dp"
|
||||
android:gravity="center"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="{fa-clock-o}" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="{fa-clock-o}" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/carbs_time"
|
||||
|
@ -234,7 +236,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/carbs_pump"
|
||||
|
@ -242,7 +245,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="PH" />
|
||||
android:text="PH"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/carbs_invalid"
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
android:gravity="center_vertical|end"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="5dp"
|
||||
tools:text="{fa-clock-o}" />
|
||||
android:text="{fa-clock-o}"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
|
@ -78,7 +79,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/invalid"
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
android:gravity="center_vertical"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="5dp"
|
||||
tools:text="{fa-clock-o}" />
|
||||
android:text="{fa-clock-o}"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
|
@ -84,7 +85,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="PH" />
|
||||
android:text="PH"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ns"
|
||||
|
@ -92,7 +94,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
android:gravity="center_vertical|end"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="5dp"
|
||||
tools:text="{fa-clock-o}" />
|
||||
android:text="{fa-clock-o}"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
|
@ -72,8 +73,8 @@
|
|||
android:paddingEnd="10dp"
|
||||
android:textAlignment="viewEnd"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="PH" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="PH" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ns"
|
||||
|
@ -81,8 +82,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingEnd="10dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="NS" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="NS" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
android:gravity="center"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="5dp"
|
||||
tools:text="{fa-clock-o}" />
|
||||
android:text="{fa-clock-o}"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
|
@ -82,8 +83,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setExtendedButtonColor"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="E" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="E" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/suspend_flag"
|
||||
|
@ -91,8 +92,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setExtendedButtonColor"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="S" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="S" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/emulated_suspend_flag"
|
||||
|
@ -100,8 +101,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setExtendedButtonColor"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="ES" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="ES" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/super_bolus_flag"
|
||||
|
@ -109,8 +110,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setExtendedButtonColor"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="SB" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="SB" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ph"
|
||||
|
@ -118,7 +119,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="PH" />
|
||||
android:text="PH"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ns"
|
||||
|
@ -126,7 +128,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -44,7 +44,8 @@
|
|||
android:gravity="center"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="5dp"
|
||||
tools:text="{fa-clock-o}" />
|
||||
android:text="{fa-clock-o}"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/time"
|
||||
|
@ -69,8 +70,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingStart="5dp"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
tools:ignore="RtlSymmetry"
|
||||
tools:text="-" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry"
|
||||
android:text="-" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/high"
|
||||
|
@ -103,7 +104,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textColor="?attr/setTempButton"
|
||||
tools:text="NS" />
|
||||
android:text="NS"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -1,50 +1,44 @@
|
|||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="2dp"
|
||||
tools:context=".plugins.general.wear.WearFragment">
|
||||
|
||||
<LinearLayout
|
||||
<TextView
|
||||
android:id="@+id/connected_device"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:text="---"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/resend"
|
||||
style="@style/GrayButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@drawable/ic_refresh"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/resend_all_data"
|
||||
android:textColor="?attr/treatmentButton" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/connected_device"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||
tools:text="---" />
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/open_settings"
|
||||
style="@style/GrayButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@drawable/ic_settings"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/open_settings_on_wear"
|
||||
android:textColor="?attr/treatmentButton" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/resend"
|
||||
style="@style/GrayButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@drawable/ic_refresh"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/resend_all_data"
|
||||
android:textColor="?attr/treatmentButton" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/open_settings"
|
||||
style="@style/GrayButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableTop="@drawable/ic_settings"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/open_settings_on_wear"
|
||||
android:textColor="?attr/treatmentButton" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
Loading…
Reference in a new issue