Later, the parent will be able to use this information to pair with the child device, as an alternative to using mDNS
95 lines
3.0 KiB
XML
95 lines
3.0 KiB
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/LinearLayout1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:keepScreenOn="true"
|
|
tools:context="protect.babymonitor.MonitorActivity" >
|
|
|
|
<TextView
|
|
android:id="@+id/childDeviceTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/childDevice"
|
|
android:textSize="25sp" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="15dip" />
|
|
|
|
<TextView
|
|
android:id="@+id/serviceTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/serviceTitle"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/textService"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/loading"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/serviceDescription"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/serviceDescription" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="15dip" />
|
|
|
|
<TextView
|
|
android:id="@+id/addressTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/addressTitle"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/address"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textSize="20sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/portTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/portTitle"
|
|
android:textSize="20sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/port"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/loading"
|
|
android:textSize="20sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/addressDescription"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/addressDescription" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="15dip" />
|
|
|
|
<TextView
|
|
android:id="@+id/textStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:textSize="20sp" />
|
|
|
|
</LinearLayout> |