質問編集履歴

1

コードの追記

2017/04/14 13:14

投稿

ko20vonobird
ko20vonobird

スコア50

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,81 @@
20
20
 
21
21
  ```
22
22
 
23
+ ```xml
23
24
 
25
+ <?xml version="1.0" encoding="utf-8"?>
26
+
27
+ <android.support.percent.PercentFrameLayout
28
+
29
+ xmlns:android="http://schemas.android.com/apk/res/android"
30
+
31
+ xmlns:app="http://schemas.android.com/apk/res-auto"
32
+
33
+ android:layout_width="match_parent"
34
+
35
+ android:layout_height="match_parent"
36
+
37
+ android:gravity="top">
38
+
39
+ <com.gmail.archerygame.Game.Screen
40
+
41
+ android:id="@+id/sc"
42
+
43
+ android:layout_width="wrap_content"
44
+
45
+ android:layout_height="wrap_content"
46
+
47
+ />
48
+
49
+ <TextView
50
+
51
+ android:id="@+id/powertext"
52
+
53
+ android:layout_width="wrap_content"
54
+
55
+ android:layout_height="wrap_content"
56
+
57
+ android:text="power"
58
+
59
+ app:layout_marginLeftPercent="25%"
60
+
61
+ />
62
+
63
+ <TextView
64
+
65
+ android:id="@+id/staminatext"
66
+
67
+ android:layout_width="wrap_content"
68
+
69
+ android:layout_height="wrap_content"
70
+
71
+ android:text="stamina"
72
+
73
+ app:layout_marginLeftPercent="25%"
74
+
75
+ app:layout_marginTopPercent="10%"
76
+
77
+ />
78
+
79
+ <TextView
80
+
81
+ android:id="@+id/timer"
82
+
83
+ android:layout_width="10dp"
84
+
85
+ android:layout_height="10dp"
86
+
87
+ android:text="Timer"
88
+
89
+ android:layout_gravity="right"
90
+
91
+ />
92
+
93
+
94
+
95
+ </android.support.percent.PercentFrameLayout>
96
+
97
+ ```
24
98
 
25
99
  ###発生している問題・エラーメッセージ
26
100