summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/layout/search_anime_page.xml8
-rw-r--r--app/src/main/res/layout/search_manga_page.xml8
-rw-r--r--app/src/main/res/values/colors.xml1
-rw-r--r--app/src/main/res/values/strings.xml1
4 files changed, 12 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"
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index ae0a497..1dc4ee9 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -10,4 +10,5 @@
<color name="very_light_magenta">#FF70FF</color>
<color name="strong_pink">#D52C70</color>
<color name="slightly_desaturated_magenta">#c583b6</color>
+ <color name="grayish_magenta">#c9a6c9</color>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 2acf406..c8c8ab9 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -40,5 +40,6 @@
<string name="search">Search in the database</string>
<string name="search_anime">Search Anime</string>
<string name="search_anime_page_label">Search Anime Page</string>
+ <string name="hint_query">Your query …</string>
</resources> \ No newline at end of file