Skip to content Skip to sidebar Skip to footer

Android Gallery Into Grid Style Menu

Hello everyone please help me out regarding menu in android . i want to make this gallery as grid menu for my application . please guide me how i can put the name under the images

Solution 1:

You need to use a custom adapter instead of the ImageAdapter, and add a vertical LinearLayout with the image and the label. Check out the BaseAdapter api: http://developer.android.com/reference/android/widget/BaseAdapter.html

For the click events, use the OnItemClickAdapter: http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html

Post a Comment for "Android Gallery Into Grid Style Menu"