Advertisement
iam9_91

activity_main.xml - Intent

Jun 17th, 2020
1,612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:id="@+id/activity_main"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:padding="20dp"
  8.    tools:context=".MainActivity">
  9.  
  10.  
  11.     <Button
  12.        android:text="TELEPON"
  13.        android:layout_width="match_parent"
  14.        android:layout_height="wrap_content"
  15.        android:layout_alignParentTop="true"
  16.        android:layout_centerHorizontal="true"
  17.        android:id="@+id/btnpgl"
  18.        android:onClick="panggil"
  19.        />
  20.  
  21.     <Button
  22.        android:text="BUKA BROWSER "
  23.        android:layout_width="match_parent"
  24.        android:layout_height="wrap_content"
  25.        android:layout_below="@+id/btnpgl"
  26.        android:layout_centerHorizontal="true"
  27.        android:layout_marginTop="11dp"
  28.        android:id="@+id/btnbuka"
  29.        android:onClick="buka"/>
  30.  
  31. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement