質問編集履歴

1

mlのコードも追加しました

2022/01/10 00:59

投稿

sterengers
sterengers

スコア5

test CHANGED
File without changes
test CHANGED
@@ -174,6 +174,76 @@
174
174
 
175
175
  }
176
176
 
177
+
178
+
179
+
180
+
181
+ activity_main.ml
182
+
183
+ <?xml version="1.0" encoding="utf-8"?>
184
+
185
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
186
+
187
+ xmlns:app="http://schemas.android.com/apk/res-auto"
188
+
189
+ xmlns:tools="http://schemas.android.com/tools"
190
+
191
+ android:layout_width="match_parent"
192
+
193
+ android:layout_height="match_parent"
194
+
195
+ tools:context=".MainActivity">
196
+
197
+
198
+
199
+
200
+
201
+ <TextView
202
+
203
+ android:id="@+id/textView2"
204
+
205
+ android:layout_width="wrap_content"
206
+
207
+ android:layout_height="wrap_content"
208
+
209
+ android:text="Hello World!"
210
+
211
+ app:layout_constraintBottom_toBottomOf="parent"
212
+
213
+ app:layout_constraintEnd_toEndOf="parent"
214
+
215
+ app:layout_constraintLeft_toLeftOf="parent"
216
+
217
+ app:layout_constraintRight_toRightOf="parent"
218
+
219
+ app:layout_constraintStart_toStartOf="parent"
220
+
221
+ app:layout_constraintTop_toTopOf="parent" />
222
+
223
+
224
+
225
+ <org.opencv.android.JavaCamera2View
226
+
227
+ android:id="@+id/javaCamera2View4"
228
+
229
+ android:layout_width="wrap_content"
230
+
231
+ android:layout_height="wrap_content"
232
+
233
+ app:layout_constraintBottom_toBottomOf="parent"
234
+
235
+ app:layout_constraintEnd_toEndOf="parent"
236
+
237
+ app:layout_constraintStart_toStartOf="parent"
238
+
239
+ app:layout_constraintTop_toTopOf="parent" />
240
+
241
+
242
+
243
+ </androidx.constraintlayout.widget.ConstraintLayout>
244
+
245
+
246
+
177
247
  ```
178
248
 
179
249