nextcloud-android/app/src/main/res/layout/edit_box_dialog.xml
Andy Scherzinger 1bfb91d3cc
properly theme input layout for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00

45 lines
No EOL
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
@author Andy Scherzinger
Copyright (C) 2021 Andy Scherzinger
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/dialog_padding">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/user_input_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/TextInputLayoutInputWarning"
android:hint="@string/hint_name">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/user_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:gravity="top"
android:importantForAutofill="no"
android:inputType="textNoSuggestions|textCapSentences"
android:scrollbars="vertical" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>