Android Question How to set text size according to device In Material design

JNG

Member
Licensed User
Hi!

I may be failing to understand the concept. Let me explain what I am looking for
I have declared all views width in respect to 100%x. User can download the app on Tablet and Phone of different density. The text size defined according to my testing device e.g. its a phone and text size defined is 14. When user installed the App on Tablet the View's size will increase then what about the text size.

regards
jng
 
Upvote 0

JNG

Member
Licensed User
you are true but to generalize the program I need to use width with respect to 100%x. Now displaying text is a problem on larger device. defined text size w.r.t larger device is very small. Anything dynamically or through Manifest which can sort out my problem of calculating text size according to device density or size
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…