diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-22 14:40:53 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-22 14:42:00 -0700 |
commit | 9623ed1894829cb046db36c5bdab71d2bcc4bd51 (patch) | |
tree | e5fb699a41e2799b9ec509bce7872af38445471f /res/layout/all_apps_tabs.xml | |
parent | 52587f708f71eeebb8ae2c8c4427b6e72e89d824 (diff) | |
download | android_packages_apps_Trebuchet-9623ed1894829cb046db36c5bdab71d2bcc4bd51.tar.gz android_packages_apps_Trebuchet-9623ed1894829cb046db36c5bdab71d2bcc4bd51.tar.bz2 android_packages_apps_Trebuchet-9623ed1894829cb046db36c5bdab71d2bcc4bd51.zip |
Using dimension instead of relyong on relativeLayout for view positions
Search box can be hidden as a result of various state flags. But the dependent
views should still retain their positions
Change-Id: I820ac11d120f9c78a457e64f3f21d9e8ff3f6110
Diffstat (limited to 'res/layout/all_apps_tabs.xml')
-rw-r--r-- | res/layout/all_apps_tabs.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/all_apps_tabs.xml b/res/layout/all_apps_tabs.xml index 2accd2d21..fea2eeae3 100644 --- a/res/layout/all_apps_tabs.xml +++ b/res/layout/all_apps_tabs.xml @@ -20,9 +20,8 @@ android:id="@+id/all_apps_tabs_view_pager" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_below="@id/search_container_all_apps" android:layout_gravity="center_horizontal|top" - android:layout_marginTop="@dimen/all_apps_header_tab_height" + android:layout_marginTop="@dimen/all_apps_tabs_top_margin" android:clipChildren="true" android:clipToPadding="false" android:descendantFocusability="afterDescendants" |