|
12 | 12 | android:id="@+id/file_path_label" |
13 | 13 | android:layout_width="match_parent" |
14 | 14 | android:layout_height="wrap_content" |
| 15 | + android:layout_marginStart="@dimen/small_margin" |
15 | 16 | android:layout_marginTop="@dimen/activity_margin" |
16 | 17 | android:text="@string/path" |
17 | 18 | android:textSize="@dimen/smaller_text_size" /> |
|
21 | 22 | android:layout_width="match_parent" |
22 | 23 | android:layout_height="wrap_content" |
23 | 24 | android:layout_below="@+id/file_path_label" |
24 | | - android:paddingStart="@dimen/activity_margin" |
| 25 | + android:paddingStart="@dimen/small_margin" |
25 | 26 | android:paddingTop="@dimen/small_margin" |
26 | 27 | android:paddingEnd="@dimen/small_margin" |
27 | 28 | android:paddingBottom="@dimen/activity_margin" |
| 29 | + android:textSize="@dimen/normal_text_size" |
28 | 30 | tools:text="/storage/emulated/0" /> |
29 | 31 |
|
30 | | - <com.simplemobiletools.commons.views.MyTextView |
31 | | - android:id="@+id/file_name_label" |
| 32 | + <com.simplemobiletools.commons.views.MyTextInputLayout |
| 33 | + android:id="@+id/file_name_hint" |
32 | 34 | android:layout_width="match_parent" |
33 | 35 | android:layout_height="wrap_content" |
34 | 36 | android:layout_below="@+id/file_path" |
35 | | - android:layout_marginTop="@dimen/small_margin" |
36 | | - android:text="@string/filename" |
37 | | - android:textSize="@dimen/smaller_text_size" /> |
38 | | - |
39 | | - <com.simplemobiletools.commons.views.MyEditText |
40 | | - android:id="@+id/file_name" |
41 | | - android:layout_width="match_parent" |
42 | | - android:layout_height="wrap_content" |
43 | | - android:layout_below="@+id/file_name_label" |
44 | | - android:layout_marginStart="@dimen/normal_margin" |
45 | | - android:layout_marginEnd="@dimen/medium_margin" |
46 | 37 | android:layout_toStartOf="@+id/file_extension" |
47 | | - android:inputType="textCapSentences" |
48 | | - android:singleLine="true" |
49 | | - android:textCursorDrawable="@null" |
50 | | - android:textSize="@dimen/normal_text_size" /> |
| 38 | + android:hint="@string/filename"> |
| 39 | + |
| 40 | + <com.simplemobiletools.commons.views.MyEditText |
| 41 | + android:id="@+id/file_name" |
| 42 | + android:layout_width="match_parent" |
| 43 | + android:layout_height="wrap_content" |
| 44 | + android:layout_marginEnd="@dimen/medium_margin" |
| 45 | + android:inputType="textCapSentences" |
| 46 | + android:singleLine="true" |
| 47 | + android:textCursorDrawable="@null" |
| 48 | + android:textSize="@dimen/normal_text_size" /> |
| 49 | + </com.simplemobiletools.commons.views.MyTextInputLayout> |
51 | 50 |
|
52 | 51 | <com.simplemobiletools.commons.views.MyTextView |
53 | 52 | android:id="@+id/file_extension" |
54 | 53 | android:layout_width="wrap_content" |
55 | 54 | android:layout_height="wrap_content" |
56 | | - android:layout_below="@+id/file_name_label" |
57 | | - android:layout_alignTop="@+id/file_name" |
58 | | - android:layout_alignBottom="@+id/file_name" |
| 55 | + android:layout_alignBottom="@+id/file_name_hint" |
59 | 56 | android:layout_alignParentEnd="true" |
60 | | - android:gravity="center_vertical" |
| 57 | + android:layout_marginBottom="@dimen/small_margin" |
61 | 58 | android:text=".zip" |
62 | | - android:textSize="@dimen/normal_text_size" /> |
| 59 | + android:textSize="@dimen/normal_text_size" |
| 60 | + tools:ignore="HardcodedText" /> |
63 | 61 |
|
64 | 62 | </RelativeLayout> |
0 commit comments