node-alljoyn
Version:
Access Alljoyn service functions
238 lines (207 loc) • 8.79 kB
text/xml
<!--
Copyright AllSeen Alliance. All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/object_path"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:orientation="horizontal" >
<TextView
android:id="@+id/object_path_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/object_path"
android:textSize="16sp" />
<TextView
android:id="@+id/object_path_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/object_path"
android:layout_margin="10dp"
android:orientation="horizontal" >
<TextView
android:id="@+id/description_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/descirption"
android:textSize="16sp" />
<EditText
android:id="@+id/description_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:inputType="text"
android:maxLines="1"
android:textSize="16sp" />
</LinearLayout>
<RelativeLayout
android:id="@+id/interval_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/description"
android:layout_margin="10dp" >
<TextView
android:id="@+id/interval_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="@string/interval"
android:textSize="16sp" />
<EditText
android:id="@+id/interval_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:layout_toRightOf="@+id/interval_title"
android:clickable="false"
android:focusable="false"
android:textSize="16sp" />
<Switch
android:id="@+id/enabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:checked="true"
android:clickable="true"
android:textOff="IDLE"
android:textOn="RUN" />
</RelativeLayout>
<LinearLayout
android:id="@+id/remaining_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/interval_layout"
android:layout_margin="10dp" >
<TextView
android:id="@+id/remaining_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/remaining"
android:textSize="16sp" />
<TextView
android:id="@+id/remaining_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textSize="16sp" />
</LinearLayout>
<RelativeLayout
android:id="@+id/repeat_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/remaining_layout"
android:layout_margin="10dp" >
<TextView
android:id="@+id/repeat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/repeat"
android:textSize="16sp" />
<View
android:id="@+id/septator"
android:layout_width="60dp"
android:layout_height="1dp"
android:layout_below="@+id/repeat"
android:background="@color/darker_gray" />
<LinearLayout
android:id="@+id/checkbox_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/septator"
android:layout_marginLeft="10dp" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/forever"
android:textSize="16sp" />
<CheckBox
android:id="@+id/infinite"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:id="@+id/count_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/checkbox_layout"
android:layout_marginLeft="10dp"
android:orientation="horizontal" >
<TextView
android:id="@+id/count_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/count"
android:textSize="16sp" />
<EditText
android:id="@+id/count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:clickable="false"
android:focusable="false"
android:textSize="16sp" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/repeat_layout"
android:layout_marginTop="10dp"
android:orientation="vertical" >
<CheckBox
android:id="@+id/register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/manage_timers_register_timer_signals" />
</LinearLayout>
<LinearLayout
android:id="@+id/button_layout"
android:layout_width="fill_parent"
android:layout_height="48dp"
android:layout_alignParentBottom="true"
android:layout_margin="20dp"
android:orientation="horizontal" >
<Button
android:id="@+id/left"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginRight="1dp"
android:layout_weight="1"
android:focusable="false"
android:text="@string/cancel"
android:textSize="16sp" />
<Button
android:id="@+id/right"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_weight="1"
android:focusable="true"
android:text="@string/ok"
android:textSize="16sp" />
</LinearLayout>
</RelativeLayout>