回答編集履歴
1
スクロールバー出したくなかったので改行入れる
answer
CHANGED
@@ -20,7 +20,8 @@
|
|
20
20
|
final LinearLayout parent = findViewById(R.id.food_lay);
|
21
21
|
final LayoutInflater inflater = LayoutInflater.from(this);
|
22
22
|
|
23
|
+
final LinearLayout subLayout0 =
|
23
|
-
|
24
|
+
(LinearLayout) inflater.inflate(R.layout.sub0, null);
|
24
25
|
parent.addView(subLayout0);
|
25
26
|
|
26
27
|
final LinearLayout sub0 = findViewById(R.id.sub0);
|