0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AndroidStudioのリソース選択ダイアログで便利に画像を設定する

Posted at

AndroidStudioで@drawable@mipmapを指定するとき、一覧からリソースを選べるUIがあります。

リソース選択ダイアログでは、プロジェクト内のリソースを一覧から選択できる機能です。
例えば以下のような場面で表示されます。
android:icon
android:roundIcon
@drawable/
@mipmap/
レイアウトやstyleでリソースを指定する時

手動で文字を入力しなくても、存在するリソースだけを選べます。

開き方

android:icon="@mipmap/ic_launcher"
のように入力すると左側に画像の小さいプレビュー表示が出てくるのでこちらをクリックすると表示されます。

Screenshot 2026-01-28 15.39.57.png
このような感じになります。

簡単に選択できますね。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?