* Attach to appropriate Settings pages
* Hide divider lines to match Settings UI styles
* Apply On/Off text on the switch bar toggle
* Implement AOSP Settings preference layouts for indentation
* Depends on android_packages_resources_devicesettings:
"DeviceSettings: Import Oreo Settings layouts"
Ib3f670b19c7e728b97fd76efe04bcc2f69008b06
* Partially based upon commit "Bring DozeSettings up to date"
I0850f7d9558a14f739f752f76002db993381a0e5 by Steve Kondik
for the SwitchBar integration but using native themes
Change-Id: Ic5b8335aafc9ce876ed90a25045398e39515e484
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
28 lines
946 B
XML
28 lines
946 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2014, 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:orientation="vertical"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent">
|
|
|
|
<include layout="@layout/switch_bar" />
|
|
|
|
</LinearLayout>
|