Font size of text

后端 未结 8 2001
伪装坚强ぢ
伪装坚强ぢ 2021-01-29 04:29

I have created different layouts (layout, layout-small, layout-normal, layout-large, layout-xlarge) and for values (values, values-ldpi, values-mdpi, values-n

8条回答
  •  遥遥无期
    2021-01-29 05:24

    Just create layout folders like layout, layout-small, layout-large, layout-xlarge then create values folders like values, values-ldpi, values-mdpi, values-hdpi, values-xhdpi. Then you can create values folder depending upon height or width and belongs to ldpi or mdpi i.e values-w360dp-mdpi or values-h600dp-mdpi. Then android automatically picks layout depending upon screen size and values on depending height or width.

提交回复
热议问题