syahrizan

activity_main.xml

Jan 8th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     android:layout_width="match_parent"
  4.     android:layout_height="match_parent"
  5.     android:padding="10dp"
  6.     android:orientation="vertical">
  7.  
  8.     <TextView
  9.         android:layout_margin="5dp"
  10.         android:layout_width="wrap_content"
  11.         android:layout_height="wrap_content"
  12.         android:text="TWOH.Co Realtime Database"/>
  13.  
  14.     <Button
  15.         android:layout_margin="5dp"
  16.         android:id="@+id/bt_createdata"
  17.         android:layout_width="match_parent"
  18.         android:layout_height="wrap_content"
  19.         android:text="Tambah Data" />
  20.  
  21.     <Button
  22.         android:layout_margin="5dp"
  23.         android:id="@+id/bt_viewdata"
  24.         android:layout_width="match_parent"
  25.         android:layout_height="wrap_content"
  26.         android:text="Lihat Data" />
  27.  
  28. </LinearLayout>
Add Comment
Please, Sign In to add comment