Way to declare tablet layouts was to put them in a directory with the Note: As indicated by the small, normal, large and xlarge have been deprecated since Android 3.2 in favor of the following:įor the first generation of tablets running Android 3.0, the proper In other values folder you need to change values for your text size. In that pdf go to Page No:77 in which you will find how there suggesting for using dimens.xml for different devices of android for Example see Below structure : res/values/dimens.xmlįor Example you have used below dimens.xml in values. The full custom button style in my application theme I have there is my layout: I think you need to check this Google IO Pdf for Design. I've tried to use both 'sp' and 'dp' with the same result.Ĭould you please explain how to make these buttons look the same on any screen? I try to use 'sp' as size units in my custom style: I know, it was discussed already 1000 times, but I can't adjust the text size for different screen sizes.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |