[Android] Fix adv dialog background

Geoffrey Métais git at videolan.org
Tue Jan 5 16:28:41 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan  5 16:28:18 2016 +0100| [b4f4e12540fce47af333b75cd211f15f93b6d491] | committer: Geoffrey Métais

Fix adv dialog background

> https://code.videolan.org/videolan/vlc-android/commit/b4f4e12540fce47af333b75cd211f15f93b6d491
---

 vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 2 ++
 1 file changed, 2 insertions(+)

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 00cc63c..fb5cfe0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -152,6 +152,8 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
         mTextColor = a.getColor(0, Color.LTGRAY);
         a.recycle();
 
+        getDialog().getWindow().setBackgroundDrawableResource(UiTools.getResourceFromAttribute(getActivity(), R.attr.rounded_bg));
+
         return mRecyclerView;
     }
 



More information about the Android mailing list