Skip to content
Snippets Groups Projects
Verified Commit 44078def authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improve visibility of icons

parent bd4dcc96
No related branches found
No related tags found
No related merge requests found
<?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="?colorAccent" android:state_focused="true" />
<item android:alpha="1.00" android:color="?colorTextSecondary" android:state_hovered="true" />
<item android:alpha="0.38" android:color="?colorTextSecondary" android:state_enabled="false" />
<item android:alpha="0.87" android:color="?colorTextSecondary" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorAccent" android:state_activated="true" />
<item android:alpha="0.38" android:color="?attr/colorOnSurface" android:state_enabled="false" />
<item android:alpha="0.6" android:color="?attr/colorOnSurface" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="4dp" />
<stroke
android:width="1dp"
android:color="@color/color_indicator" />
</shape>
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/spinner_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start|top"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:letterSpacing="0.0333333333"
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:textColor="@color/color_indicator"
android:textSize="12sp"
tools:ignore="UnusedAttribute"
tools:text="Name" />
......@@ -134,6 +134,7 @@
<item name="android:textColorHint">?colorTextSecondary</item>
<item name="hintTextColor">?colorAccent</item>
<item name="boxStrokeColor">@color/color_outlined_stroke</item>
<item name="passwordToggleTint">@color/color_icons</item>
</style>
<style name="Widget.CoreSettings.Wrapper" parent="">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment