summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2014-08-14 12:57:28 -0700
committerAdam Cohen <adamcohen@google.com>2014-08-14 13:15:32 -0700
commita00673c7d9f3fcfc81a6e1c6aa7b831951331e84 (patch)
tree3ee6a8e89c1dad5b19914da79ae77199699aff33 /res/layout
parent63f1ec00fbbd109130d1e476371dbc9a87bb544d (diff)
downloadandroid_packages_apps_Trebuchet-a00673c7d9f3fcfc81a6e1c6aa7b831951331e84.tar.gz
android_packages_apps_Trebuchet-a00673c7d9f3fcfc81a6e1c6aa7b831951331e84.tar.bz2
android_packages_apps_Trebuchet-a00673c7d9f3fcfc81a6e1c6aa7b831951331e84.zip
Fix issues with the new widget layout
-> use first layout instead of first measure to determine size -> fix issue where we were doubly accounting for padding of AppsCustomizePagedView -> show page backgrounds by default, hide fake page by default -> stripping some dead code related to the market button and all apps cling Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/apps_customize_pane.xml10
1 files changed, 1 insertions, 9 deletions
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml
index b1ba8d103..c2d399e29 100644
--- a/res/layout/apps_customize_pane.xml
+++ b/res/layout/apps_customize_pane.xml
@@ -40,6 +40,7 @@
android:id="@+id/fake_page"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:visibility="invisible"
android:clipToPadding="false" />
</FrameLayout>
<com.android.launcher3.AppsCustomizePagedView
@@ -60,13 +61,4 @@
android:layout_height="wrap_content"
android:layout_gravity="center" />
</LinearLayout>
-
- <include
- android:id="@+id/market_button"
- layout="@layout/market_button"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_gravity="end"
- android:visibility="gone"/>
-
</com.android.launcher3.AppsCustomizeTabHost>