[Android] res: Fix keyboard handling of overflow menu
Edward Wang
git at videolan.org
Sat Mar 16 03:08:50 CET 2013
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Mar 15 22:08:35 2013 -0400| [08c641a269aa140559c9662d008886212ccfca76] | committer: Edward Wang
res: Fix keyboard handling of overflow menu
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=08c641a269aa140559c9662d008886212ccfca76
---
vlc-android/res/layout-land/audio_player.xml | 4 +++-
vlc-android/res/layout/audio_player.xml | 6 ++++--
vlc-android/res/layout/audio_player_qvga.xml | 4 +++-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/vlc-android/res/layout-land/audio_player.xml b/vlc-android/res/layout-land/audio_player.xml
index 17df5dc..0833d4c 100644
--- a/vlc-android/res/layout-land/audio_player.xml
+++ b/vlc-android/res/layout-land/audio_player.xml
@@ -163,7 +163,9 @@
android:layout_marginTop="20dp"
android:layout_gravity="center"
android:onClick="showAdvanceFunction"
- android:background="@drawable/dots" />
+ android:background="#00000000"
+ android:scaleType="fitXY"
+ android:src="@drawable/dots" />
</LinearLayout>
</LinearLayout>
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 0379ab9..9f31e6a 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -64,10 +64,12 @@
android:id="@+id/adv_function"
android:layout_width="35dp"
android:layout_height="35dp"
- android:layout_marginTop="20dp"
android:layout_gravity="center"
+ android:layout_marginTop="20dp"
+ android:background="#00000000"
android:onClick="showAdvanceFunction"
- android:background="@drawable/dots" />
+ android:scaleType="fitXY"
+ android:src="@drawable/dots" />
</LinearLayout>
</LinearLayout>
<FrameLayout
diff --git a/vlc-android/res/layout/audio_player_qvga.xml b/vlc-android/res/layout/audio_player_qvga.xml
index d010092..7c51192 100644
--- a/vlc-android/res/layout/audio_player_qvga.xml
+++ b/vlc-android/res/layout/audio_player_qvga.xml
@@ -34,10 +34,12 @@
android:focusable="false" />
<ImageButton
+ android:src="@drawable/dots"
+ android:background="#00000000"
android:id="@+id/adv_function"
android:layout_width="35dp"
android:layout_height="35dp"
- android:background="@drawable/dots"
+ android:scaleType="fitXY"
android:onClick="showAdvanceFunction" />
<LinearLayout
More information about the Android
mailing list