How to show a button half on one layout and half on another layout in android?
问题 I want to design a layout like the image below: I tried to do it using Relative layout but I did not come up with a solution. It should be in the same position for all device screen. How can I achieve it??? I tried this code: <?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" android:orientation="vertical" > <RelativeLayout android:id="@+id/relative_layout