nafiefn_10

Untitled

May 1st, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context=".MainActivity">
  8.  
  9.     <Button
  10.        android:id="@+id/button1"
  11.        android:layout_width="350dp"
  12.        android:layout_height="400dp"
  13.        android:layout_gravity="center"
  14.        android:text="Button 1" />
  15.  
  16.     <Button
  17.        android:id="@+id/button2"
  18.        android:layout_width="184dp"
  19.        android:layout_height="214dp"
  20.        android:layout_gravity="center_horizontal"
  21.        android:layout_marginTop="18dp"
  22.        android:backgroundTint="@color/teal_200"
  23.        android:text="Button 2" />
  24. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment