|
7 | 7 | android:layout_height="match_parent" |
8 | 8 | android:background="@color/colorBackground"> |
9 | 9 |
|
| 10 | + |
10 | 11 | <RelativeLayout |
11 | 12 | android:id="@+id/top_scenario_bar" |
12 | 13 | android:layout_height="wrap_content" |
|
15 | 16 | android:orientation="vertical" |
16 | 17 | android:layout_marginTop="0dp" |
17 | 18 | > |
| 19 | + |
18 | 20 | <RelativeLayout |
19 | 21 | android:id="@+id/scenario_text_bar" |
20 | | - android:layout_height="wrap_content" |
21 | 22 | android:layout_width="wrap_content" |
| 23 | + android:layout_height="wrap_content" |
22 | 24 | android:layout_centerHorizontal="true" |
23 | | - android:orientation="vertical" |
24 | | - android:layout_margin="30dp" |
25 | | - > |
26 | | - <include layout="@layout/selected_scenario"/> |
| 25 | + android:layout_marginStart="28dp" |
| 26 | + android:layout_marginTop="28dp" |
| 27 | + android:layout_marginBottom="16dp" |
| 28 | + android:orientation="vertical"> |
| 29 | + |
| 30 | + <include layout="@layout/selected_scenario" /> |
27 | 31 | </RelativeLayout> |
28 | 32 | <View android:id="@+id/line_scenario" |
29 | 33 | android:layout_height="1dp" |
|
44 | 48 |
|
45 | 49 | <ImageView |
46 | 50 | android:id="@+id/imageView1" |
47 | | - android:layout_width="300dp" |
48 | | - android:layout_height="300dp" |
49 | | - android:background="@color/colorImageViewBackground" |
| 51 | + android:layout_width="280dp" |
| 52 | + android:layout_height="280dp" |
50 | 53 | android:layout_centerHorizontal="true" |
| 54 | + android:background="@color/colorImageViewBackground" |
51 | 55 | android:scaleType="centerCrop" /> |
52 | 56 |
|
53 | 57 | <RelativeLayout |
54 | 58 | android:id="@+id/imageButtonBar" |
55 | | - android:layout_width="match_parent" |
| 59 | + android:layout_width="280dp" |
56 | 60 | android:layout_height="62dp" |
57 | | - android:layout_below="@+id/primerdivisor" |
58 | | - android:layout_marginTop="240dp" |
59 | | - android:layout_centerHorizontal="true" |
60 | 61 | android:background="@color/colorImageViewBarBackground" |
61 | | - android:orientation="horizontal"> |
| 62 | + android:orientation="horizontal" |
| 63 | + android:layout_above="@+id/suggest" |
| 64 | + android:layout_alignStart="@+id/imageView1"> |
62 | 65 |
|
63 | 66 | <Button |
64 | 67 | android:id="@+id/btn_capture" |
| 68 | + style="?android:attr/buttonStyleSmall" |
65 | 69 | android:layout_width="wrap_content" |
66 | 70 | android:layout_height="wrap_content" |
67 | | - android:text="" |
68 | | - android:layout_alignParentLeft="true" |
69 | | - android:layout_alignParentTop="true" |
70 | | - android:layout_marginTop="20dp" |
71 | | - android:layout_marginLeft="10dp" |
| 71 | + android:layout_marginStart="10dp" |
| 72 | + android:background="@color/colorImageViewButtonBackground" |
72 | 73 | android:drawableTop="@drawable/b_start_cam" |
73 | 74 | android:gravity="center" |
74 | | - style="?android:attr/buttonStyleSmall" |
75 | | - android:background="@color/colorImageViewButtonBackground" |
| 75 | + android:text="" |
76 | 76 | android:textColor="#ffffffff" |
77 | | - /> |
| 77 | + android:layout_alignTop="@+id/resultPreviewtText" |
| 78 | + android:layout_alignParentStart="true" /> |
78 | 79 |
|
79 | 80 | <Button |
80 | 81 | android:id="@+id/btn_ImageOpen" |
| 82 | + style="?android:attr/buttonStyleSmall" |
81 | 83 | android:layout_width="wrap_content" |
82 | 84 | android:layout_height="wrap_content" |
83 | | - android:text="" |
84 | | - android:layout_alignParentRight="true" |
85 | | - android:layout_alignParentTop="true" |
86 | | - android:layout_marginTop="20dp" |
87 | | - android:layout_marginRight="20dp" |
| 85 | + android:layout_marginEnd="10dp" |
| 86 | + android:background="@color/colorImageViewButtonBackground" |
88 | 87 | android:drawableTop="@drawable/b_open_image" |
89 | 88 | android:gravity="center" |
90 | | - style="?android:attr/buttonStyleSmall" |
91 | | - android:background="@color/colorImageViewButtonBackground" |
| 89 | + android:text="" |
92 | 90 | android:textColor="#ffffffff" |
93 | | - /> |
| 91 | + android:layout_alignTop="@+id/resultPreviewtText" |
| 92 | + android:layout_alignParentEnd="true" /> |
94 | 93 |
|
95 | 94 | <TextView |
96 | 95 | android:id="@+id/resultPreviewtText" |
97 | | - android:text="Some" |
98 | | - android:textColor="@color/colorTextWhite" |
99 | 96 | android:layout_width="wrap_content" |
100 | 97 | android:layout_height="wrap_content" |
| 98 | + android:layout_centerHorizontal="true" |
101 | 99 | android:layout_marginTop="10dp" |
102 | 100 | android:gravity="center" |
103 | | - android:layout_centerHorizontal="true" |
104 | 101 | android:minHeight="30dp" |
105 | | - android:textSize="18sp" |
106 | | - /> |
| 102 | + android:text="Some" |
| 103 | + android:textColor="@color/colorTextWhite" |
| 104 | + android:textSize="18sp" /> |
107 | 105 | </RelativeLayout> |
108 | 106 |
|
109 | 107 | <Button |
110 | 108 | android:id="@+id/suggest" |
111 | | - android:text="Recognize" |
112 | | - android:textColor="#ffffff" |
113 | | - android:textSize="18dp" |
114 | | - android:layout_width="200dp" |
115 | | - android:background="@drawable/b_recognize_enabled" |
116 | | - android:layout_height="56dp" |
117 | | - android:layout_marginTop="30dp" |
118 | | - android:layout_marginBottom="30dp" |
| 109 | + android:layout_width="180dp" |
| 110 | + android:layout_height="40dp" |
119 | 111 | android:layout_below="@+id/imageView1" |
120 | 112 | android:layout_centerHorizontal="true" |
121 | | - /> |
| 113 | + android:layout_marginBottom="30dp" |
| 114 | + android:layout_marginTop="30dp" |
| 115 | + android:background="@drawable/b_recognize_enabled" |
| 116 | + android:text="Recognize" |
| 117 | + android:textColor="#ffffff" |
| 118 | + android:textSize="18dp" /> |
122 | 119 |
|
123 | 120 | <EditText |
124 | 121 | android:id="@+id/consoleEditText" |
|
0 commit comments