AndroidAPS/app/src/main/res/layout/number_picker_layout_vertical.xml

43 lines
1.4 KiB
XML
Raw Normal View History

2019-11-28 21:58:07 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-02-23 19:05:55 +01:00
xmlns:tools="http://schemas.android.com/tools"
2019-11-28 21:58:07 +01:00
android:layout_width="60dp"
android:layout_height="100dp"
android:background="@drawable/background_darkgray"
android:orientation="vertical">
<Button
android:id="@+id/increment"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@null"
android:padding="0dp"
android:text="+"
android:textColor="@color/mdtp_white"
2022-02-23 19:05:55 +01:00
android:textSize="25sp"
tools:ignore="HardcodedText" />
2019-11-28 21:58:07 +01:00
<EditText
android:id="@+id/display"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/border_gray"
android:gravity="center"
android:imeOptions="actionDone"
android:inputType="number"
android:text="1"
2022-02-23 19:05:55 +01:00
android:textColor="@android:color/black"
tools:ignore="HardcodedText" />
2019-11-28 21:58:07 +01:00
<Button
android:id="@+id/decrement"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@null"
android:padding="0dp"
2022-02-23 19:05:55 +01:00
android:text="-"
2019-11-28 21:58:07 +01:00
android:textColor="@color/mdtp_white"
2022-02-23 19:05:55 +01:00
android:textStyle="bold"
tools:ignore="HardcodedText" />
2019-11-28 21:58:07 +01:00
</LinearLayout>