sdm710-common: doze: Follow Android 10 changes on switchbar

Change-Id: Ifad28dc874233eb41d89580895b769ecbc3ea670
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
jhenrique09 2019-09-11 18:10:23 -03:00 committed by SamarV-121
parent cb71f930d5
commit 12ba690e5b
4 changed files with 39 additions and 4 deletions

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 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.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/black" />
</selector>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 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.
-->
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#82000000" />
</selector>

View file

@ -15,6 +15,6 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#ff80868B" android:state_activated="false" /> <item android:color="@*android:color/material_grey_600" android:state_activated="false" />
<item android:color="?android:attr/colorAccent" android:state_activated="true" /> <item android:color="?android:attr/colorAccent" android:state_activated="true" />
</selector> </selector>

View file

@ -32,9 +32,9 @@
android:paddingStart="56dp" android:paddingStart="56dp"
android:maxLines="2" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:textAppearance="@android:style/TextAppearance.Material.Title" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title"
android:textColor="@android:color/white" android:textColor="?android:attr/textColorPrimaryInverse"
android:textSize="18sp" android:textSize="16sp"
android:textAlignment="viewStart" /> android:textAlignment="viewStart" />
<Switch <Switch