diff options
author | Yorke Lee <yorkelee@google.com> | 2014-05-21 14:12:29 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-05-21 14:12:29 -0700 |
commit | 5fcf8a92effbfa5864e15595137176cca88066ed (patch) | |
tree | a237220a179f68d4334399c53c7ef5c04170292e | |
parent | 10b8308de4a329ea7ac4165fe2a1fa7a8fa3dca0 (diff) |
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
-rw-r--r-- | res/layout/speeddial_fragment.xml (renamed from res/layout/phone_favorites_fragment.xml) | 1 | ||||
-rw-r--r-- | src/com/android/dialer/list/SpeedDialFragment.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/phone_favorites_fragment.xml b/res/layout/speeddial_fragment.xml index 0b657df05..e8587faeb 100644 --- a/res/layout/phone_favorites_fragment.xml +++ b/res/layout/speeddial_fragment.xml @@ -40,6 +40,7 @@ android:clipToPadding="false" android:fadingEdge="none" android:divider="@null" + android:paddingBottom="@dimen/floating_action_button_height" android:nestedScrollingEnabled="true" /> </FrameLayout> 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); |