[Android] Fix large adv option size for AppCompat v24
Geoffrey Métais
git at videolan.org
Wed Aug 3 15:40:05 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Aug 3 15:39:19 2016 +0200| [f846e838fb14cb59cba6fcb26bb5d22dd56c819b] | committer: Geoffrey Métais
Fix large adv option size for AppCompat v24
> https://code.videolan.org/videolan/vlc-android/commit/f846e838fb14cb59cba6fcb26bb5d22dd56c819b
---
vlc-android/res/layout/adv_option_item.xml | 2 +-
vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/vlc-android/res/layout/adv_option_item.xml b/vlc-android/res/layout/adv_option_item.xml
index 699c963..f1b688e 100644
--- a/vlc-android/res/layout/adv_option_item.xml
+++ b/vlc-android/res/layout/adv_option_item.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="@dimen/option_width"
+ android:layout_width="match_parent"
android:layout_height="@dimen/option_height"
android:clickable="true"
android:longClickable="true"
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 4dd6b3f..ca81734 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -37,7 +37,6 @@ import android.support.v4.content.ContextCompat;
import android.support.v7.preference.PreferenceManager;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
-import android.text.TextUtils;
import android.text.format.DateFormat;
import android.view.Gravity;
import android.view.KeyEvent;
@@ -54,12 +53,10 @@ import org.videolan.vlc.VLCApplication;
import org.videolan.vlc.gui.PlaybackServiceFragment;
import org.videolan.vlc.gui.SecondaryActivity;
import org.videolan.vlc.gui.helpers.UiTools;
-import org.videolan.vlc.gui.preferences.PreferencesUi;
import org.videolan.vlc.gui.video.VideoPlayerActivity;
import org.videolan.vlc.gui.view.AutoFitRecyclerView;
import org.videolan.vlc.interfaces.IPlaybackSettingsController;
import org.videolan.vlc.media.MediaWrapper;
-import org.videolan.vlc.util.AndroidDevices;
import org.videolan.vlc.util.Permissions;
import org.videolan.vlc.util.Strings;
More information about the Android
mailing list