LoginSignup
0
0

More than 1 year has passed since last update.

Androidのビュー部品(1)Commonパレット

Last updated at Posted at 2022-05-05

はじめに

Androidアプリの開発のために、パレットとビュー部品についての理解を整理します。
この記事で取り扱う環境は、Android Studio+Windows10です。

真新しい情報ではありません。体系立てて理解を整理するために、自分が理解しやすい枠組みでまとめるものです。

ひとつ前

ひとつ先

1.レイアウトファイル(activity_main.xml)

デザインビューで見るとこんなかんじです。
image.png

1.パレットとビュー部品

No パレット No パレット No パレット
1 Common 4 Widgets 7 Helper
2 Text 5 Layouts 8 Google
3 Buttons 6 Containers 9 Legacy

1.1.Commonパレット

よく使うビュー部品が定義されています。
image.png

No ビュー部品 パレット 説明
1 TextView Text テキストを表示
2 Button Buttons 通常のボタン
3 ImageView Widgets 画像を表示
4 RecyclerView Containers メモリ使用量を抑え大規模なデータを扱う
5 FragmentContainerView Containers アクティビティ内でフラグメントを扱うコンテナ
6 ScrollView Containers スクロール
7 Switch Buttons スイッチ
0
0
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
0
0