How to correcttly size text for different android screens using multiple views, where to store views -


I understand that to see my app on multiple devices, I need several views depending on screen size .

Can I store these new ideas in these drawable folders or should I create a new folder where the existing layout folder is such: -

layout- ldpi layout- MDPI layout - HDPI layout - xhdpi

  1. The view that you type in the drawables folder
  2. If a layout from the default layout folder does not fit in certain screens, then you can add the new layout to the qualifier () Can be defined again in a new folder, ie Layout - Refer to the corresponding accordingly and defined ideas Do not use plain numbers when defining the size of the elements of the layout in the drawables folder, instead they should be < Strong> values ​​ in different folders in related folders.
  3. Define numerical values ​​in the values ​​ folder and redefine them as necessary by creating extra folders in addition to the same logic with the layout, such as value-large For larger screen Android this reference will be referred to the folder_basic_name-large format to access layout design and parameters.

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -