|
6 | 6 | android:orientation="vertical" |
7 | 7 | android:padding="@dimen/activity_margin"> |
8 | 8 |
|
9 | | - <com.simplemobiletools.commons.views.MyTextView |
10 | | - android:id="@+id/save_as_path_label" |
11 | | - android:layout_width="wrap_content" |
12 | | - android:layout_height="wrap_content" |
13 | | - android:text="@string/path" |
14 | | - android:textSize="@dimen/smaller_text_size" /> |
15 | | - |
16 | | - <com.simplemobiletools.commons.views.MyTextView |
17 | | - android:id="@+id/save_as_path" |
| 9 | + <com.simplemobiletools.commons.views.MyTextInputLayout |
| 10 | + android:id="@+id/folder_hint" |
18 | 11 | android:layout_width="match_parent" |
19 | 12 | android:layout_height="wrap_content" |
20 | 13 | android:layout_marginBottom="@dimen/activity_margin" |
21 | | - android:paddingTop="@dimen/small_margin" |
22 | | - android:paddingEnd="@dimen/small_margin" /> |
| 14 | + android:hint="@string/path"> |
| 15 | + |
| 16 | + <com.google.android.material.textfield.TextInputEditText |
| 17 | + android:id="@+id/folder_value" |
| 18 | + style="@style/UnclickableEditText" |
| 19 | + android:layout_width="match_parent" |
| 20 | + android:layout_height="wrap_content" /> |
| 21 | + |
| 22 | + </com.simplemobiletools.commons.views.MyTextInputLayout> |
23 | 23 |
|
24 | | - <com.simplemobiletools.commons.views.MyEditText |
25 | | - android:id="@+id/save_as_name" |
| 24 | + <com.simplemobiletools.commons.views.MyTextInputLayout |
| 25 | + android:id="@+id/filename_hint" |
26 | 26 | android:layout_width="match_parent" |
27 | 27 | android:layout_height="wrap_content" |
28 | 28 | android:layout_marginBottom="@dimen/activity_margin" |
29 | | - android:singleLine="true" |
30 | | - android:textCursorDrawable="@null" |
31 | | - android:textSize="@dimen/normal_text_size" /> |
| 29 | + android:hint="@string/filename"> |
32 | 30 |
|
33 | | - <com.simplemobiletools.commons.views.MyTextView |
34 | | - android:id="@+id/save_as_extension_label" |
35 | | - android:layout_width="wrap_content" |
36 | | - android:layout_height="wrap_content" |
37 | | - android:text="@string/extension" /> |
| 31 | + <com.google.android.material.textfield.TextInputEditText |
| 32 | + android:id="@+id/filename_value" |
| 33 | + android:layout_width="match_parent" |
| 34 | + android:layout_height="wrap_content" |
| 35 | + android:inputType="textCapSentences" |
| 36 | + android:singleLine="true" |
| 37 | + android:textCursorDrawable="@null" |
| 38 | + android:textSize="@dimen/bigger_text_size" /> |
| 39 | + |
| 40 | + </com.simplemobiletools.commons.views.MyTextInputLayout> |
38 | 41 |
|
39 | | - <com.simplemobiletools.commons.views.MyEditText |
40 | | - android:id="@+id/save_as_extension" |
| 42 | + <com.simplemobiletools.commons.views.MyTextInputLayout |
| 43 | + android:id="@+id/extension_hint" |
41 | 44 | android:layout_width="match_parent" |
42 | 45 | android:layout_height="wrap_content" |
43 | | - android:layout_marginBottom="@dimen/activity_margin" |
44 | | - android:singleLine="true" |
45 | | - android:textCursorDrawable="@null" |
46 | | - android:textSize="@dimen/normal_text_size" /> |
| 46 | + android:hint="@string/extension"> |
| 47 | + |
| 48 | + <com.google.android.material.textfield.TextInputEditText |
| 49 | + android:id="@+id/extension_value" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:singleLine="true" |
| 53 | + android:textCursorDrawable="@null" |
| 54 | + android:textSize="@dimen/bigger_text_size" /> |
47 | 55 |
|
| 56 | + </com.simplemobiletools.commons.views.MyTextInputLayout> |
48 | 57 | </LinearLayout> |
0 commit comments