Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redraw default background #1312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

relan
Copy link
Contributor

@relan relan commented Jan 16, 2021

Make images crisper, fix aspect ratio. PNGs created using this script:

for x in ldpi-120 mdpi-160 hdpi-240 xhdpi-320 xxhdpi-480 xxxhdpi-640; do
    day=$(mktemp --suffix=.svg)
    sed 's/#000000/#dde1e6/g' artwork/app_background.svg > "$day"
    inkscape -b '#e4e9ee' -o app/src/main/res/drawable-${x%-*}/app_background.png -w ${x#*-} "$day"
    rm "$day"

    night=$(mktemp --suffix=.svg)
    sed 's/#000000/#181b1e/g' artwork/app_background.svg > "$night"
    inkscape -b '#1c2024' -o app/src/main/res/drawable-night-${x%-*}/app_background.png -w ${x#*-} "$night"
    rm "$night"
done

Densities match Table 1 here:
https://developer.android.com/training/multiscreen/screendensities#TaskProvideAltBmp

Screenshots (click to enlarge):

Make images crisper, fix aspect ratio. PNGs created using this script:

for x in ldpi-120 mdpi-160 hdpi-240 xhdpi-320 xxhdpi-480 xxxhdpi-640; do
    day=$(mktemp --suffix=.svg)
    sed 's/#000000/#dde1e6/g' artwork/app_background.svg > "$day"
    inkscape -b '#e4e9ee' -o app/src/main/res/drawable-${x%-*}/app_background.png -w ${x#*-} "$day"
    rm "$day"

    night=$(mktemp --suffix=.svg)
    sed 's/#000000/#181b1e/g' artwork/app_background.svg > "$night"
    inkscape -b '#1c2024' -o app/src/main/res/drawable-night-${x%-*}/app_background.png -w ${x#*-} "$night"
    rm "$night"
done

Densities match Table 1 here:
https://developer.android.com/training/multiscreen/screendensities#TaskProvideAltBmp

Signed-off-by: relan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant