Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <Button
- android:id="@+id/button1"
- android:layout_width="350dp"
- android:layout_height="400dp"
- android:layout_gravity="center"
- android:text="Button 1" />
- <Button
- android:id="@+id/button2"
- android:layout_width="184dp"
- android:layout_height="214dp"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="18dp"
- android:backgroundTint="@color/teal_200"
- android:text="Button 2" />
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment