Skip to content

Instantly share code, notes, and snippets.

@kalvian1060
Created May 13, 2017 03:35
Show Gist options
  • Save kalvian1060/8251752a009ff5caa67af23962430bd9 to your computer and use it in GitHub Desktop.
Save kalvian1060/8251752a009ff5caa67af23962430bd9 to your computer and use it in GitHub Desktop.
Add 2 Button
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:text="Button1"
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<Button
android:text="Button2"
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment