habitica-android/Habitica/res/layout/fixvalues_edittext.xml

46 lines
1.9 KiB
XML
Raw Normal View History

2017-10-16 09:40:24 +00:00
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_margin="6dp"
android:background="@drawable/layout_rounded_bg"
tools:parentTag="FrameLayout">
<View
android:id="@+id/iconBackgroundView"
android:layout_width="80dp"
android:layout_height="match_parent"
2019-08-24 10:33:14 +00:00
android:layout_gravity="end"
2017-10-16 09:40:24 +00:00
android:background="@color/red_500"/>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent">
2018-11-06 15:11:02 +00:00
<com.google.android.material.textfield.TextInputLayout
2017-10-16 09:40:24 +00:00
android:id="@+id/editTextWrapper"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
2017-10-16 11:58:18 +00:00
android:background="@drawable/layout_rounded_bg_gray_700"
android:paddingTop="8dp"
2019-08-24 10:33:14 +00:00
android:paddingStart="16dp">
2020-04-22 12:52:36 +00:00
<com.google.android.material.textfield.TextInputEditText
2017-10-16 09:40:24 +00:00
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-10-18 11:19:10 +00:00
android:inputType="numberDecimal"
2017-10-16 11:58:18 +00:00
android:background="@android:color/transparent"/>
2018-11-06 15:11:02 +00:00
</com.google.android.material.textfield.TextInputLayout>
2017-10-16 09:40:24 +00:00
<ImageView
android:id="@+id/iconView"
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"/>
</LinearLayout>
2017-10-16 11:58:18 +00:00
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_gravity="bottom"
android:background="@color/gray_500"
2019-08-24 10:33:14 +00:00
android:layout_marginEnd="56dp"/>
2017-10-16 09:40:24 +00:00
</merge>