[Android] Fix audio search input text positioning
Nicolas Pomepuy
git at videolan.org
Thu Jun 27 11:17:11 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jun 13 09:11:06 2019 +0200| [00c5c1d1ad1414f0a1e896ade0e0f192abfb35e5] | committer: Geoffrey Métais
Fix audio search input text positioning
> https://code.videolan.org/videolan/vlc-android/commit/00c5c1d1ad1414f0a1e896ade0e0f192abfb35e5
---
vlc-android/res/layout/audio_player.xml | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 5dfe68d68..ff8a1a39a 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -85,18 +85,24 @@
android:background="#00000000" />
<com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
android:id="@+id/playlist_search_text"
- android:layout_marginEnd="2dp"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="8dp"
+ android:layout_marginTop="4dp"
+ android:layout_marginEnd="8dp"
android:focusable="true"
- android:visibility="gone">
+ android:visibility="gone"
+ app:layout_constraintEnd_toEndOf="@+id/header_play_pause"
+ app:layout_constraintStart_toEndOf="@+id/playlist_playasaudio_off"
+ app:layout_constraintTop_toTopOf="parent">
+
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/search_hint"
- android:inputType="textFilter"
- android:imeOptions="actionSearch"/>
+ android:imeOptions="actionSearch"
+ android:inputType="textFilter" />
</com.google.android.material.textfield.TextInputLayout>
<ImageView
More information about the Android
mailing list