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