Note that there are some explanatory texts on larger screens.

plurals
  1. POandroid-keyboard does not appear in child activity of TabActivity
    primarykey
    data
    text
    <p>Code snippet:</p> <pre><code>public class home extends TabActivity implements OnTabChangeListener{ private static final String HOME_SPEC = ""; private static final String PROFILE_SPEC = ""; private static final String NEWPOST_SPEC = ""; private static final String SETTINGS_SPEC = ""; private TabHost tabHost; private TextView header; int s,c; private Typeface tf; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.home); tabHost = getTabHost(); TabSpec newpostSpec = tabHost.newTabSpec(NEWPOST_SPEC); newpostSpec.setIndicator(NEWPOST_SPEC, getResources().getDrawable(R.drawable.icon_post_tab)); Intent newpostIntent = new Intent(home.this,NewPostActivity.class); newpostSpec.setContent(newpostIntent); tabHost.addTab(loginSpec); tabHost.addTab(newpostSpec); tabHost.setOnTabChangedListener(this); for(int i=0;i&lt;tabHost.getTabWidget().getChildCount();i++) { tabHost.getTabWidget().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); } } @Override public void onTabChanged(String tabId) { // TODO Auto-generated method stub for(int i=0;i&lt;tabHost.getTabWidget().getChildCount();i++) { tabHost.getTabWidget().getChildAt(i).setBackgroundColor(Color.TRANSPARENT); } tabHost.getTabWidget().getChildAt(tabHost.getCurrentTab()).setBackgroundColor(Color.TRANSPARENT); } } </code></pre> <p>Above code i have used for TabActivity.Now in NewPostActivity I have only one edittext &amp; when I click on Edittext ,Keyboard not appears to write in that edittext. So What should I have to do for appearance of keyboard? Please reply....</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload