質問編集履歴
7
```
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
```java
|
2
2
|
|
3
3
|
package com.example.book_test1;
|
4
4
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
|
77
|
+
```}
|
78
78
|
|
79
79
|
|
80
80
|
|
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
|
86
86
|
|
87
|
-
|
87
|
+
```Java
|
88
88
|
|
89
89
|
package com.example.book_test1;
|
90
90
|
|
@@ -138,4 +138,4 @@
|
|
138
138
|
|
139
139
|
}
|
140
140
|
|
141
|
-
|
141
|
+
```
|
6
’’’
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
’’’java
|
2
2
|
|
3
3
|
package com.example.book_test1;
|
4
4
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
|
77
|
+
’’’}
|
78
78
|
|
79
79
|
|
80
80
|
|
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
|
86
86
|
|
87
|
-
|
87
|
+
’’’Java
|
88
88
|
|
89
89
|
package com.example.book_test1;
|
90
90
|
|
@@ -138,4 +138,4 @@
|
|
138
138
|
|
139
139
|
}
|
140
140
|
|
141
|
-
|
141
|
+
’’’
|
5
ついか
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
android stdio赤い波線でエラー?が出る。
|
1
|
+
android stdio赤い波線でエラー?が出る。どうしたら消えるでしょうか?
|
test
CHANGED
File without changes
|
4
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -75,3 +75,67 @@
|
|
75
75
|
|
76
76
|
|
77
77
|
,,,}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
,,,Java
|
88
|
+
|
89
|
+
package com.example.book_test1;
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
import android.content.Context;
|
94
|
+
|
95
|
+
import android.graphics.Canvas;
|
96
|
+
|
97
|
+
import android.graphics.Color;
|
98
|
+
|
99
|
+
import android.graphics.Paint;
|
100
|
+
|
101
|
+
import android.view.View;
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
//View クラス ビューの土台??
|
108
|
+
|
109
|
+
public class view_teat extends View
|
110
|
+
|
111
|
+
{
|
112
|
+
|
113
|
+
public hello(Context context)
|
114
|
+
|
115
|
+
{
|
116
|
+
|
117
|
+
super(context);//??
|
118
|
+
|
119
|
+
setBackgroundColor(Color.WHITE);//背景色の指定
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
@Override//??
|
126
|
+
|
127
|
+
protected void onDraw(Canvas canvas)//描画メソッド
|
128
|
+
|
129
|
+
{
|
130
|
+
|
131
|
+
Paint paint = new Paint();//??
|
132
|
+
|
133
|
+
paint.setTextSize(48);//テキストのサイズ
|
134
|
+
|
135
|
+
canvas.drawText("hello",0,48,paint);//hello表示??
|
136
|
+
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
,,,
|
3
tuika
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
,,,java
|
2
2
|
|
3
3
|
package com.example.book_test1;
|
4
4
|
|
@@ -74,4 +74,4 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
|
77
|
+
,,,}
|
2
tuika
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
+
---java
|
2
|
+
|
1
|
-
|
3
|
+
package com.example.book_test1;
|
2
4
|
|
3
5
|
|
4
6
|
|
@@ -72,4 +74,4 @@
|
|
72
74
|
|
73
75
|
|
74
76
|
|
75
|
-
|
77
|
+
---}
|
1
tuika
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,4 +72,4 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
|
75
|
-
}
|
75
|
+
```}
|