diff options
author | Tony <twickham@google.com> | 2017-07-05 12:32:16 -0700 |
---|---|---|
committer | Tony <twickham@google.com> | 2017-07-05 12:32:16 -0700 |
commit | 45cdfa78d4f39db1d18514c4cab0e0e8442b5202 (patch) | |
tree | 4acfb54fe6c5b06fcc16a147d32648e77828211d /res/layout | |
parent | f593fb916e1da8f218b265ba4a752b31cf3b2fb6 (diff) | |
download | android_packages_apps_Trebuchet-45cdfa78d4f39db1d18514c4cab0e0e8442b5202.tar.gz android_packages_apps_Trebuchet-45cdfa78d4f39db1d18514c4cab0e0e8442b5202.tar.bz2 android_packages_apps_Trebuchet-45cdfa78d4f39db1d18514c4cab0e0e8442b5202.zip |
Polish popup
- Remove divider between system shortcut header and shortcuts
- Slightly reduce padding between popup and icon
- Fix gravity to center in drag layer using x and y calculations since
we use the y value to position the popup when removing notifications
Change-Id: I1cb10ed953d11cc0924d8ee70881a434cb748317
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/horizontal_divider.xml | 5 | ||||
-rw-r--r-- | res/layout/popup_container.xml | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/res/layout/horizontal_divider.xml b/res/layout/horizontal_divider.xml deleted file mode 100644 index 167f8f5d8..000000000 --- a/res/layout/horizontal_divider.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<View xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="@dimen/popup_item_divider_height" - android:background="?attr/popupColorTertiary" />
\ No newline at end of file diff --git a/res/layout/popup_container.xml b/res/layout/popup_container.xml index e9cfe24ee..67db4a561 100644 --- a/res/layout/popup_container.xml +++ b/res/layout/popup_container.xml @@ -19,8 +19,8 @@ android:id="@+id/deep_shortcuts_container" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingTop="8dp" - android:paddingBottom="8dp" + android:paddingTop="4dp" + android:paddingBottom="4dp" android:clipToPadding="false" android:clipChildren="false" android:elevation="@dimen/deep_shortcuts_elevation" |