Font size of text

后端 未结 8 1995
伪装坚强ぢ
伪装坚强ぢ 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:03

    Actually you don't need to create all these layout directories to handle text size. Just stick with the normal one (layout) and create different values directories with different text size for each resolution you want to support. so you have to add text size in other values directories.

    At run-time Android will pick the correct text size.

提交回复
热议问题