Loading res/layout/call_stats_detail_info.xml +36 −0 Original line number Diff line number Diff line Loading @@ -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> res/layout/call_stats_list_item.xml +2 −1 Original line number Diff line number Diff line Loading @@ -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" Loading res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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> Loading res/values/cm_strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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> Loading res/values/colors.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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
res/layout/call_stats_detail_info.xml +36 −0 Original line number Diff line number Diff line Loading @@ -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>
res/layout/call_stats_list_item.xml +2 −1 Original line number Diff line number Diff line Loading @@ -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" Loading
res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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> Loading
res/values/cm_strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -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> Loading
res/values/colors.xml +1 −0 Original line number Diff line number Diff line Loading @@ -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>