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

Commit 9a1add45 authored by Yu Jin's avatar Yu Jin Committed by Linux Build Service Account
Browse files

Refine Dialer UI and add call log search function.

Add call log search funtion: add a menu to support search
call log by name and number in the calllog screen and
support hightlight for search result.

Refine empty call log, clear call log and clear dialog style.
Refine call log spinner style.

CRs-Fixed: 985466

Change-Id: I4bf729bd9b0b043b651792353545da9b33aafe58
parent 6aaab7cd
Loading
Loading
Loading
Loading

res/drawable/clear.xml

0 → 100644
+40 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2016, The Linux Foundation. All rights reserved.
  ~
  ~ Redistribution and use in source and binary forms, with or without
  ~ modification, are permitted provided that the following conditions are
  ~ met:
  ~      Redistributions of source code must retain the above copyright
  ~       notice, this list of conditions and the following disclaimer.
  ~      Redistributions in binary form must reproduce the above
  ~       copyright notice, this list of conditions and the following
  ~       disclaimer in the documentation and/or other materials provided
  ~       with the distribution.
  ~      Neither the name of The Linux Foundation nor the names of its
  ~       contributors may be used to endorse or promote products derived
  ~       from this software without specific prior written permission.
  ~
  ~ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
  ~ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  ~ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
  ~ ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
  ~ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  ~ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  ~ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  ~ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  ~ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  ~ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  ~ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  ~
 -->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
       android:height="24dp"
       android:width="24dp"
       android:viewportHeight="24"
       android:viewportWidth="24">
    <path
        android:fillColor="#FFFFFF"
        android:pathData="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41z"/>
</vector>
+35 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2016, The Linux Foundation. All rights reserved.
  ~
  ~ Redistribution and use in source and binary forms, with or without
  ~ modification, are permitted provided that the following conditions are
  ~ met:
  ~      Redistributions of source code must retain the above copyright
  ~       notice, this list of conditions and the following disclaimer.
  ~      Redistributions in binary form must reproduce the above
  ~       copyright notice, this list of conditions and the following
  ~       disclaimer in the documentation and/or other materials provided
  ~       with the distribution.
  ~      Neither the name of The Linux Foundation nor the names of its
  ~       contributors may be used to endorse or promote products derived
  ~       from this software without specific prior written permission.
  ~
  ~ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
  ~ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  ~ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
  ~ ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
  ~ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  ~ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  ~ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  ~ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  ~ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  ~ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  ~ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  ~
 -->

<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
    <size android:width="2dp"/>
    <solid android:color="#FFFFFF"/>
</shape>
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal|top"
        android:textSize="@dimen/empty_list_message_text_size"
        android:textColor="@color/empty_list_text_color"
        android:textSize="@dimen/empty_list_message_text_size_for_Marshmallow"
        android:textColor="@color/no_call_log"
        android:paddingRight="16dp"
        android:paddingLeft="16dp"
        android:paddingTop="8dp"
+4 −0
Original line number Diff line number Diff line
@@ -37,12 +37,16 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    <Spinner
        android:id="@+id/filter_sub_spinner"
        android:layout_width="0dip"
        android:textSize="@dimen/call_log_spinner_text_size"
        android:textColor="@color/list_all_call"
        android:layout_height="@dimen/list_section_divider_min_height"
        android:layout_weight="1"
        android:layout_marginTop="5dip" />
    <Spinner
        android:id="@+id/filter_status_spinner"
        android:layout_width="0dip"
        android:textSize="@dimen/call_log_spinner_text_size"
        android:textColor="@color/list_all_call"
        android:layout_height="@dimen/list_section_divider_min_height"
        android:layout_weight="2"
        android:layout_marginTop="5dip" />
+5 −3
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/CallLogSpinnerStyle"
    android:layout_width="match_parent"
    android:layout_height="40dip"
    android:paddingLeft="8dip"
    android:paddingRight="8dip" />
    android:paddingTop="5dp"
    android:layout_height="50dip"
    android:paddingLeft="16dip"
    android:paddingRight="12dip"
    android:paddingBottom="8dp" />
Loading