1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Androidの画面を縦or横に固定したい場合

Posted at

自分用メモ

Androidの画面を固定したい場合
Androidの画面を縦や、横に固定したい場合は、AndroidManifest.xmlに以下のどちらかを追記する。

横画面に固定したい場合

<activity android:screenOrientation="landscape">

縦画面に追記したい場合

<activity android:screenOrientation="portrait">
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?