• 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
20    <LinearLayout
21        android:layout_width="0dp"
22        android:layout_height="match_parent"
23        android:layout_marginLeft="20dp"
24        android:orientation="vertical"
25        android:layout_weight="3">
26        <com.google.android.material.tabs.TabLayout
27            android:id="@+id/zones_tab"
28            android:layout_width="0dp"
29            android:layout_height="wrap_content">
30        </com.google.android.material.tabs.TabLayout>
31        <androidx.viewpager.widget.ViewPager
32            android:id="@+id/zone_view_pager"
33            android:layout_width="match_parent"
34            android:layout_height="0dp"
35            android:layout_weight="1">
36        </androidx.viewpager.widget.ViewPager>
37    </LinearLayout>
38
39    <LinearLayout
40        android:layout_width="0dp"
41        android:layout_height="match_parent"
42        android:layout_marginLeft="20dp"
43        android:orientation="vertical"
44        android:layout_weight="1">
45
46        <Button
47            android:id="@+id/volume_up"
48            android:layout_width="wrap_content"
49            android:layout_height="wrap_content"
50            android:text="@string/volume_up"/>
51
52        <Button
53            android:id="@+id/volume_down"
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:text="@string/volume_down"/>
57    </LinearLayout>
58
59    <LinearLayout
60        android:layout_width="0dp"
61        android:layout_height="match_parent"
62        android:layout_marginLeft="80dp"
63        android:orientation="vertical"
64        android:layout_weight="1">
65
66        <TextView
67            android:id="@+id/fader_title"
68            android:layout_width="wrap_content"
69            android:layout_height="wrap_content"
70            android:text="Fade" />
71
72        <SeekBar
73            android:id="@+id/fade_bar"
74            android:max="200"
75            android:layout_width="200dp"
76            android:layout_height="200dp"
77            android:rotation="270"/>
78
79        <TextView
80            android:id="@+id/balance_title"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            android:text="Balance" />
84
85        <SeekBar
86            android:id="@+id/balance_bar"
87            android:max="200"
88            android:layout_width="200dp"
89            android:layout_height="20dp"/>
90    </LinearLayout>
91</LinearLayout>