From 69c247f619fd2f2474070bdbcec32b78f6444149 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 22 Jul 2014 11:49:49 -0700 Subject: Make ViewPagerTabs and FABController RTL aware * Underline in ViewPagerTabStrips is correctly drawn in RTL mode * Clicking on ViewPagerTabs propogates correct onPageSelected position to ViewPager * FAB is now end aligned instead of right aligned * ViewPager in Dialer is correctly reversed and behaves correctly * Call Log groups headers in call log are now correctly aligned in RTL Bug: 16162264 Bug: 16464471 Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5 --- res/layout/call_log_list_item.xml | 3 ++- src/com/android/dialer/DialtactsActivity.java | 21 ++++++++++++++++----- src/com/android/dialer/calllog/CallLogActivity.java | 2 +- src/com/android/dialer/list/ListsFragment.java | 17 +++++++++++------ src/com/android/dialer/util/DialerUtils.java | 9 +++++++++ 5 files changed, 39 insertions(+), 13 deletions(-) diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index 193859273..1e61f7768 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -25,8 +25,9 @@ above a group of call log entries. -->