diff options
author | Yorke Lee <yorkelee@google.com> | 2014-05-23 19:30:35 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-05-23 19:33:07 -0700 |
commit | 3443d4ae53a0c3dc51647b2306bdc5255043ca9c (patch) | |
tree | 613145eafc71082c8708786990f1f8935df2e5fe /src | |
parent | 29406c8568e69627e1559155290b4673f697d03a (diff) |
Increase size of actionBar
* Increase size of actionBar to 64dps and also add 8dps of padding
to the search box.
* Removed some unused styles
Bug: 15165670
Change-Id: Ia232431b2e637c9ccbdd0710f723f2063add524b
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 8445ff76d..9f7e47f05 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -346,10 +346,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O final OptionsPopupMenu optionsMenu = buildOptionsMenu(optionsMenuButton); optionsMenuButton.setOnTouchListener(optionsMenu.getDragToOpenListener()); - final TypedArray styledAttributes = getTheme().obtainStyledAttributes( - new int[] { android.R.attr.actionBarSize }); - mActionBarHeight = (int) styledAttributes.getDimension(0, 0); - styledAttributes.recycle(); + mActionBarHeight = getResources().getDimensionPixelSize(R.dimen.action_bar_height); // Add the favorites fragment, and the dialpad fragment, but only if savedInstanceState // is null. Otherwise the fragment manager takes care of recreating these fragments. |