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

31 lines
1.2 KiB
XML
Raw Normal View History

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