mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 01:51:47 +00:00
66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
SPDX-FileCopyrightText: 2019 Erik Duisters <e.duisters1@gmail.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="?attr/dialogPreferredPadding"
|
|
android:paddingRight="?attr/dialogPreferredPadding"
|
|
android:paddingTop="10dp">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dp"
|
|
app:errorEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/storageLocation"
|
|
style="@style/Widget.MaterialComponents.TextInputEditText.FilledBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:cursorVisible="false"
|
|
android:hint="@string/sftp_storage_preference_storage_location"
|
|
android:lines="1"
|
|
android:longClickable="false"
|
|
android:maxLines="1"
|
|
android:scrollHorizontally="true"
|
|
android:ellipsize="end"
|
|
android:inputType="text"
|
|
android:text="@string/sftp_storage_preference_click_to_select"
|
|
android:textColor="@android:color/darker_gray"
|
|
android:editable="false"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/storageDisplayNameInputLayout"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="5dp"
|
|
app:errorEnabled="true">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/storageDisplayName"
|
|
style="@style/Widget.MaterialComponents.TextInputEditText.FilledBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/sftp_storage_preference_display_name"
|
|
android:lines="1"
|
|
android:maxLines="1"
|
|
android:scrollHorizontally="true"
|
|
android:ellipsize="end"
|
|
android:inputType="text"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|