summaryrefslogtreecommitdiffstats
path: root/res/layout/navigation_ring_targets.xml
blob: 9fb0db8f91d26c3c851cb48fc55f4972bfa309f1 (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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:prvandroid="http://schemas.android.com/apk/prv/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/holo_blue_light"
        android:layout_marginEnd="8dip"
        android:layout_marginStart="8dip"
        android:padding="4dip"
        android:gravity="center_horizontal"
        android:textColor="#FFFFFF"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:text="@string/lockscreen_target_info" />

    <View
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="0.4" />

    <com.android.internal.widget.multiwaveview.GlowPadView
        android:id="@+id/navring_target"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="0.6"
        android:orientation="horizontal"
        android:layout_alignParentBottom="true"
        android:gravity="top"
        android:contentDescription="@*android:string/keyguard_accessibility_slide_area"
        prvandroid:targetDrawables="@*android:array/lockscreen_targets_unlock_only"
        prvandroid:targetDescriptions="@*android:array/lockscreen_target_descriptions_unlock_only"
        prvandroid:directionDescriptions="@*android:array/lockscreen_direction_descriptions"
        prvandroid:handleDrawable="@drawable/ic_navigation_ring_hint"
        prvandroid:outerRingDrawable="@drawable/navbar_search_outerring"
        prvandroid:outerRadius="@dimen/navbar_search_outerring_radius"
        prvandroid:innerRadius="@*android:dimen/glowpadview_inner_radius"
        prvandroid:snapMargin="@dimen/navbar_search_snap_margin"
        prvandroid:firstItemOffset="@*android:integer/kg_glowpad_rotation_offset"
        prvandroid:magneticTargets="false"
        prvandroid:feedbackCount="1"
        prvandroid:vibrationDuration="20"
        prvandroid:glowRadius="@*android:dimen/glowpadview_glow_radius"
        prvandroid:pointDrawable="@*android:drawable/ic_lockscreen_glowdot"
        prvandroid:allowScaling="false" />

</LinearLayout>