3/ yes it's possible and if you use your own graphics like this, you will have a picture insidetab
int tab_list_on;
private TabHost mTabHost;
mTabHost = getTabHost();
tab_list_on = R.drawable.onglet_480_liste;
TabImgFond1 = new ImageView(this, null, android.graphics.Typeface.NORMAL);
TabImgFond1.setImageResource(tab_list_on);
mTabHost.addTab(mTabHost.newTabSpec(TAB_LISTE).setIndicator(TabImgFond1).setContent(intentList));
mTabHost.setOnTabChangedListener(new OnTabChangeListener() {
public void onTabChanged(String tabId) {
TabChangedState(tabId);
}
});
mTabHost.setCurrentTab(0);
1/you can try this, i'm not sure, but i think it's working, put this inside your class
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
Log.i(TAG,"CODE : "+keyCode);
if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT) {
//TODO
return true;
}
return false;
}