The dimens.xml
file that comes with the Android
platform (located in the data\res\values directory) defines a dimension named action_button_min_width (value is 56dip).
Is there a way I can get this value programatically than hard-coding it in my code?
The suggestions and duplicate references seem to address getting a value from the resources the I've defined in my own app. My question pertains to getting a value from a resource that is part of Android. When I try the following getResources().getString(android.R.dimen.action_button_min_width); I get a compile error because action_button_min_width is not defined.