[Android] reduce video player controls size
Sébastien Toque
git at videolan.org
Thu Jul 19 06:46:51 CEST 2012
android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Jul 19 06:44:39 2012 +0200| [688c582cb2af414fd1aab5af8240a797309434a0] | committer: Sébastien Toque
reduce video player controls size
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=688c582cb2af414fd1aab5af8240a797309434a0
---
vlc-android/res/layout/player.xml | 10 +++++-----
vlc-android/res/layout/player_contol_classic.xml | 12 ++++++------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/vlc-android/res/layout/player.xml b/vlc-android/res/layout/player.xml
index 4f7cdfb..fa16ac0 100644
--- a/vlc-android/res/layout/player.xml
+++ b/vlc-android/res/layout/player.xml
@@ -129,7 +129,7 @@
<FrameLayout
android:id="@+id/player_control"
android:layout_width="fill_parent"
- android:layout_height="50dip"
+ android:layout_height="40dip"
android:layout_below="@+id/player_overlay_seekbar"
android:layout_centerHorizontal="true"
android:layout_marginLeft="60dp"
@@ -137,16 +137,16 @@
<ImageButton
android:id="@+id/player_overlay_size"
- android:layout_width="50dip"
- android:layout_height="50dip"
+ android:layout_width="40dip"
+ android:layout_height="40dip"
android:layout_alignParentRight="true"
android:layout_below="@+id/player_overlay_seekbar"
android:background="@drawable/ic_size" />
<ImageButton
android:id="@+id/player_overlay_lock"
- android:layout_width="50dip"
- android:layout_height="50dip"
+ android:layout_width="40dip"
+ android:layout_height="40dip"
android:layout_alignParentLeft="true"
android:layout_below="@+id/player_overlay_seekbar"
android:background="@drawable/ic_lock" />
diff --git a/vlc-android/res/layout/player_contol_classic.xml b/vlc-android/res/layout/player_contol_classic.xml
index f398309..c954ed6 100644
--- a/vlc-android/res/layout/player_contol_classic.xml
+++ b/vlc-android/res/layout/player_contol_classic.xml
@@ -6,22 +6,22 @@
<ImageButton
android:id="@+id/player_overlay_backward"
- android:layout_width="50dip"
- android:layout_height="50dip"
+ android:layout_width="40dip"
+ android:layout_height="40dip"
android:background="@drawable/ic_backward" />
<ImageButton
android:id="@+id/player_overlay_play"
- android:layout_width="50dip"
- android:layout_height="50dip"
+ android:layout_width="40dip"
+ android:layout_height="40dip"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="@drawable/ic_pause" />
<ImageButton
android:id="@+id/player_overlay_forward"
- android:layout_width="50dip"
- android:layout_height="50dip"
+ android:layout_width="40dip"
+ android:layout_height="40dip"
android:background="@drawable/ic_forward" />
</LinearLayout>
\ No newline at end of file
More information about the Android
mailing list