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

34 lines
1.1 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_total"
2019-11-28 21:58:07 +01:00
android:orientation="vertical">
2022-03-21 10:53:52 +01:00
<ImageButton
2019-11-28 21:58:07 +01:00
android:id="@+id/increment"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@color/transparent"
2022-03-21 10:53:52 +01:00
android:src="@drawable/ic_minus" />
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:textColor="?attr/numPickerText"
2022-03-21 10:53:52 +01:00
tools:text="1" />
2019-11-28 21:58:07 +01:00
2022-03-21 10:53:52 +01:00
<ImageButton
2019-11-28 21:58:07 +01:00
android:id="@+id/decrement"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@color/transparent"
2022-03-21 10:53:52 +01:00
android:src="@drawable/ic_plus" />
2019-11-28 21:58:07 +01:00
</LinearLayout>