xml - Android: Possible Bug in Android -
i have 2 views using arrange buttons on screen. screen size seeing result on moto g in landscape mode - 640dp * 360dp . problem - buttons arranging them according view id=center_parent instead of the 1 id=left_corner <?xml version="1.0" encoding="utf-8"?> <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <view android:id="@+id/center_parent" android:layout_centerinparent="true" android:layout_width="0dp" android:layout_height="0dp"/> <view android:id="@+id/left_corner" android:layout_width="0dp" android:layout_height="0dp" android:layout_toleftof="@+id/center_parent" android:layout_marginright="165dp" android:layout_above="@+id/center_parent" ...