Advertisement
Guest User

Untitled

a guest
Nov 16th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. ImageView iv = new ImageView(getActivity());
  2. iv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
  3. iv.setImageResource(R.mipmap.ic_launcher);
  4. rv.setEmptyView(iv);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement