120 lines
4.6 KiB
XML
120 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2019 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="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
<ListView
|
|
android:id="@+id/callListView"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="#FFCC00"
|
|
android:dividerHeight="4px">
|
|
</ListView>
|
|
<GridLayout
|
|
android:columnCount="3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<Button
|
|
android:id="@+id/end_call_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/endCallButton" />
|
|
<Button
|
|
android:id="@+id/mute_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/muteButton" />
|
|
<Button
|
|
android:id="@+id/hold_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/holdButton"/>
|
|
<Button
|
|
android:id="@+id/rtt_iface_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/rttIfaceButton"/>
|
|
<Button
|
|
android:id="@+id/answer_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/answerCallButton"/>
|
|
<Button
|
|
android:id="@+id/start_rtt_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/startRttButton"/>
|
|
<Button
|
|
android:id="@+id/accept_rtt_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/acceptRttButton"/>
|
|
<Button
|
|
android:id="@+id/request_handover_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/handoverButton"/>
|
|
</GridLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<Spinner
|
|
android:id="@+id/available_bt_devices"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
<Button
|
|
android:id="@+id/set_bt_device_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setBtDeviceButton"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<Button
|
|
android:id="@+id/earpiece_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/earpieceButton"/>
|
|
<Button
|
|
android:id="@+id/speaker_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/speakerButton"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:id="@+id/current_route_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/currentRouteLabel"/>
|
|
<TextView
|
|
android:id="@+id/current_audio_route"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|