The goal of this project is provide code to help you develop your own Android Apps.
Example:
...
TextView label=findViewById(R.id.label);
Utils.setObjectDimensions(this,label,"TextView",6.27,55,3);
...
this-> Context,
label-> your Android object,
"TextView" -> type of android object,
6.27 -> percentage of height of android device screen,
55 -> percentage of width of android device screen,
3 -> percentage of height of android device used to convert object textsize to its sp value
//
You should provide -1 to height, width and percentage for text accordingly your need of change the object dimensions,
Features
- Help you set dimensions of objects by percentage of screen (height and width)
Follow AndroidOpenObjectHandleUtils
Other Useful Business Software
Enterprise-grade ITSM, for every business
Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AndroidOpenObjectHandleUtils!