I have a ImageView in my relative layout.
How can I get all the parametres of this ImageView: not the x and y but I need all the parametres from this view: like CenterHorizontal = true etc…
I have a ImageView in my relative layout. How can I get all the
Share
you can use
int[] RelativeLayout.LayoutParams.getRules()defined here http://developer.android.com/reference/android/widget/RelativeLayout.LayoutParams.html#getRules().Take the rules, parse it and get the value.