diff options
author | Adam Cohen <adamcohen@google.com> | 2010-12-01 15:09:47 -0800 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2010-12-01 20:30:56 -0800 |
commit | cdc30d5c07ae1cd13d9ebacad8c8ff1185d87e19 (patch) | |
tree | 60b063991b0d801a0f8b796a43b3edbd85fa12af /res/layout-xlarge-land/all_apps_tabbed.xml | |
parent | 29d6fea296ebecb607525c8245a54696ad7c5db7 (diff) | |
download | packages_apps_trebuchet-cdc30d5c07ae1cd13d9ebacad8c8ff1185d87e19.tar.gz packages_apps_trebuchet-cdc30d5c07ae1cd13d9ebacad8c8ff1185d87e19.tar.bz2 packages_apps_trebuchet-cdc30d5c07ae1cd13d9ebacad8c8ff1185d87e19.zip |
Removing CAB from AllApps
-Removed CAB and single selection mode
-Replaced it with trash and appinfo drag targets
at the top right of the tab view
Change-Id: Ic4acaaef7fc71dc2ca0bffd516da31e85af1be69
Diffstat (limited to 'res/layout-xlarge-land/all_apps_tabbed.xml')
-rw-r--r-- | res/layout-xlarge-land/all_apps_tabbed.xml | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/res/layout-xlarge-land/all_apps_tabbed.xml b/res/layout-xlarge-land/all_apps_tabbed.xml index eb506d16..bb30c11a 100644 --- a/res/layout-xlarge-land/all_apps_tabbed.xml +++ b/res/layout-xlarge-land/all_apps_tabbed.xml @@ -31,12 +31,36 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:tabStripEnabled="false" /> - <ImageView - android:id="@+id/market_button" + <FrameLayout + android:id="@+id/market_info_frame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" - android:onClick="onClickAppMarketButton" /> + android:layout_centerVertical="true"> + <com.android.launcher2.ApplicationInfoDropTarget + android:id="@+id/all_apps_info_target" + android:src="@drawable/info_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:visibility="invisible"/> + <ImageView + android:id="@+id/market_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:onClick="onClickAppMarketButton"/> + </FrameLayout> + <com.android.launcher2.DeleteZone + android:id="@+id/all_apps_delete_zone" + android:src="@drawable/delete_zone_selector" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toLeftOf="@id/market_info_frame" + android:layout_centerVertical="true" + android:visibility="invisible" + android:paddingRight="22dp" + launcher:direction="horizontal" /> </RelativeLayout> <FrameLayout android:id="@android:id/tabcontent" |