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 3 years have passed since last update.

AdaptiveIcon を作る

Posted at

はじめに

業務のなかでAdaptive Iconを作ることがあったので自分用のメモです。
といっても、Adaptive Iconを作るというよりは、
Androidでアイコンを設定する方法と認識した方がいいと思います。

今回は、POに「Androidのアイコンを設定してほしい、デザイナーさんに元ネタは作ってもらっているよ」
という前提で手順を記載します。

手順、気をつけること

前提

今回、使う画像はこちらにしました(いずれもイラストや)

foreground

kotowaza_neko_koban.png

background

bg_natural_ocean.jpg

手順 1 Android Studio の Image Assets を選択

スクリーンショット 2021-04-06 23.34.28.png

手順 2 Foregroundの画像を設定、調整

スクリーンショット 2021-04-06 23.52.28.png

Scalling の Resize はデザイナーさんと相談していい感じに調整してください。

手順 3 Backgroundの画像を設定、調整

スクリーンショット 2021-04-06 23.53.26.png

手順 4 Options を設定

API25を含めた場合

スクリーンショット 2021-04-06 23.53.45.png

スクリーンショット 2021-04-06 23.54.42.png

API25を含めない場合

スクリーンショット 2021-04-06 23.54.58.png

スクリーンショット 2021-04-06 23.55.52.png

手順 5 作成

あとは「Finish」ボタンを押して完了です。

手順 6 おまけ

スクリーンショット 2021-04-07 0.13.43.png

background を color 指定にすると、背景白のアイコンも作成できます。

まとめ

android アプリ開発でアイコンを作ることは機会が少ないので、
手順を一度まとめて整理してみました。
これから行う誰かの参考になれば幸いです。

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?