[Android] Search settings: allow switching to english and underline the query

Nicolas Pomepuy git at videolan.org
Fri Mar 12 09:00:27 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Mar  9 14:23:16 2021 +0100| [1d6a08e9ee65f312fa6c5084d48b5eb7ba3f8afa] | committer: Nicolas Pomepuy

Search settings: allow switching to english and underline the query

> https://code.videolan.org/videolan/vlc-android/commit/1d6a08e9ee65f312fa6c5084d48b5eb7ba3f8afa
---

 .../flavors/debug/res/drawable/ic_translate.xml    | 33 +++++++++++++++
 .../main/res/drawable/background_round_item.xml    | 37 ++++++++++++++++
 .../main/java/org/videolan/tools/LocaleUtils.kt    |  2 +-
 .../vlc-android/res/layout/preference_item.xml     | 40 +++++++++++-------
 .../res/layout/preferences_search_activity.xml     | 47 ++++++++++++++-------
 .../preferences/search/PreferenceItemAdapter.kt    | 49 +++++++++++++++++++---
 .../vlc/gui/preferences/search/PreferenceParser.kt | 15 ++++---
 .../preferences/search/PreferenceSearchActivity.kt | 22 ++++++++--
 .../vlc/viewmodels/PreferenceSearchModel.kt        | 23 ++++++++--
 9 files changed, 220 insertions(+), 48 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/1d6a08e9ee65f312fa6c5084d48b5eb7ba3f8afa


More information about the Android mailing list