Updated Android application, modified Arduino Sketch to stop in case of
loss of signal.
This commit is contained in:
@@ -22,4 +22,31 @@
|
||||
android:text="@string/srv"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/text"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_margin="10dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/explain" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/killserverbutton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/textView1"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/killserver" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/startvideo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_margin="10dp"
|
||||
android:src="@drawable/ic_device_access_video" />
|
||||
|
||||
</RelativeLayout>
|
Reference in New Issue
Block a user