How to include Background images for android apps -
i have designed background images layout , list view 6 different dpi scales, how can included them in project cause image assets configuration has luncher , navigation & tabs & notifications icons (not images) .
(how include , tell android have background image each screen ??)
any suggestions appreciated
you have put images different densities (alternate resource files) in different folders contains density qualifier in names.
like in:
- drawable
- drawable-hdpi
- drawable-xhdpi
to create such folders in android studio:
- right click on resource folder ('res') or click on file menu
- new > android resource directory
- change resource type 'drawable'
- add (>>) 'density' available qualifiers
- choose required density qualifier dropped list on right side
- and click ok
or
- right click on resource folder ('res')
- new > directory
- type 'drawable' required qualifier (ex. drawable-xhdpi)
read here more details
Comments
Post a Comment