Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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/view"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_centerInParent="true"
- />
- <View
- android:id="@+id/your_view"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_above="@+id/view"
- android:layout_centerHorizontal="true"
- />
- </RelativeLayout>
- <RelativeLayout>
- <View android:id="@+id/delimiter"
- android:layout_centerVertical="true"/>
- <YourView android:layout_above="@+id/delimiter"
- android:layout_centerHorizontal="true" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement