Merge "Apply padding to fragment view rather than ListView"
diff --git a/res/drawable/floating_action_button.xml b/res/drawable/floating_action_button.xml
new file mode 100644
index 0000000..2f77232
--- /dev/null
+++ b/res/drawable/floating_action_button.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2014 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<shape
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="oval" >
+    <corners
+        android:radius="@dimen/floating_action_button_radius" />
+    <size
+        android:width="@dimen/floating_action_button_width"
+        android:height="@dimen/floating_action_button_height" />
+    <solid
+        android:color="@color/actionbar_background_color" />
+</shape>
\ No newline at end of file
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml
index 172b110..6d04103 100644
--- a/res/layout/dialtacts_activity.xml
+++ b/res/layout/dialtacts_activity.xml
@@ -123,7 +123,7 @@
         android:layout_marginRight="@dimen/floating_action_button_margin_right"
         android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"
         android:id="@+id/floating_action_button"
-        android:background="@color/actionbar_background_color"
+        android:background="@drawable/floating_action_button"
         android:layout_centerHorizontal="true"
         android:layout_alignParentBottom="true" >
         <ImageButton
diff --git a/src/com/android/dialer/list/AllContactsFragment.java b/src/com/android/dialer/list/AllContactsFragment.java
index 50f23aa..d05f66d 100644
--- a/src/com/android/dialer/list/AllContactsFragment.java
+++ b/src/com/android/dialer/list/AllContactsFragment.java
@@ -57,7 +57,6 @@
         adapter.setDisplayPhotos(true);
         adapter.setFilter(ContactListFilter.createFilterWithType(
                 ContactListFilter.FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY));
-        adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(true /* opposite */));
         adapter.setSectionHeaderDisplayEnabled(isSectionHeaderDisplayEnabled());
         return adapter;
     }