Activity class code:
Activity
conversationList = (ListView)findViewById(android.R.id.list); ConversationArrayAdapter conversationArrayAdapter=new Conver
use the below code inside button tag in custom row layout of listview
android:focusable="false" android:clickable="false"