-
Notifications
You must be signed in to change notification settings - Fork 215
/
keyboard.xml
104 lines (89 loc) · 4.55 KB
/
keyboard.xml
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
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/keyboard_height"
android:layout_marginTop="37dp"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/keyboardContainer"
android:layout_width="@dimen/keyboard_alphabetic_width"
android:layout_height="match_parent">
<org.mozilla.vrbrowser.ui.views.CustomKeyboardView
android:id="@+id/keyboard"
android:padding="15dp"
android:background="@drawable/keyboard_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:keyBackground="@drawable/keyboard_key_background"
android:shadowColor="@android:color/transparent"
android:shadowRadius="0.0"
android:verticalCorrection="0dp"/>
<ImageView
android:id="@+id/popupKeyboardLayer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_margin="15dp"
android:background="@color/asphalt"
android:alpha="0.5"
android:visibility="visible"/>
<org.mozilla.vrbrowser.ui.views.CustomKeyboardView
android:id="@+id/popupKeyboard"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:keyBackground="@drawable/keyboard_key_background"
android:shadowColor="@android:color/transparent"
android:shadowRadius="0.0"
android:verticalCorrection="0dp"
android:visibility="visible"/>
<org.mozilla.vrbrowser.ui.views.LanguageSelectorView
android:id="@+id/langSelectorView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="20dp"
android:layout_marginStart="20dp"
android:visibility="gone">
</org.mozilla.vrbrowser.ui.views.LanguageSelectorView>
</RelativeLayout>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1" />
<org.mozilla.vrbrowser.ui.views.CustomKeyboardView
android:id="@+id/keyboardNumeric"
android:layout_width="@dimen/keyboard_numeric_width"
android:layout_height="match_parent"
android:padding="15dp"
android:background="@drawable/keyboard_background"
android:keyBackground="@drawable/keyboard_key_background"
android:shadowColor="@android:color/transparent"
android:shadowRadius="0.0"
android:verticalCorrection="0dp"/>
</LinearLayout>
<org.mozilla.vrbrowser.ui.views.AutoCompletionView
android:id="@+id/autoCompletionView"
android:layout_width="match_parent"
android:layout_height="@dimen/autocompletion_widget_line_height"
android:layout_marginStart="38dp"
android:visibility="gone">
</org.mozilla.vrbrowser.ui.views.AutoCompletionView>
<org.mozilla.vrbrowser.ui.views.UIButton
android:id="@+id/keyboardCloseButton"
android:layout_width="@dimen/autocompletion_widget_line_height"
android:layout_height="@dimen/autocompletion_widget_line_height"
app:tintColorList="@drawable/url_button_icon_color"
android:padding="10dp"
android:src="@drawable/ic_icon_exit"
android:scaleType="fitCenter"
android:background="@drawable/keyboard_key_background"/>
</RelativeLayout>
</merge>