[Android] Hide FAB in History view

Geoffrey Métais git at videolan.org
Wed Jun 13 14:31:43 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jun 13 14:31:06 2018 +0200| [3a130ed9943e5d7435bf7cfec30c44ca2f325d03] | committer: Geoffrey Métais

Hide FAB in History view

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

 vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
index 0393bb653..aa31ec938 100644
--- a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.java
@@ -126,6 +126,11 @@ public class HistoryFragment extends MediaBrowserFragment<HistoryModel> implemen
         }
     }
 
+    @Override
+    public void setFabPlayVisibility(boolean enable) {
+        if (mFabPlay != null) mFabPlay.setVisibility(View.GONE);
+    }
+
     @Override
     public void refresh() {
         viewModel.refresh();



More information about the Android mailing list