updating commons, replace EditText hint with MyTextInputLayout

This commit is contained in:
tibbi 2021-02-27 12:45:43 +01:00
parent 1b5624c2e2
commit 0d013b9190
2 changed files with 16 additions and 10 deletions

View file

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.33.38'
implementation 'com.simplemobiletools:commons:5.33.40'
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'androidx.media:media:1.2.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

View file

@ -8,16 +8,22 @@
android:paddingTop="@dimen/activity_margin"
android:paddingRight="@dimen/activity_margin">
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/new_playlist_title"
<com.simplemobiletools.commons.views.MyTextInputLayout
android:id="@+id/new_playlist_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_margin"
android:hint="@string/title"
android:inputType="textCapSentences"
android:maxLength="50"
android:singleLine="true"
android:textCursorDrawable="@null"
android:textSize="@dimen/normal_text_size" />
android:hint="@string/title">
<com.simplemobiletools.commons.views.MyEditText
android:id="@+id/new_playlist_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_margin"
android:inputType="textCapSentences"
android:maxLength="50"
android:singleLine="true"
android:textCursorDrawable="@null"
android:textSize="@dimen/normal_text_size" />
</com.simplemobiletools.commons.views.MyTextInputLayout>
</LinearLayout>