android - PercentSupportLibrary : Set percentage values in xml? -


i want use different layout width ratios larger tablet screens. there way set percentage based (fraction-type) values such layout_widthpercent , layout_marginstartpercent in dimens.xml?

i solved it. values in dimens.xml :

<resources>     <item name="width_percent" type="dimen">60%</item> </resources> 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -