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
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