[Android] Remove adv view & align time and seekbar

Geoffrey Métais git at videolan.org
Tue Dec 16 16:23:59 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Dec 16 15:51:41 2014 +0100| [96af62da2f3d2effe6ffd2617a4e6347bcc15d60] | committer: Geoffrey Métais

Remove adv view & align time and seekbar

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=96af62da2f3d2effe6ffd2617a4e6347bcc15d60
---

 vlc-android/res/layout/adv_view.xml   |    8 --------
 vlc-android/res/layout/player_hud.xml |    6 +++++-
 vlc-android/res/values/dimens.xml     |    1 -
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/vlc-android/res/layout/adv_view.xml b/vlc-android/res/layout/adv_view.xml
deleted file mode 100644
index 490539c..0000000
--- a/vlc-android/res/layout/adv_view.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
-	                android:id="@+id/player_overlay_adv_function"
-	                android:layout_width="wrap_content"
-	                android:layout_height="wrap_content"
-	                android:layout_marginRight="@dimen/options_margin"
-	                android:layout_gravity="center_vertical"
-	                android:background="@drawable/ic_more"/>
diff --git a/vlc-android/res/layout/player_hud.xml b/vlc-android/res/layout/player_hud.xml
index c7afc89..437e980 100644
--- a/vlc-android/res/layout/player_hud.xml
+++ b/vlc-android/res/layout/player_hud.xml
@@ -18,6 +18,8 @@
         android:layout_height="wrap_content"
         android:maxHeight="@dimen/seekbar_height"
         android:minHeight="@dimen/seekbar_height"
+        android:paddingLeft="@dimen/time_margin_sides"
+        android:paddingRight="@dimen/time_margin_sides"
         android:layout_alignParentTop="true"
         android:progressDrawable="@drawable/po_seekbar"
         android:thumb="@drawable/seekbar_thumb"
@@ -28,8 +30,9 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_below="@id/player_overlay_seekbar"
-        android:layout_marginLeft="@dimen/time_margin_sides"
+        android:layout_alignLeft="@+id/player_overlay_seekbar"
         android:layout_alignParentLeft="true"
+        android:layout_marginLeft="@dimen/time_margin_sides"
         android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title"
         android:textColor="@color/darkorange"/>
 
@@ -39,6 +42,7 @@
         android:layout_height="wrap_content"
         android:layout_below="@id/player_overlay_seekbar"
         android:layout_alignParentRight="true"
+        android:layout_alignRight="@+id/player_overlay_seekbar"
         android:layout_marginRight="@dimen/time_margin_sides"
         android:textAppearance="@style/TextAppearance.AppCompat.SearchResult.Title" />
 
diff --git a/vlc-android/res/values/dimens.xml b/vlc-android/res/values/dimens.xml
index cc00860..c18ca01 100644
--- a/vlc-android/res/values/dimens.xml
+++ b/vlc-android/res/values/dimens.xml
@@ -19,7 +19,6 @@
     <dimen name="overlay_margin">2dp</dimen>
 
     <dimen name="seekbar_height">2dip</dimen>
-    <dimen name="seekbar_padding_sides">5dip</dimen>
     <dimen name="images_margin_sides">10dp</dimen>
     <dimen name="time_margin_sides">10dp</dimen>
 



More information about the Android mailing list