Question: I'm adding a tabbarcontroller to the main view controller. If I touch the title below the image logo of the tabbar it won't respond. If I click the image of the tabbar, it gets a click and selected. This issue is only iPhone 5(4 inch screen). But it works fine in 3.5 inch device. 

Please, refer the below the image, area inside red border won't respond to touch for all tabbars.

![enter image description here](https://i.stack.imgur.com/HofIl.png)

Same issue occurs in both device a.w.a simulator. I remember a post with full tabbar click access here in StackOverflow, but can't find it right now. Please suggest a solution for this.

Answer: 
You can play it like below.

```
mListView.setOnItemClickListener(new OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view,
                    int position, long id) {
                playSong(MEDIA_PATH + files.get(position));
            }
        });

```

and here is your playSong method.

```
private void playSong(String songPath) {
        try {
            mp.reset();
            mp.setDataSource(songPath);
            mp.prepare();
            mp.start();

        } catch (IOException e) {
            Log.v(getString(R.string.app_name), e.getMessage());
        }
    }

```

So your full code will looke something like this.

```
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    listView = (ListView) findViewById(R.id.mylist);

    // this will show the recorded files into ListVIew
    private List<String> myList = new ArrayList<String>();

    File list[] = file.listFiles();
    for (int i = 0; i < list.length; i++) {
        myList.add(list[i].getName());
    }
    adapter = new ArrayAdapter<String>(this,
            android.R.layout.simple_list_item_1, files);
    listView.setAdapter(adapter);

listView.setOnItemClickListener(new OnItemClickListener() {
    @Override
    public void onItemClick(AdapterView<?> parent, View view,
            int position, long id) {
        playSong(MEDIA_PATH + myList.get(position));
    }

});

private void playSong(String songPath) {
            try {
                mp.reset();
                mp.setDataSource(songPath);
                mp.prepare();
                mp.start();

            } catch (IOException e) {
                Log.v(getString(R.string.app_name), e.getMessage());
            }
        }

}

```

where mp is your media player object `private MediaPlayer mp = new MediaPlayer();` and MEDIA\_PATH is your folder path where you have your all recording like,

```
private static final String MEDIA_PATH = new String(
            Environment.getExternalStorageDirectory() + "/AudioRecorder/");

```
```
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    listView = (ListView) findViewById(R.id.mylist);

    // this will show the recorded files into ListVIew
    final String[] files = new File("mnt/sdcard/Audio File/").list();
    adapter = new ArrayAdapter<String>(this,
            android.R.layout.simple_list_item_1, files);
    listView.setAdapter(adapter);

listView.setOnItemClickListener(new OnItemClickListener() {
    @Override
    public void onItemClick(AdapterView<?> parent, View view,
            int position, long id) {

         //checking the position of item in list
        Object listItem =     listView.getItemAtPosition(position);
        Toast.makeText(MainActivity.this, ""+listItem, Toast.LENGTH_SHORT).show();
    }

});
}

```