android:name=".App"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_descriptor"
- android:icon="@drawable/app_icon"
+ android:icon="@mipmap/app_icon"
android:label="@string/app_name"
- android:roundIcon="@drawable/app_icon"
+ android:roundIcon="@mipmap/app_icon"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme"
gen_icons() {
while read size name; do
- mkdir -p "$RES_DIR/drawable-$name"
- DST="$RES_DIR/drawable-$name/app_icon.png"
+ DST_DIR="$RES_DIR/mipmap-$name"
+ mkdir -p "$DST_DIR"
+ DST="$DST_DIR/app_icon.png"
convert -background none "$ICON_ART" -scale ${size}x${size} \
-antialias -strip \
"$DST"