画面の向きはAndroidManifest.xml内でActivityに対してandroid:screenOrientationで設定します。 <!-- ScreenOrientationSample --> <activity android:name="android.wiki.sample.ScreenOrientationSampleActivity" android:label="@string/app_name" android:screenOrientation="unspecified"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filte
![画面の向き(ScreenOrientation) - Android Wiki*](https://cdn-ak-scissors.b.st-hatena.com/image/square/2af9275ab7c1674d461cc6fa05416d4c88dd98aa/height=288;version=1;width=512/https%3A%2F%2Fcdn.wikiwiki.jp%2Fto%2Fw%2Fcommon%2Fimage%2Fwikiwiki_ogp.png%3Fv%3D4)