node-alljoyn
Version:
Access Alljoyn service functions
76 lines (64 loc) • 2.29 kB
text/xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TableRow android:gravity="center">
<TextView
android:text="Channel Name: "
/>
<TextView
android:id="@+id/useChannelName"
android:text="1234567890"
/>
</TableRow>
<TableRow android:gravity="center">
<TextView
android:text="Channel Status: "
/>
<TextView
android:id="@+id/useChannelStatus"
android:text="1234567890"
/>
</TableRow>
</TableLayout>
<LinearLayout
android:orientation="horizontal"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">
<Button
android:id="@+id/useJoin"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:text="Join Channel"
/>
<Button
android:id="@+id/useLeave"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:text="Leave Channel"
/>
</LinearLayout>
<EditText
android:id="@+id/useMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:hint="Enter message here"
/>
<ListView
android:id="@+id/useHistoryList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:divider="#ff505050"
android:background="#ff202020"
android:dividerHeight="1dp"
android:transcriptMode="alwaysScroll"
/>
</LinearLayout>