updating some dialogs with the new edittext hints

This commit is contained in:
tibbi 2021-03-05 11:24:38 +01:00
parent 76cbb8bb0d
commit f68af307bb
2 changed files with 22 additions and 24 deletions

View File

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.33.35'
implementation 'com.simplemobiletools:commons:5.34.9'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -12,6 +12,7 @@
android:id="@+id/file_path_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/small_margin"
android:layout_marginTop="@dimen/activity_margin"
android:text="@string/path"
android:textSize="@dimen/smaller_text_size" />
@ -21,44 +22,41 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/file_path_label"
android:paddingStart="@dimen/activity_margin"
android:paddingStart="@dimen/small_margin"
android:paddingTop="@dimen/small_margin"
android:paddingEnd="@dimen/small_margin"
android:paddingBottom="@dimen/activity_margin"
android:textSize="@dimen/normal_text_size"
tools:text="/storage/emulated/0" />
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/file_name_label"
<com.simplemobiletools.commons.views.MyTextInputLayout
android:id="@+id/file_name_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/file_path"
android:layout_marginTop="@dimen/small_margin"
android:text="@string/filename"
android:textSize="@dimen/smaller_text_size" />
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/file_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/file_name_label"
android:layout_marginStart="@dimen/normal_margin"
android:layout_marginEnd="@dimen/medium_margin"
android:layout_toStartOf="@+id/file_extension"
android:inputType="textCapSentences"
android:singleLine="true"
android:textCursorDrawable="@null"
android:textSize="@dimen/normal_text_size" />
android:hint="@string/filename">
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/file_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/medium_margin"
android:inputType="textCapSentences"
android:singleLine="true"
android:textCursorDrawable="@null"
android:textSize="@dimen/normal_text_size" />
</com.simplemobiletools.commons.views.MyTextInputLayout>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/file_extension"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/file_name_label"
android:layout_alignTop="@+id/file_name"
android:layout_alignBottom="@+id/file_name"
android:layout_alignBottom="@+id/file_name_hint"
android:layout_alignParentEnd="true"
android:gravity="center_vertical"
android:layout_marginBottom="@dimen/small_margin"
android:text=".zip"
android:textSize="@dimen/normal_text_size" />
android:textSize="@dimen/normal_text_size"
tools:ignore="HardcodedText" />
</RelativeLayout>