diff options
author | Jim Miller <jaggies@google.com> | 2012-04-27 17:33:44 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-05-06 22:39:18 -0700 |
commit | 354619c1cc1b4668c81c5368b2256335cc9e8538 (patch) | |
tree | ee4afffcfe5988d5ce3e5562e9712cd97b2c00e4 /packages/SystemUI/res/layout-port | |
parent | b709528407614642b2384063426d60ea12490607 (diff) | |
download | frameworks_base-354619c1cc1b4668c81c5368b2256335cc9e8538.zip frameworks_base-354619c1cc1b4668c81c5368b2256335cc9e8538.tar.gz frameworks_base-354619c1cc1b4668c81c5368b2256335cc9e8538.tar.bz2 |
Fix 6397736: Swipe up to search layout fixes
This fixes several layout issues on phones and tablets with MultiWaveView.
It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.
MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.
Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
Diffstat (limited to 'packages/SystemUI/res/layout-port')
-rw-r--r-- | packages/SystemUI/res/layout-port/status_bar_search_panel.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/SystemUI/res/layout-port/status_bar_search_panel.xml b/packages/SystemUI/res/layout-port/status_bar_search_panel.xml index 463fa04..2486b75 100644 --- a/packages/SystemUI/res/layout-port/status_bar_search_panel.xml +++ b/packages/SystemUI/res/layout-port/status_bar_search_panel.xml @@ -35,16 +35,17 @@ <RelativeLayout android:id="@+id/search_panel_container" android:layout_width="match_parent" - android:layout_height="230dip" + android:layout_height="wrap_content" android:layout_alignParentBottom="true"> <com.android.internal.widget.multiwaveview.MultiWaveView android:id="@+id/multi_wave_view" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="@dimen/navbar_search_panel_height" android:layout_alignParentBottom="true" android:background="@drawable/navbar_search_bg_scrim" + android:gravity="top" prvandroid:targetDrawables="@array/navbar_search_targets" prvandroid:targetDescriptions="@array/navbar_search_target_descriptions" @@ -54,8 +55,6 @@ prvandroid:outerRadius="@dimen/navbar_search_target_placement_radius" prvandroid:snapMargin="@dimen/navbar_search_snap_margin" prvandroid:hitRadius="@dimen/navbar_search_hit_radius" - prvandroid:horizontalOffset="0dip" - prvandroid:verticalOffset="60dip" prvandroid:feedbackCount="0" prvandroid:vibrationDuration="0" prvandroid:alwaysTrackFinger="true"/> |