I got a EditText on my first tab. Of course, soft keyboard appearing when I touch on my EditText. But when I access to second tab, it means second tab activity, soft keyboard stay appearing on my first tab and don't disappear even though there is no EditText on my second tab activity.
I want to prevent softkeyboard from appearing when I access to my second tab.
How can I solve this problems?
Here's my manifest files
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.androidaccountbook"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="16" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name="com.example.androidaccountbook.AccountTabActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden">
<!-- screenOrientation prevent from rotation -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.example.androidaccountbook.accountMainThread"
android:windowSoftInputMode="stateHidden" />
<!-- activity for intent -->
<activity android:name="com.example.androidaccountbook.TodayExpenseList"
android:windowSoftInputMode="stateHidden" />
<activity android:name="com.example.androidaccountbook.settingThread"
android:windowSoftInputMode="stateHidden"/>
<activity android:name="com.example.androidaccountbook.FailedConnectDatabase"
android:windowSoftInputMode="stateHidden"/>
</application>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>