[Android] Hide 'more' button in network browsing for now
Geoffrey Métais
git at videolan.org
Mon Feb 9 11:30:47 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 21 18:21:03 2015 +0100| [ada524bc1199c5790d9d9aad969028c1ae46cf05] | committer: Geoffrey Métais
Hide 'more' button in network browsing for now
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ada524bc1199c5790d9d9aad969028c1ae46cf05
---
vlc-android/src/org/videolan/vlc/gui/network/NetworkAdapter.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/network/NetworkAdapter.java b/vlc-android/src/org/videolan/vlc/gui/network/NetworkAdapter.java
index 4eaa0b4..9980beb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/network/NetworkAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/network/NetworkAdapter.java
@@ -53,6 +53,7 @@ public class NetworkAdapter extends RecyclerView.Adapter<NetworkAdapter.ViewHol
View v = LayoutInflater.from(parent.getContext())
.inflate(R.layout.directory_view_item, parent, false);
ViewHolder vh = new ViewHolder(v);
+ vh.more.setVisibility(View.GONE);
return vh;
}
@@ -82,12 +83,14 @@ public class NetworkAdapter extends RecyclerView.Adapter<NetworkAdapter.ViewHol
public TextView title;
public TextView text;
public ImageView icon;
+ public ImageView more;
public ViewHolder(View v) {
super(v);
title = (TextView) v.findViewById(R.id.title);
text = (TextView) v.findViewById(R.id.text);
icon = (ImageView) v.findViewById(R.id.dvi_icon);
+ more = (ImageView) v.findViewById(R.id.item_more);
}
}
More information about the Android
mailing list