• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:orientation="horizontal" android:layout_width="match_parent"
18    android:layout_height="match_parent">
19    <ListView
20        android:id="@+id/volume_list"
21        android:layout_width="0dp"
22        android:layout_height="match_parent"
23        android:layout_weight="3">
24    </ListView>
25
26    <LinearLayout
27        android:layout_width="0dp"
28        android:layout_height="match_parent"
29        android:layout_marginLeft="20dp"
30        android:orientation="vertical"
31        android:layout_weight="1">
32
33        <Button
34            android:id="@+id/refresh"
35            android:layout_width="wrap_content"
36            android:layout_height="wrap_content"
37            android:text="@string/refresh_volume"/>
38
39        <Button
40            android:id="@+id/volume_up"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:text="@string/volume_up"/>
44
45        <Button
46            android:id="@+id/volume_down"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            android:text="@string/volume_down"/>
50    </LinearLayout>
51
52    <LinearLayout
53        android:layout_width="0dp"
54        android:layout_height="match_parent"
55        android:layout_marginLeft="80dp"
56        android:orientation="vertical"
57        android:layout_weight="1">
58
59        <TextView
60            android:id="@+id/fader_title"
61            android:layout_width="wrap_content"
62            android:layout_height="wrap_content"
63            android:text="Fade" />
64
65        <SeekBar
66            android:id="@+id/fade_bar"
67            android:max="200"
68            android:layout_width="200dp"
69            android:layout_height="200dp"
70            android:rotation="270"/>
71
72        <TextView
73            android:id="@+id/balance_title"
74            android:layout_width="wrap_content"
75            android:layout_height="wrap_content"
76            android:text="Balance" />
77
78        <SeekBar
79            android:id="@+id/balance_bar"
80            android:max="200"
81            android:layout_width="200dp"
82            android:layout_height="20dp"/>
83    </LinearLayout>
84</LinearLayout>