[Android] Remove nested layouts weights
Geoffrey Métais
git at videolan.org
Thu Feb 12 17:12:33 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 12 13:48:30 2015 +0100| [93f1e0c21876fba61f569c7e1a7ef0102a9a8ba0] | committer: Geoffrey Métais
Remove nested layouts weights
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=93f1e0c21876fba61f569c7e1a7ef0102a9a8ba0
---
vlc-android/res/layout/audio_player.xml | 3 +--
vlc-android/res/layout/audio_playlist_item_drag_shadow.xml | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 844ca51..09e1691 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -103,8 +103,7 @@
<org.videolan.vlc.gui.audio.widget.CoverMediaSwitcher
android:id="@+id/cover_media_switcher"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1" />
+ android:layout_height="fill_parent"/>
</ViewSwitcher>
<LinearLayout
diff --git a/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml b/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
index 4959951..9f48832 100644
--- a/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
+++ b/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
@@ -11,7 +11,6 @@
android:id="@+id/layout_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_weight="1"
android:background="?attr/playlist_item_drag_shadow"
android:orientation="horizontal"
android:paddingLeft="10dp" >
More information about the Android
mailing list