summaryrefslogtreecommitdiffstats
path: root/res/layout-large/all_apps_tabbed.xml
blob: 1a20440e8fbcb9ddf235851fa175b42b8deec86a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<com.android.launcher2.AllAppsTabbed
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher">
    <com.android.launcher2.AllAppsBackground
        android:id="@+id/all_apps_background"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <!-- The layout_width of this RelativeLayout gets overwritten in
             AllAppsTabbed.onFinishInflate -->
        <RelativeLayout
            android:id="@+id/all_apps_tab_bar"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:background="@drawable/tab_unselected_holo">
            <com.android.launcher2.FocusOnlyTabWidget
                android:id="@android:id/tabs"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:tabStripEnabled="false" />
            <FrameLayout
                android:id="@+id/market_info_frame"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true">
                <com.android.launcher2.ApplicationInfoDropTarget
                    android:id="@+id/all_apps_info_target"
                    android:drawableRight="@drawable/ic_home_info_holo_dark"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:visibility="invisible"
                    android:background="@drawable/focusable_view_bg"
                    android:focusable="true" />
                <TextView
                    android:id="@+id/market_button"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center"
                    android:gravity="center"
                    android:paddingRight="22dp"
                    android:text="@string/market"
                    android:textColor="@color/workspace_all_apps_and_delete_zone_text_color"
                    android:textSize="18sp"
                    android:shadowColor="@color/workspace_all_apps_and_delete_zone_text_shadow_color"
                    android:shadowDx="0.0"
                    android:shadowDy="0.0"
                    android:shadowRadius="2.0"
                    android:background="@drawable/focusable_view_bg"
                    android:focusable="true" />
            </FrameLayout>
            <com.android.launcher2.DeleteZone
                android:id="@+id/all_apps_delete_zone"
                android:drawablePadding="@dimen/delete_zone_drawable_padding"
                android:drawableLeft="@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"

                android:gravity="center"
                android:textColor="@color/workspace_all_apps_and_delete_zone_text_color"
                android:textSize="18sp"
                android:shadowColor="@color/workspace_all_apps_and_delete_zone_text_shadow_color"
                android:shadowDx="0.0"
                android:shadowDy="0.0"
                android:shadowRadius="2.0"

                android:background="@drawable/focusable_view_bg"
                android:focusable="true" />
        </RelativeLayout>
        <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <com.android.launcher2.AllAppsPagedView
                android:id="@+id/all_apps_paged_view"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                launcher:pageLayoutWidthGap="@dimen/all_apps_view_pageLayoutWidthGap"
                launcher:pageLayoutHeightGap="@dimen/all_apps_view_pageLayoutHeightGap"
                launcher:pageLayoutPaddingTop="@dimen/all_apps_view_pageLayoutPaddingTop"
                launcher:pageLayoutPaddingBottom="@dimen/all_apps_view_pageLayoutPaddingBottom"
                launcher:pageLayoutPaddingLeft="@dimen/all_apps_view_pageLayoutPaddingLeft"
                launcher:pageLayoutPaddingRight="@dimen/all_apps_view_pageLayoutPaddingRight">
            </com.android.launcher2.AllAppsPagedView>
        </FrameLayout>
    </LinearLayout>
</com.android.launcher2.AllAppsTabbed>