diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-05 17:50:50 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-03-20 16:35:03 -0700 |
commit | 9e91bb0709f420a8c19c344965cc1410a38bccd5 (patch) | |
tree | dd9c2ffa81a910206186eed4f680115d6cfc44f6 /src | |
parent | 0b41f0f32c66cd7d58d2635d6b2434c467b82b2a (diff) |
Fix overdraw in Dialer
* Set window background to null per framework advice to reduce
overdraw
* Remove unnecessary background layers
* Fix the slightly deeper gray background above the searchbox
Bug: 10446771
Change-Id: Ie11db155593c7ea2118141aec876da37be35a7d5
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 1 | ||||
-rw-r--r-- | src/com/android/dialer/calllog/CallLogActivity.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index f302f2953..363adda4a 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -298,6 +298,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O fixIntent(intent); setContentView(R.layout.dialtacts_activity); + getWindow().setBackgroundDrawable(null); getActionBar().hide(); diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index 42318f0f1..d1b362365 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -115,6 +115,7 @@ public class CallLogActivity extends Activity { super.onCreate(savedInstanceState); setContentView(R.layout.call_log_activity); + getWindow().setBackgroundDrawable(null); final ActionBar actionBar = getActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); |