質問編集履歴
2
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,3 +19,11 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
![イメージ説明](dc048b3b4831808017021389ba218e6d.png)
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
追記---
|
26
|
+
|
27
|
+
エラー文がこちらです。
|
28
|
+
|
29
|
+
Caused by: java.lang.ClassCastException: android.support.constraint.Group cannot be cast to android.view.ViewGroup at com.hood.bread.girl.SplashActivity.onCreate(SplashActivity.java:24)
|
1
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
私は以下の画像のように、Constraint layoutで二つのテキストビューを`splash_group`でグループ化しました。
|
6
6
|
|
7
|
-
そして`final ViewGroup splash_group=findViewById(R.id.splash_group);として`取得しようとしたのですが、なぜか取得時にエラーになっているようです。
|
7
|
+
そして`Activity`の中で`final ViewGroup splash_group=findViewById(R.id.splash_group);として`取得しようとしたのですが、なぜか取得時にエラーになっているようです。
|
8
8
|
|
9
9
|
|
10
10
|
|