blob: 12127f5290546c753cbd4165272c00b1cee3511f [file] [log] [blame]
Winson Chung1679b362012-09-10 20:08:01 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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-->
Alan Viverette515a48a2014-04-10 16:14:40 -070016<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Jason Monk29f7a7b2014-11-17 14:40:56 -050017 xmlns:systemui="http://schemas.android.com/apk/res-auto"
Amin Shaikh6adcacc52018-02-21 15:52:36 -050018 android:layout_height="wrap_content"
Adrian Roosd390b892016-05-05 10:50:49 -040019 android:layout_width="match_parent"
Amin Shaikh6adcacc52018-02-21 15:52:36 -050020 android:layout_gravity="center_vertical"
Adrian Roos5fd872e2014-08-12 17:28:58 +020021 style="@style/BrightnessDialogContainer">
Winson Chung1679b362012-09-10 20:08:01 -070022
Muyuan Li3b0f8922016-04-18 19:27:29 -070023 <com.android.systemui.settings.ToggleSliderView
Winson Chung1679b362012-09-10 20:08:01 -070024 android:id="@+id/brightness_slider"
25 android:layout_width="0dp"
Amin Shaikh6adcacc52018-02-21 15:52:36 -050026 android:layout_height="48dp"
Winson Chung5f623012012-09-14 14:58:43 -070027 android:layout_gravity="center_vertical"
Alan Viverette515a48a2014-04-10 16:14:40 -070028 android:layout_weight="1"
Dan Sandler187fe172015-06-11 09:56:24 -040029 android:contentDescription="@string/accessibility_brightness"
Selim Cinek4949c752015-06-26 14:49:18 -040030 android:importantForAccessibility="no"
Alan Viverette515a48a2014-04-10 16:14:40 -070031 systemui:text="@string/status_bar_settings_auto_brightness_label" />
32
Winson Chung1679b362012-09-10 20:08:01 -070033</LinearLayout>