From 5fcf8a92effbfa5864e15595137176cca88066ed Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 21 May 2014 14:12:29 -0700 Subject: Add padding to bottom of speed dial fragment Add padding to bottom of speed dial grid view so that content is not obscured by floating action button Also rename the layout to the more sane sounding speeddial_fragment.xml Change-Id: I5e745f6a0a3657bae7f84a3728a1c75986d32ebf --- res/layout/phone_favorites_fragment.xml | 56 --------------------- res/layout/speeddial_fragment.xml | 57 ++++++++++++++++++++++ src/com/android/dialer/list/SpeedDialFragment.java | 2 +- 3 files changed, 58 insertions(+), 57 deletions(-) delete mode 100644 res/layout/phone_favorites_fragment.xml create mode 100644 res/layout/speeddial_fragment.xml diff --git a/res/layout/phone_favorites_fragment.xml b/res/layout/phone_favorites_fragment.xml deleted file mode 100644 index 0b657df05..000000000 --- a/res/layout/phone_favorites_fragment.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - diff --git a/res/layout/speeddial_fragment.xml b/res/layout/speeddial_fragment.xml new file mode 100644 index 000000000..e8587faeb --- /dev/null +++ b/res/layout/speeddial_fragment.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + diff --git a/src/com/android/dialer/list/SpeedDialFragment.java b/src/com/android/dialer/list/SpeedDialFragment.java index 478327cc4..6e86a3e36 100644 --- a/src/com/android/dialer/list/SpeedDialFragment.java +++ b/src/com/android/dialer/list/SpeedDialFragment.java @@ -195,7 +195,7 @@ public class SpeedDialFragment extends Fragment implements OnItemClickListener, @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - mParentView = inflater.inflate(R.layout.phone_favorites_fragment, container, false); + mParentView = inflater.inflate(R.layout.speeddial_fragment, container, false); mListView = (PhoneFavoriteListView) mParentView.findViewById(R.id.contact_tile_list); mListView.setOnItemClickListener(this); -- cgit v1.2.3