|
10 | 10 | xmlns:tools="http://schemas.android.com/tools" |
11 | 11 | android:layout_width="match_parent" |
12 | 12 | android:layout_height="wrap_content" |
| 13 | + android:layout_gravity="bottom" |
13 | 14 | android:orientation="vertical" |
14 | 15 | > |
15 | | - <LinearLayout |
16 | | - android:id="@+id/main_input_plane" |
| 16 | + <FrameLayout |
17 | 17 | android:layout_width="match_parent" |
18 | 18 | android:layout_height="wrap_content" |
19 | | - android:layout_gravity="bottom" |
20 | 19 | android:orientation="vertical" |
21 | 20 | > |
22 | | - <View |
23 | | - android:id="@+id/popup_recess" |
| 21 | + <LinearLayout |
| 22 | + android:id="@+id/main_input_plane" |
24 | 23 | android:layout_width="match_parent" |
25 | | - android:layout_height="@dimen/height__popup_recess" |
26 | | - /> |
27 | | - <io.github.yawnoc.strokeinput.StrokeSequenceBar |
28 | | - android:id="@+id/stroke_sequence_bar" |
29 | | - android:layout_width="wrap_content" |
30 | 24 | android:layout_height="wrap_content" |
31 | | - android:visibility="invisible" |
32 | | - android:textColor="@color/stroke_sequence_bar_text" |
33 | | - android:textSize="@dimen/font_size__stroke_sequence_bar" |
34 | | - android:ellipsize="start" |
35 | | - android:singleLine="true" |
36 | | - android:background="@color/stroke_sequence_bar_fill" |
37 | | - android:paddingTop="@dimen/padding_top__stroke_sequence_bar" |
38 | | - android:paddingLeft="@dimen/padding_left__stroke_sequence_bar" |
39 | | - android:paddingRight="@dimen/padding_right__stroke_sequence_bar" |
40 | | - android:paddingBottom="@dimen/padding_bottom__stroke_sequence_bar" |
41 | | - android:theme="@style/Theme.AppCompat" |
42 | | - tools:ignore="RtlHardcoded" |
43 | | - /> |
44 | | - <io.github.yawnoc.strokeinput.CandidatesView |
45 | | - android:id="@+id/candidates_view" |
| 25 | + android:layout_gravity="bottom" |
| 26 | + android:orientation="vertical" |
| 27 | + > |
| 28 | + <View |
| 29 | + android:id="@+id/popup_recess" |
| 30 | + android:layout_width="match_parent" |
| 31 | + android:layout_height="@dimen/height__popup_recess" |
| 32 | + /> |
| 33 | + <io.github.yawnoc.strokeinput.StrokeSequenceBar |
| 34 | + android:id="@+id/stroke_sequence_bar" |
| 35 | + android:layout_width="wrap_content" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:visibility="invisible" |
| 38 | + android:textColor="@color/stroke_sequence_bar_text" |
| 39 | + android:textSize="@dimen/font_size__stroke_sequence_bar" |
| 40 | + android:ellipsize="start" |
| 41 | + android:singleLine="true" |
| 42 | + android:background="@color/stroke_sequence_bar_fill" |
| 43 | + android:paddingTop="@dimen/padding_top__stroke_sequence_bar" |
| 44 | + android:paddingLeft="@dimen/padding_left__stroke_sequence_bar" |
| 45 | + android:paddingRight="@dimen/padding_right__stroke_sequence_bar" |
| 46 | + android:paddingBottom="@dimen/padding_bottom__stroke_sequence_bar" |
| 47 | + android:theme="@style/Theme.AppCompat" |
| 48 | + tools:ignore="RtlHardcoded" |
| 49 | + /> |
| 50 | + <io.github.yawnoc.strokeinput.CandidatesView |
| 51 | + android:id="@+id/candidates_view" |
| 52 | + android:layout_width="match_parent" |
| 53 | + android:layout_height="@dimen/height__candidate_button" |
| 54 | + android:background="@color/candidate_button_fill_unpressed" |
| 55 | + /> |
| 56 | + <io.github.yawnoc.strokeinput.KeyboardView |
| 57 | + android:id="@+id/keyboard_view" |
| 58 | + android:layout_width="wrap_content" |
| 59 | + android:layout_height="wrap_content" |
| 60 | + /> |
| 61 | + </LinearLayout> |
| 62 | + <io.github.yawnoc.strokeinput.KeyPreviewPlane |
| 63 | + android:id="@+id/key_preview_plane" |
46 | 64 | android:layout_width="match_parent" |
47 | | - android:layout_height="@dimen/height__candidate_button" |
48 | | - android:background="@color/candidate_button_fill_unpressed" |
49 | | - /> |
50 | | - <io.github.yawnoc.strokeinput.KeyboardView |
51 | | - android:id="@+id/keyboard_view" |
52 | | - android:layout_width="wrap_content" |
53 | 65 | android:layout_height="wrap_content" |
| 66 | + android:layout_gravity="bottom" |
54 | 67 | /> |
55 | | - <View |
56 | | - android:id="@+id/bottom_spacer" |
57 | | - android:layout_width="match_parent" |
58 | | - android:layout_height="0dp" |
59 | | - android:background="@android:color/black" |
60 | | - /> |
61 | | - </LinearLayout> |
62 | | - <io.github.yawnoc.strokeinput.KeyPreviewPlane |
63 | | - android:id="@+id/key_preview_plane" |
| 68 | + </FrameLayout> |
| 69 | + <View |
| 70 | + android:id="@+id/bottom_spacer" |
64 | 71 | android:layout_width="match_parent" |
65 | | - android:layout_height="wrap_content" |
66 | | - android:layout_gravity="bottom" |
| 72 | + android:layout_height="0dp" |
| 73 | + android:background="@android:color/black" |
67 | 74 | /> |
68 | 75 | </io.github.yawnoc.strokeinput.InputContainer> |
0 commit comments