diff options
author | Yorke Lee <yorkelee@google.com> | 2013-07-19 09:22:03 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-07-22 19:36:56 -0700 |
commit | d99993213962df64c9d76005df86c2fb83fca074 (patch) | |
tree | f8c1d5a39e4d64968e63026227e4a9a1be2a3871 /src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java | |
parent | 7025bfa554aabaf1824c208481eea4963bc4c425 (diff) |
Style and layout changes to match redlines
* Swapped out some icons with newly added assets.
* Changed search view into edit text with accompanying close button
so that it can be more easily styled.
* Changed various background colors.
* Tweaked padding values to match redlines
* Removed margins from PhoneFavoriteRegularRowView and PhoneFavoriteTileView
and instead use a standardized set of margins for all rows in
PhoneFavoritesTileAdapter
* Added bottom_border_background drawable to create a bordered background.
* Remove PhoneFavoritesTileAdapter.ViewTypes.STARRED/STARRED_PHONE since
they are no longer relevant
Change-Id: I65dfd5adf6cfbcb2c9d283aef2bd10e5d2a82dc7
Diffstat (limited to 'src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java')
-rw-r--r-- | src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java b/src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java index 49d46a851..fff5c9f7c 100644 --- a/src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java +++ b/src/com/android/dialer/list/NewPhoneFavoriteMergedAdapter.java @@ -250,13 +250,11 @@ public class NewPhoneFavoriteMergedAdapter extends BaseAdapter implements Sectio final int frequentHeaderPosition = mContactTileAdapter.getFrequentHeaderPosition(); // TODO krelease: Get rid of frequent header position, we don't need it anymore if (position >= frequentHeaderPosition) { - // Views for "frequent" contacts use FrameLayout's margins instead of padding. final FrameLayout frameLayout = (FrameLayout) view; final View child = frameLayout.getChildAt(0); FrameLayout.LayoutParams params = new FrameLayout.LayoutParams( FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT); - params.setMargins(mItemPaddingLeft, 0, mItemPaddingRight, 0); child.setLayoutParams(params); } return view; |