Minor searchbar improvements

- Don't place cursor at center, looks out of place
- Add a hint text as well

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-05-19 13:32:57 +05:30
parent eaa82f5e8b
commit 023a860136
2 changed files with 2 additions and 1 deletions

View File

@@ -44,7 +44,7 @@
android:layout_toStartOf="@id/img_action_secondary"
android:layout_toEndOf="@id/img_action_primary"
android:background="@drawable/bg_search"
android:gravity="center_horizontal|center_vertical"
android:hint="@string/search_hint"
android:imeOptions="flagNoExtractUi|actionSearch"
android:inputType="text"
android:paddingStart="@dimen/padding_large"

View File

@@ -412,4 +412,5 @@
<string name="open_in_aurora">Open in Aurora Store</string>
<string name="spoof_property"><xliff:g id="manufacturer">%1$s</xliff:g> • API <xliff:g id="api">%2$s</xliff:g></string>
<string name="permissions_denied">Required permissions were denied. Please grant them in order to continue the action</string>
<string name="search_hint">Search for Apps &amp; Games</string>
</resources>