diff options
Diffstat (limited to 'res/layout-xlarge-port')
-rw-r--r-- | res/layout-xlarge-port/all_apps_tabbed.xml | 21 | ||||
-rw-r--r-- | res/layout-xlarge-port/launcher.xml | 17 |
2 files changed, 25 insertions, 13 deletions
diff --git a/res/layout-xlarge-port/all_apps_tabbed.xml b/res/layout-xlarge-port/all_apps_tabbed.xml index 65e3729fd..038a9a039 100644 --- a/res/layout-xlarge-port/all_apps_tabbed.xml +++ b/res/layout-xlarge-port/all_apps_tabbed.xml @@ -20,13 +20,24 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - <TabWidget - android:id="@android:id/tabs" + <RelativeLayout android:layout_width="700dp" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" - android:background="@drawable/tab_unselected_holo" - android:tabStripEnabled="false" /> + android:background="@drawable/tab_unselected_holo"> + <TabWidget + android:id="@android:id/tabs" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:tabStripEnabled="false" /> + <ImageView + android:id="@+id/market_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:onClick="onClickAppMarketButton" /> + </RelativeLayout> <FrameLayout android:id="@android:id/tabcontent" android:layout_width="match_parent" @@ -34,7 +45,7 @@ <com.android.launcher2.AllAppsPagedView android:id="@+id/all_apps_paged_view" android:layout_width="match_parent" - android:layout_height="match_parent" + android:layout_height="wrap_content" launcher:cellCountX="5" launcher:cellCountY="7" launcher:pageLayoutWidthGap="36dp" diff --git a/res/layout-xlarge-port/launcher.xml b/res/layout-xlarge-port/launcher.xml index 13b69fee4..a6fff4a58 100644 --- a/res/layout-xlarge-port/launcher.xml +++ b/res/layout-xlarge-port/launcher.xml @@ -22,19 +22,13 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <include - layout="@layout/all_apps_tabbed" - android:id="@+id/all_apps_view" - android:layout_width="match_parent" - android:layout_height="1040dp" - android:layout_gravity="top"/> - <!-- The workspace contains 5 screens of cells --> <com.android.launcher2.Workspace android:id="@+id/workspace" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="?android:attr/actionBarSize" + android:paddingBottom="10dp" launcher:defaultScreen="2" launcher:cellCountX="8" launcher:cellCountY="7" @@ -47,6 +41,13 @@ <include android:id="@+id/cell5" layout="@layout/workspace_screen" /> </com.android.launcher2.Workspace> + <include + layout="@layout/all_apps_tabbed" + android:id="@+id/all_apps_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="top"/> + <RelativeLayout android:id="@+id/all_apps_button_cluster" android:layout_width="fill_parent" @@ -110,7 +111,7 @@ android:src="@drawable/delete_zone_selector" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_alignLeft="@id/all_apps_button" + android:layout_alignRight="@id/all_apps_button" android:visibility="gone" launcher:direction="horizontal" /> |