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

Commit b3c7545e authored by linus_lee's avatar linus_lee Committed by Jessica Wagantall
Browse files

Separate blacklist from missed filter in history/stats

Change-Id: I50e2467b7ac8568c6956c2dbc085985fd2f34d99
parent f348f367
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -210,6 +210,42 @@

        </LinearLayout>

        <LinearLayout
            android:id="@+id/blacklist_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/call_log_icon_margin"
            android:orientation="vertical" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content" >

                <com.android.dialer.calllog.CallTypeIconsView
                    android:id="@+id/blacklist_icon"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical" />

                <TextView
                    android:id="@+id/blacklist_summary"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginStart="@dimen/call_log_icon_margin"
                    android:textColor="?attr/call_log_primary_text_color"
                    android:textSize="@dimen/call_log_primary_text_size" />

            </LinearLayout>

            <TextView
                android:id="@+id/blacklist_count"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textColor="?attr/call_log_secondary_text_color"
                android:textSize="@dimen/call_log_secondary_text_size" />

        </LinearLayout>

    </LinearLayout>

</RelativeLayout>
+2 −1
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@
        ex:backgroundColor="@color/call_stats_bar_background"
        ex:blueColor="@color/call_stats_incoming"
        ex:greenColor="@color/call_stats_outgoing"
        ex:redColor="@color/call_stats_missed" />
        ex:redColor="@color/call_stats_missed"
        ex:orangeColor="@color/call_stats_blacklist"/>

    <TextView
        android:id="@+id/number"
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@
        <attr name="redColor" format="color" />
        <attr name="greenColor" format="color" />
        <attr name="blueColor" format="color" />
        <attr name="orangeColor" format="color" />
        <attr name="backgroundColor" format="color" />
    </declare-styleable>

+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@
    <string name="call_stats_outgoing">Outgoing: <xliff:g id="percent">%d</xliff:g>%%</string>
    <string name="call_stats_missed">Missed</string>
    <string name="call_stats_missed_percent">Missed: <xliff:g id="percent">%d</xliff:g>%%</string>
    <string name="call_stats_blacklist">Blacklist</string>
    <string name="call_stats_blacklist_percent">Blacklist: <xliff:g id="percent">%d</xliff:g>%%</string>
    <string name="call_stats_header_total">Total: <xliff:g id="call_count">%s</xliff:g>, <xliff:g id="duration">%s</xliff:g></string>
    <string name="call_stats_header_total_callsonly">Total: <xliff:g id="call_count">%s</xliff:g></string>
    <string name="call_stats_filter_from">Start date</string>
+1 −0
Original line number Diff line number Diff line
@@ -107,5 +107,6 @@
    <color name="call_stats_incoming">#33b5e5</color>
    <color name="call_stats_outgoing">#99cc00</color>
    <color name="call_stats_missed">#eb1313</color>
    <color name="call_stats_blacklist">#ebaf0d</color>
    <color name="call_stats_bar_background">#88888888</color>
</resources>
Loading