How to add image to a framelayout in android app ?
问题 I am building a left slide menu in my app, in which I am using a framelayout. And a listview is called inside this framelayout. In this frame layout, I want to call a imageView which will display user profile picture. Here is the code for my navigation drawer, where I am initializing framelayout and calling its listview. Here is my navigation drawer code - public class NavigationDrawerFragment extends Fragment { Context context; ArrayList prgmName; public static int [] prgmImages={R.drawable