Wake on lan demo added
This commit is contained in:
@@ -12,4 +12,12 @@
|
||||
<ImageView android:id="@+id/ivQR"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<Button android:id="@+id/btnWolPage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Go to wake on lan page"
|
||||
android:background="@color/blue"
|
||||
android:textColor="@color/white"
|
||||
android:height="15pt"/>
|
||||
</LinearLayout>
|
||||
19
DemoAndroid/Resources/layout/activity_wakeonlan.xml
Normal file
19
DemoAndroid/Resources/layout/activity_wakeonlan.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Start PC by tapping button below" />
|
||||
|
||||
<Button android:id="@+id/btnWakeOnLan"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Start PC"
|
||||
android:textColor="@color/white"
|
||||
android:background="@color/blue"
|
||||
android:height="15pt"
|
||||
android:layout_margin="10pt"/>
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user