tachiyomi/app/src/main/res/layout/navigation_view_text.xml

31 lines
1.2 KiB
XML
Raw Normal View History

2017-01-02 12:09:23 +01:00
<?xml version="1.0" encoding="utf-8"?>
2020-02-22 00:43:50 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-01-02 12:09:23 +01:00
android:layout_width="match_parent"
2020-03-12 00:08:57 +01:00
android:layout_height="wrap_content"
android:background="@drawable/selectable_item_background"
android:baselineAligned="false"
2020-02-22 00:43:50 +01:00
android:focusable="true"
android:paddingStart="?attr/listPreferredItemPaddingStart"
android:paddingEnd="?attr/listPreferredItemPaddingEnd">
2017-01-02 12:09:23 +01:00
<com.google.android.material.textfield.TextInputLayout
2017-01-02 12:09:23 +01:00
android:id="@+id/nav_view_item_wrapper"
style="@style/Theme.Widget.TextInputLayout.OutlinedBox.Dense"
2017-01-02 12:09:23 +01:00
android:layout_width="0dp"
2020-03-12 00:08:57 +01:00
android:layout_height="wrap_content"
2017-01-02 12:09:23 +01:00
android:layout_weight="1"
android:gravity="center_vertical|start">
<com.google.android.material.textfield.TextInputEditText
2017-01-02 12:09:23 +01:00
android:id="@+id/nav_view_item"
android:layout_width="match_parent"
2020-03-12 00:08:57 +01:00
android:layout_height="wrap_content"
2017-01-03 15:44:32 +01:00
android:imeOptions="actionDone"
2020-02-22 00:43:50 +01:00
android:inputType="text"
android:maxLines="1"
2020-06-13 21:17:33 +02:00
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
2017-01-02 12:09:23 +01:00
</com.google.android.material.textfield.TextInputLayout>
2017-01-02 12:09:23 +01:00
</LinearLayout>