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:

  1. right click on resource folder ('res') or click on file menu
  2. new > android resource directory
  3. change resource type 'drawable'
  4. add (>>) 'density' available qualifiers
  5. choose required density qualifier dropped list on right side
  6. and click ok

or

  1. right click on resource folder ('res')
  2. new > directory
  3. type 'drawable' required qualifier (ex. drawable-xhdpi)

read here more details


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -