Hello My manifest looks like this: <application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name=".aaa_bbb" android:label="@string/ app_name" android:theme="@android:style/Theme.NoTitleBar" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="aaa"> </activity> <activity android:name="bbb" android:windowSoftInputMode="stateVisible|adjustPan" android:configChanges="keyboardHidden"> </activity>
</application> Now in bbb.java: public class bbb extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.bbb); } @Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); Toast.makeText(getBaseContext(), "onConfigurationChanged", Toast.LENGTH_LONG).show(); } } I need to do some work when keyboard is show or hidden, but my problem is that code above is not working. Is it right way, or I should play whit on tab change listener? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en