Created
December 24, 2019 11:08
-
-
Save sidishere/7bee2fa3b21651b441fb1358e04d7704 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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" | |
android:orientation="vertical" | |
tools:context=".LedControl"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="LED Control" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" /> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="ON" | |
android:id="@+id/onButton" | |
android:layout_gravity="center" | |
android:layout_marginTop="30dp" /> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="OFF" | |
android:id="@+id/offButton" | |
android:layout_marginTop="15dp" | |
android:layout_gravity="center" | |
/> | |
<Button | |
android:layout_marginTop="16dp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Disconnect" | |
android:layout_gravity="center" | |
android:id="@+id/disconnectButton" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment