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

38 lines
1.5 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:app="http://schemas.android.com/apk/res-auto"
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"
android:layout_gravity="right"
android:background="@color/red_500"/>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent">
<android.support.design.widget.TextInputLayout
android:id="@+id/editTextWrapper"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:background="@drawable/layout_rounded_bg_gray_700">
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="number" />
</android.support.design.widget.TextInputLayout>
<ImageView
android:id="@+id/iconView"
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"/>
</LinearLayout>
</merge>