SubwayTooter-Android-App/app/src/main/res/layout/dlg_text_input.xml

50 lines
1.8 KiB
XML
Raw Normal View History

2017-07-31 06:30:45 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-10-06 13:23:33 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2017-07-31 06:30:45 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-06 13:23:33 +02:00
android:orientation="vertical">
2017-07-31 06:30:45 +02:00
<TextView
2019-10-06 13:23:33 +02:00
android:id="@+id/tvCaption"
2017-07-31 06:30:45 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginTop="12dp"
2019-10-06 13:23:33 +02:00
android:layout_marginEnd="12dp"
android:labelFor="@+id/etInput"
2019-10-06 13:23:33 +02:00
tools:ignore="LabelFor" />
2017-07-31 06:30:45 +02:00
<EditText
android:id="@+id/etInput"
2017-07-31 06:30:45 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
2019-10-06 13:23:33 +02:00
android:layout_marginEnd="12dp"
2017-07-31 06:30:45 +02:00
android:imeOptions="actionDone"
2019-10-06 13:23:33 +02:00
android:importantForAutofill="no"
android:inputType="text" />
2017-07-31 06:30:45 +02:00
<LinearLayout
style="?android:attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-06 13:23:33 +02:00
android:orientation="horizontal">
2017-07-31 06:30:45 +02:00
<Button
android:id="@+id/btnCancel"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2019-10-06 13:23:33 +02:00
android:text="@string/cancel" />
2017-07-31 06:30:45 +02:00
<Button
android:id="@+id/btnOk"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2019-10-06 13:23:33 +02:00
android:text="@string/ok" />
2017-07-31 06:30:45 +02:00
</LinearLayout>
</LinearLayout>