From 703573080e9ddc4360da7b81abdb0035d0eb97ce Mon Sep 17 00:00:00 2001 From: Cheng Xiaolong Date: Tue, 7 Jan 2014 02:01:17 -0500 Subject: Dialer: Add the subscription info for call log. Add the subscription info on the call log and call detail activity. - add spinner to select "ALL SIMS","SIM1","SIM2" to filter call log - add spinner to select "ALL CALLS","INCOMING CALLS ONLY", "OUTGOING CALLS ONLY","MISSED CALLS ONLY" Conflicts: res/layout/call_log_list_item.xml res/values-zh-rCN/strings.xml res/values/strings.xml src/com/android/dialer/CallDetailActivity.java src/com/android/dialer/DialtactsActivity.java src/com/android/dialer/PhoneCallDetails.java src/com/android/dialer/PhoneCallDetailsHelper.java src/com/android/dialer/calllog/CallDetailHistoryAdapter.java src/com/android/dialer/calllog/CallLogActivity.java src/com/android/dialer/calllog/CallLogAdapter.java src/com/android/dialer/calllog/CallLogListItemViews.java tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java Change-Id: Ib4ad371af61e9473dfe1b10e83abd2b1acaa7ef7 --- res/layout/call_detail_history_item.xml | 29 +++++++++-- res/layout/call_log_list_item.xml | 21 ++++++++ res/layout/call_log_spinner_item.xml | 37 ++++++++++++++ res/layout/msim_call_log_activity.xml | 38 ++++++++++++++ res/layout/msim_call_log_fragment.xml | 89 +++++++++++++++++++++++++++++++++ res/values/dimens.xml | 4 +- res/values/strings.xml | 5 ++ res/values/styles.xml | 10 ++++ 8 files changed, 226 insertions(+), 7 deletions(-) create mode 100644 res/layout/call_log_spinner_item.xml create mode 100644 res/layout/msim_call_log_activity.xml create mode 100644 res/layout/msim_call_log_fragment.xml mode change 100755 => 100644 res/values/strings.xml (limited to 'res') diff --git a/res/layout/call_detail_history_item.xml b/res/layout/call_detail_history_item.xml index a5acf5258..473e1410c 100644 --- a/res/layout/call_detail_history_item.xml +++ b/res/layout/call_detail_history_item.xml @@ -1,5 +1,8 @@ + diff --git a/res/layout/msim_call_log_activity.xml b/res/layout/msim_call_log_activity.xml new file mode 100644 index 000000000..54b37d422 --- /dev/null +++ b/res/layout/msim_call_log_activity.xml @@ -0,0 +1,38 @@ + + + + + diff --git a/res/layout/msim_call_log_fragment.xml b/res/layout/msim_call_log_fragment.xml new file mode 100644 index 000000000..524291695 --- /dev/null +++ b/res/layout/msim_call_log_fragment.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 028e82d56..fe7658a72 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -29,8 +29,8 @@ 32dip 54dp 4dip - 8dip - 8dip + 5dip + 10dip 24dip 56dip 64dip diff --git a/res/values/strings.xml b/res/values/strings.xml old mode 100755 new mode 100644 index 9bbceee93..702c1465d --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,7 +1,9 @@ Copy + All calls Show outgoing only @@ -767,4 +770,6 @@ "To call Speed dial, first turn off Airplane mode." The number has already been assigned to a speed dial key, please select another number. Device Identifier + SIM + All SIMs diff --git a/res/values/styles.xml b/res/values/styles.xml index 973c53470..101845f0a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -228,6 +228,16 @@ always + + -- cgit v1.2.3