You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.3 KiB
70 lines
2.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="96dp"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/advertise_btn"
|
|
android:layout_width="96dp"
|
|
android:layout_height="64dp"
|
|
android:onClick="clickAdvertise"
|
|
android:text="@string/register" />
|
|
|
|
<Button
|
|
android:id="@+id/discover_btn"
|
|
android:layout_width="96dp"
|
|
android:layout_height="64dp"
|
|
android:onClick="clickDiscover"
|
|
android:text="@string/discover" />
|
|
|
|
<Button
|
|
android:id="@+id/connect_btn"
|
|
android:layout_width="96dp"
|
|
android:layout_height="64dp"
|
|
android:onClick="clickConnect"
|
|
android:text="@string/connect" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/status"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="200dp"
|
|
android:focusable="true" />
|
|
|
|
<EditText
|
|
android:id="@+id/chatInput"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="80dp"
|
|
android:inputType="text"
|
|
android:singleLine="true" />
|
|
|
|
<Button
|
|
android:id="@+id/send_btn"
|
|
android:layout_width="96dp"
|
|
android:layout_height="64dp"
|
|
android:onClick="clickSend"
|
|
android:text="@string/send" />
|
|
|
|
</LinearLayout> |