Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24b05191 authored by Jon Mann's avatar Jon Mann
Browse files

Fix color contrast in search view

Change the color of text handles, selection, and cursor to have contrast from the background in the search view.

Test: N/A
Bug: 34821154
Change-Id: Id2c6c8e42976456608163d1b39076c52489c9d7a
parent 3808de5d
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
       android:shape="rectangle" >
    <size android:width="1dp" />
    <solid android:color="@color/text_cursor"/>
</shape>
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
        android:src="@drawable/search_text_select_handle_left"
        android:tint="@color/text_handle" />
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
        android:src="@drawable/search_text_select_handle_middle"
        android:tint="@color/text_handle" />
 No newline at end of file
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
        android:src="@drawable/search_text_select_handle_right"
        android:tint="@color/text_handle" />
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@
    <color name="accent">@*android:color/Blue_700</color>
    <color name="accent_dark">@*android:color/accent_device_default_dark</color>

    <color name="text_cursor">@*android:color/white</color>
    <color name="text_handle">#FF82B1FF</color>     <!--Blue A100-->
    <color name="text_highlight">#FF82B1FF</color>  <!--Blue A100-->

    <color name="band_select_background">#88ffffff</color>
    <color name="band_select_border">#44000000</color>

Loading