teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

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

2022/01/10 00:59

投稿

sterengers
sterengers

スコア5

title CHANGED
File without changes
body CHANGED
@@ -86,6 +86,41 @@
86
86
  }
87
87
  }
88
88
  }
89
+
90
+
91
+ activity_main.ml
92
+ <?xml version="1.0" encoding="utf-8"?>
93
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
94
+ xmlns:app="http://schemas.android.com/apk/res-auto"
95
+ xmlns:tools="http://schemas.android.com/tools"
96
+ android:layout_width="match_parent"
97
+ android:layout_height="match_parent"
98
+ tools:context=".MainActivity">
99
+
100
+
101
+ <TextView
102
+ android:id="@+id/textView2"
103
+ android:layout_width="wrap_content"
104
+ android:layout_height="wrap_content"
105
+ android:text="Hello World!"
106
+ app:layout_constraintBottom_toBottomOf="parent"
107
+ app:layout_constraintEnd_toEndOf="parent"
108
+ app:layout_constraintLeft_toLeftOf="parent"
109
+ app:layout_constraintRight_toRightOf="parent"
110
+ app:layout_constraintStart_toStartOf="parent"
111
+ app:layout_constraintTop_toTopOf="parent" />
112
+
113
+ <org.opencv.android.JavaCamera2View
114
+ android:id="@+id/javaCamera2View4"
115
+ android:layout_width="wrap_content"
116
+ android:layout_height="wrap_content"
117
+ app:layout_constraintBottom_toBottomOf="parent"
118
+ app:layout_constraintEnd_toEndOf="parent"
119
+ app:layout_constraintStart_toStartOf="parent"
120
+ app:layout_constraintTop_toTopOf="parent" />
121
+
122
+ </androidx.constraintlayout.widget.ConstraintLayout>
123
+
89
124
  ```
90
125
 
91
126
  ### 試したこと