Skip to content

Commit

Permalink
Merge pull request #88 from beeware/icons
Browse files Browse the repository at this point in the history
Add stubs for xxhdpi splash screens.
  • Loading branch information
mhsmith authored Apr 19, 2024
2 parents a055775 + 4c890ec commit daf123f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions {{ cookiecutter.format }}/briefcase.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ icon.square.192 = "app/src/main/res/mipmap-xxxhdpi/ic_launcher.png"
# ("width") is less than 480 density-independent pixels, typically 320.
# Denisty-independent pixels are a way to measure physical size of the screen,
# e.g., a 5" phone. We use the "large" series of images for devices with at
# least 480 density-independent pixels of width, but smaller than xlarge. We
# use the "xlarge" series of images for devices at least 720
# density-independent pixels of width.
# least 480 density-independent pixels of width, but smaller than xlarge. We use
# the "xlarge" series of images for devices at least 720 density-independent
# pixels of width.
#
# Normal corresponds to a typical phone. Large corresponds to a large phone, or
# phone-tablet hybrid (phablet). Xlarge corresponds to a large tablet.
#
# In addition to the normal/large/xlarge physical size distinction, we need to
# choose images appropriate for the device's current DPI. Android defines a
# variety of screen DPI buckets; we use mdpi (1x), hdpi (1.5x), xhdpi (2x), and
# xxxhdpi (4x). The device will choose the best image to use based on its
# actual DPI.
# variety of screen DPI buckets; we use mdpi (1x), hdpi (1.5x), xhdpi (2x),
# xxhdpi (3x), and xxxhdpi (4x). The device will choose the best image to use
# based on its actual DPI.
#
# The simplest way to create these images is to create the largest one at
# 2880x2880, then scale down. Create images whose width and height are the
Expand All @@ -61,14 +61,17 @@ icon.square.192 = "app/src/main/res/mipmap-xxxhdpi/ic_launcher.png"
splash.normal.320 = "app/src/main/res/drawable/launch.png"
splash.normal.480 = "app/src/main/res/drawable-hdpi/launch.png"
splash.normal.640 = "app/src/main/res/drawable-xhdpi/launch.png"
splash.normal.960 = "app/src/main/res/drawable-xxhdpi/launch.png"
splash.normal.1280 = "app/src/main/res/drawable-xxxhdpi/launch.png"

splash.large.480 = "app/src/main/res/drawable-sw480dp/launch.png"
splash.large.720 = "app/src/main/res/drawable-sw480dp-hdpi/launch.png"
splash.large.960 = "app/src/main/res/drawable-sw480dp-xhdpi/launch.png"
splash.large.1440 = "app/src/main/res/drawable-sw480dp-xxhdpi/launch.png"
splash.large.1920 = "app/src/main/res/drawable-sw480dp-xxxhdpi/launch.png"

splash.xlarge.720 = "app/src/main/res/drawable-sw720dp/launch.png"
splash.xlarge.1080 = "app/src/main/res/drawable-sw720dp-hdpi/launch.png"
splash.xlarge.1440 = "app/src/main/res/drawable-sw720dp-xhdpi/launch.png"
splash.xlarge.2160 = "app/src/main/res/drawable-sw720dp-xxhdpi/launch.png"
splash.xlarge.2880 = "app/src/main/res/drawable-sw720dp-xxxhdpi/launch.png"

0 comments on commit daf123f

Please # to comment.