Created
June 7, 2018 10:25
-
-
Save ssaurel/c1113224d4ac06cb6de527771aa03464 to your computer and use it in GitHub Desktop.
UI for our Lock Screen Device App on the SSaurel's Channel
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"?> | |
<RelativeLayout 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" | |
tools:context="com.ssaurel.lockdevice.MainActivity"> | |
<Button | |
android:id="@+id/lock" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="50dp" | |
android:text="Lock the Phone" | |
android:layout_centerHorizontal="true"/> | |
<Button | |
android:id="@+id/enableBtn" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="50dp" | |
android:text="Enable" | |
android:layout_centerHorizontal="true" | |
android:layout_below="@id/lock"/> | |
<Button | |
android:id="@+id/disableBtn" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="50dp" | |
android:text="Disable" | |
android:layout_centerHorizontal="true" | |
android:layout_below="@id/enableBtn"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment