Where can one find a list of resource identifiers for common Android elements and their attributes?
For example:
getResources().getIdentifier("status_bar_height", "dimen", "android")
you can identify the commom resouces by using one of these methods.
Using xml for exemple set heigth to statusbar:
android:minHeight="?attr/actionBarSize"
Or by java code:
toolbarinfocasa.setMinimumHeight(android.R.attr.actionBarSize);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.