status_bar_search_panel.xml revision e898ac59db04d8ab0762180ca8ec7cea1347aa09
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* apps/common/assets/default/default/skins/StatusBar.xml
4**
5** Copyright 2012, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<com.android.systemui.SearchPanelView
22    xmlns:prvandroid="http://schemas.android.com/apk/prv/res/android"
23    xmlns:android="http://schemas.android.com/apk/res/android"
24    android:id="@+id/search_panel_container"
25    android:layout_height="match_parent"
26    android:layout_width="match_parent"
27    android:paddingBottom="0dip">
28
29    <RelativeLayout
30        android:id="@+id/search_bg_protect"
31        android:layout_width="match_parent"
32        android:layout_height="match_parent"
33        android:layout_marginBottom="0dip">
34
35        <RelativeLayout
36            android:id="@+id/search_panel_container"
37            android:layout_width="230dip"
38            android:layout_height="match_parent"
39            android:layout_alignParentRight="true">
40
41            <com.android.internal.widget.multiwaveview.MultiWaveView
42                android:id="@+id/multi_wave_view"
43                android:orientation="vertical"
44                android:layout_width="match_parent"
45                android:layout_height="match_parent"
46                android:layout_alignParentBottom="true"
47                android:background="@drawable/navbar_search_bg_scrim"
48
49                prvandroid:targetDrawables="@array/navbar_search_targets"
50                prvandroid:targetDescriptions="@array/navbar_search_target_descriptions"
51                prvandroid:directionDescriptions="@array/navbar_search_direction_descriptions"
52                prvandroid:handleDrawable="@drawable/navbar_search_handle"
53                prvandroid:waveDrawable="@drawable/navbar_search_outerring"
54                prvandroid:outerRadius="@dimen/navbar_search_target_placement_radius"
55                prvandroid:snapMargin="@dimen/navbar_search_snap_margin"
56                prvandroid:hitRadius="@dimen/navbar_search_hit_radius"
57                prvandroid:verticalOffset="0dip"
58                prvandroid:horizontalOffset="60dip"
59                prvandroid:feedbackCount="0"
60                prvandroid:vibrationDuration="0"
61                prvandroid:alwaysTrackFinger="true"/>
62
63        </RelativeLayout>
64
65    </RelativeLayout>
66
67</com.android.systemui.SearchPanelView>
68