diff options
Diffstat (limited to 'java/com/android/dialer/historyitemactions/res/layout')
-rw-r--r-- | java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml | 10 | ||||
-rw-r--r-- | java/com/android/dialer/historyitemactions/res/layout/sheet_layout.xml | 23 |
2 files changed, 25 insertions, 8 deletions
diff --git a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml index f2dc8c7ac..721740f97 100644 --- a/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml +++ b/java/com/android/dialer/historyitemactions/res/layout/contact_layout.xml @@ -15,13 +15,15 @@ ~ limitations under the License --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/contact_layout_root" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_marginTop="8dp" - android:layout_marginBottom="12dp" - android:layout_marginEnd="8dp" + android:paddingTop="12dp" + android:paddingBottom="12dp" + android:paddingEnd="8dp" android:gravity="center_vertical" - android:orientation="horizontal"> + android:orientation="horizontal" + android:background="#FFFFFF"> <com.android.dialer.widget.ContactPhotoView android:id="@+id/contact_photo_view" diff --git a/java/com/android/dialer/historyitemactions/res/layout/sheet_layout.xml b/java/com/android/dialer/historyitemactions/res/layout/sheet_layout.xml index 6984367bf..006302e2d 100644 --- a/java/com/android/dialer/historyitemactions/res/layout/sheet_layout.xml +++ b/java/com/android/dialer/historyitemactions/res/layout/sheet_layout.xml @@ -16,9 +16,24 @@ --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/action_container" + android:id="@+id/history_item_actions_bottom_sheet_root" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingTop="4dp" - android:paddingBottom="8dp"/> + android:layout_height="match_parent"> + + <include layout="@layout/contact_layout"/> + + <android.support.v4.widget.NestedScrollView + android:id="@+id/history_actions_scroll_view" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:id="@+id/action_container" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingBottom="4dp" + android:clipToPadding="false"/> + </android.support.v4.widget.NestedScrollView> +</LinearLayout> |