在AndroidMainfest.xml中把windowSoftInputMode把屬性設成
adjustUnspecified|stateHidden
Go to Mainfest.xml choose your activity and type android:windowSoftInputMode="adjustUnspecified|stateHidden"
< activity android:name=" .Main " android:label="@string/app_name" android:windowSoftInputMode="adjustUnspecified|stateHidden" > < intent-filter> < action android:name="android.intent.action.MAIN" /> < category android:name="android.intent.category.LAUNCHER" /> < /intent-filter> < /activity>
沒有留言:
張貼留言