diff options
author | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-12-09 18:32:38 +0000 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-01-24 16:24:24 -0800 |
commit | 3cf0c6dd7a82713fc14304632dec86c002d83821 (patch) | |
tree | 063ed8367eaf3765e43beac8bfeacf8d903b3746 /res/layout | |
parent | d04d02edd24c9eff4d51b3436922414c0db36220 (diff) | |
download | android_packages_apps_Trebuchet-3cf0c6dd7a82713fc14304632dec86c002d83821.tar.gz android_packages_apps_Trebuchet-3cf0c6dd7a82713fc14304632dec86c002d83821.tar.bz2 android_packages_apps_Trebuchet-3cf0c6dd7a82713fc14304632dec86c002d83821.zip |
AppsCustomize: Remove tabs
Change-Id: I8c3b146b4f3a60f28b9bce16c37e57696cbe2944
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/apps_customize_pane.xml | 85 |
1 files changed, 25 insertions, 60 deletions
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index 11a938fbb..fbcd9f6c3 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -13,69 +13,34 @@ See the License for the specific language governing permissions and limitations under the License. --> -<com.android.launcher3.AppsCustomizeTabHost +<com.android.launcher3.AppsCustomizeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" - android:background="#80FFFFFF"> - <LinearLayout + xmlns:launcher="http://schemas.android.com/apk/res-auto" + android:background="#80FFFFFF" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <FrameLayout android:id="@+id/apps_customize_content" - android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone"> - <!-- The layout_width of the tab bar gets overriden to align the content - with the text in the tabs in AppsCustomizeTabHost. --> - <FrameLayout - android:id="@+id/tabs_container" - android:layout_width="wrap_content" - android:layout_height="@dimen/apps_customize_tab_bar_height" - android:layout_marginTop="@dimen/apps_customize_tab_bar_margin_top" - android:layout_gravity="center_horizontal" - android:visibility="gone"> - <com.android.launcher3.FocusOnlyTabWidget - android:id="@android:id/tabs" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_gravity="center" - android:gravity="start" - android:background="@drawable/tab_unselected_holo" - android:tabStripEnabled="false" - android:divider="@null" /> - <include - android:id="@+id/market_button" - layout="@layout/market_button" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_gravity="end" /> - </FrameLayout> - <FrameLayout - android:id="@android:id/tabcontent" + <com.android.launcher3.AppsCustomizePagedView + android:id="@+id/apps_customize_pane_content" android:layout_width="match_parent" - android:layout_height="match_parent"> - <com.android.launcher3.AppsCustomizePagedView - android:id="@+id/apps_customize_pane_content" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginBottom="@dimen/apps_customize_page_indicator_offset" - launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" - launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" - launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" - launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" - launcher:maxGap="@dimen/workspace_max_gap" - launcher:pageIndicator="@+id/page_indicator" /> - <FrameLayout - android:id="@+id/animation_buffer" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="#FF000000" - android:visibility="gone" /> - <include - android:id="@+id/page_indicator" - layout="@layout/page_indicator" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="bottom|center_horizontal" - android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> - </FrameLayout> - </LinearLayout> -</com.android.launcher3.AppsCustomizeTabHost> + android:layout_height="match_parent" + android:layout_marginBottom="@dimen/apps_customize_page_indicator_offset" + launcher:widgetCountX="@integer/apps_customize_widget_cell_count_x" + launcher:widgetCountY="@integer/apps_customize_widget_cell_count_y" + launcher:clingFocusedX="@integer/apps_customize_cling_focused_x" + launcher:clingFocusedY="@integer/apps_customize_cling_focused_y" + launcher:maxGap="@dimen/workspace_max_gap" + launcher:pageIndicator="@+id/page_indicator" /> + <include + android:id="@+id/page_indicator" + layout="@layout/page_indicator" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|center_horizontal" + android:layout_marginBottom="@dimen/apps_customize_page_indicator_margin" /> + </FrameLayout> +</com.android.launcher3.AppsCustomizeLayout> |