How to give Percentage Based Dimensions and Marginsin android
Posted By : Chandan Wadhwa | 27-Dec-2015

After so many time now android introduce percentage support library to give percentage based layout width and height. A big help in running the app in multiple screen sizes.
Process of adding percentage based layout width and height .
Add the dependency
compile 'com.android.support:percent:22.2.0'
Now add the layout
Thanks
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Chandan Wadhwa
Chandan is an Android Apps developer with good experience in building native Android applications.