Changeset View
Changeset View
Standalone View
Standalone View
res/layout/fragment_storage_preference_dialog.xml
- This file was added.
1 | <?xml version="1.0" encoding="utf-8"?> | ||||
---|---|---|---|---|---|
2 | <LinearLayout | ||||
3 | xmlns:android="http://schemas.android.com/apk/res/android" | ||||
4 | xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
5 | android:layout_width="match_parent" | ||||
6 | android:layout_height="match_parent" | ||||
7 | android:orientation="vertical" | ||||
8 | android:paddingLeft="?attr/dialogPreferredPadding" | ||||
9 | android:paddingRight="?attr/dialogPreferredPadding" | ||||
10 | android:paddingTop="10dp"> | ||||
11 | | ||||
12 | <com.google.android.material.textfield.TextInputLayout | ||||
13 | style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox" | ||||
14 | android:layout_width="match_parent" | ||||
15 | android:layout_height="wrap_content" | ||||
16 | android:paddingTop="5dp" | ||||
17 | app:errorEnabled="true"> | ||||
18 | | ||||
19 | <com.google.android.material.textfield.TextInputEditText | ||||
20 | android:id="@+id/storageLocation" | ||||
21 | style="@style/Widget.MaterialComponents.TextInputEditText.FilledBox" | ||||
22 | android:layout_width="match_parent" | ||||
23 | android:layout_height="wrap_content" | ||||
24 | android:cursorVisible="false" | ||||
25 | android:hint="@string/sftp_storage_preference_storage_location" | ||||
26 | android:lines="1" | ||||
27 | android:longClickable="false" | ||||
28 | android:maxLines="1" | ||||
29 | android:scrollHorizontally="true" | ||||
30 | android:ellipsize="end" | ||||
31 | android:inputType="text" | ||||
32 | android:text="@string/sftp_storage_preference_click_to_select" | ||||
33 | android:textColor="@android:color/darker_gray" | ||||
34 | android:editable="false"/> | ||||
35 | </com.google.android.material.textfield.TextInputLayout> | ||||
36 | | ||||
37 | <com.google.android.material.textfield.TextInputLayout | ||||
38 | android:id="@+id/storageDisplayNameInputLayout" | ||||
39 | style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox.Dense" | ||||
40 | android:layout_width="match_parent" | ||||
41 | android:layout_height="wrap_content" | ||||
42 | android:paddingTop="5dp" | ||||
43 | app:errorEnabled="true"> | ||||
44 | | ||||
45 | <com.google.android.material.textfield.TextInputEditText | ||||
46 | android:id="@+id/storageDisplayName" | ||||
47 | style="@style/Widget.MaterialComponents.TextInputEditText.FilledBox.Dense" | ||||
48 | android:layout_width="match_parent" | ||||
49 | android:layout_height="wrap_content" | ||||
50 | android:hint="@string/sftp_storage_preference_display_name" | ||||
51 | android:lines="1" | ||||
52 | android:maxLines="1" | ||||
53 | android:scrollHorizontally="true" | ||||
54 | android:ellipsize="end" | ||||
55 | android:inputType="text"/> | ||||
56 | </com.google.android.material.textfield.TextInputLayout> | ||||
57 | | ||||
58 | </LinearLayout> | ||||
59 | No newline at end of file |