エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Activity・Viewクラスでのスクリーンサイズ・画面サイズの取得方法
Android 1.6 How to get the screen size on Activity class. How to get the screen size on View clas... Android 1.6 How to get the screen size on Activity class. How to get the screen size on View class. Activityクラスの派生クラスでのスクリーンサイズ・画面サイズの取得方法 Viewクラスの派生クラスでのスクリーンサイズ・画面サイズの取得方法 ---- ■Activityクラス上でスクリーンサイズを取得する方法 getSystemService(WINDOW_SERVICE) を使用してスクリーンサイズを取得します。 import android.content.Context; import android.view.Display; import android.view.WindowManager; public class TestActivity extends Activit
2013/02/19 リンク