diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-12 14:47:31 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2021-03-12 14:47:31 +0100 |
commit | dafb34569442334163eb7a249d155ec21379d9ea (patch) | |
tree | 9b411086f43b5a47df4ae2fafd059e5389771b74 /app/src/main/res/layout | |
parent | 2d51793b3ff0ff60c6c26e31811538e6b81ab154 (diff) |
Adding colors to TextInputEditText from search pages.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/search_anime_page.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/search_manga_page.xml | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/app/src/main/res/layout/search_anime_page.xml b/app/src/main/res/layout/search_anime_page.xml index 1f95b10..631ebde 100644 --- a/app/src/main/res/layout/search_anime_page.xml +++ b/app/src/main/res/layout/search_anime_page.xml @@ -7,16 +7,18 @@ android:background="@color/very_dark_purple" tools:context=".anime.search.SearchAnimePage"> - <com.google.android.material.textfield.TextInputEditText android:id="@+id/tiet_query" android:layout_width="0dp" android:layout_height="wrap_content" + android:hint="@string/hint_query" + android:textColor="@color/very_light_magenta" + android:textColorHint="@color/grayish_magenta" android:textStyle="bold" app:layout_constraintBottom_toTopOf="@id/recycler_view" - app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toStartOf="@id/button_query" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/button_query"/> + app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/button_query" diff --git a/app/src/main/res/layout/search_manga_page.xml b/app/src/main/res/layout/search_manga_page.xml index 1470311..02a62ff 100644 --- a/app/src/main/res/layout/search_manga_page.xml +++ b/app/src/main/res/layout/search_manga_page.xml @@ -7,16 +7,18 @@ android:background="@color/very_dark_purple" tools:context=".manga.search.SearchMangaPage"> - <com.google.android.material.textfield.TextInputEditText android:id="@+id/tiet_query" android:layout_width="0dp" android:layout_height="wrap_content" + android:hint="@string/hint_query" + android:textColor="@color/very_light_magenta" + android:textColorHint="@color/grayish_magenta" android:textStyle="bold" app:layout_constraintBottom_toTopOf="@id/recycler_view" - app:layout_constraintTop_toTopOf="parent" + app:layout_constraintEnd_toStartOf="@id/button_query" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/button_query"/> + app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/button_query" |