[Android] Remove useless xml attributes
Geoffrey Métais
git at videolan.org
Thu Feb 25 13:48:44 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 25 13:45:49 2016 +0100| [3d850cfacb71e2005cfb27ab15512782e6dcf6d9] | committer: Geoffrey Métais
Remove useless xml attributes
> https://code.videolan.org/videolan/vlc-android/commit/3d850cfacb71e2005cfb27ab15512782e6dcf6d9
---
vlc-android/res/layout/audio_player.xml | 2 --
vlc-android/res/layout/player_tips.xml | 1 -
vlc-android/res/layout/tv_audio_player.xml | 1 -
vlc-android/res/layout/widget_b.xml | 1 -
vlc-android/res/layout/widget_w.xml | 1 -
5 files changed, 6 deletions(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index fa18de1..8ee0549 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -8,7 +8,6 @@
style="@android:style/Widget.ProgressBar.Horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_weight="0"
android:focusable="false"
android:indeterminate="false"
android:maxHeight="2dip"
@@ -135,7 +134,6 @@
android:id="@+id/view_switcher"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_weight="1"
android:layout_below="@+id/header"
android:layout_above="@+id/player_controls">
diff --git a/vlc-android/res/layout/player_tips.xml b/vlc-android/res/layout/player_tips.xml
index 1ae99de..2233d5d 100644
--- a/vlc-android/res/layout/player_tips.xml
+++ b/vlc-android/res/layout/player_tips.xml
@@ -58,7 +58,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerVertical="true"
android:layout_gravity="center"
android:layout_marginTop="15dp"
android:background="@drawable/button_oval"
diff --git a/vlc-android/res/layout/tv_audio_player.xml b/vlc-android/res/layout/tv_audio_player.xml
index 8732e48..c753016 100644
--- a/vlc-android/res/layout/tv_audio_player.xml
+++ b/vlc-android/res/layout/tv_audio_player.xml
@@ -84,7 +84,6 @@
android:id="@+id/media_controls"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
android:orientation="horizontal">
<ImageView
diff --git a/vlc-android/res/layout/widget_b.xml b/vlc-android/res/layout/widget_b.xml
index 4a8e7b3..557cacb 100644
--- a/vlc-android/res/layout/widget_b.xml
+++ b/vlc-android/res/layout/widget_b.xml
@@ -24,7 +24,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_weight="1"
android:orientation="vertical"
android:paddingLeft="@dimen/half_default_margin"
android:paddingRight="@dimen/half_default_margin">
diff --git a/vlc-android/res/layout/widget_w.xml b/vlc-android/res/layout/widget_w.xml
index da205ba..e88d01f 100644
--- a/vlc-android/res/layout/widget_w.xml
+++ b/vlc-android/res/layout/widget_w.xml
@@ -24,7 +24,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_weight="1"
android:orientation="vertical"
android:paddingLeft="@dimen/half_default_margin"
android:paddingRight="@dimen/half_default_margin">
More information about the Android
mailing list