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

質問編集履歴

2

キャプチャ追加

2016/01/26 09:20

投稿

oym
oym

スコア24

title CHANGED
File without changes
body CHANGED
@@ -112,4 +112,8 @@
112
112
 
113
113
  </RelativeLayout>
114
114
 
115
- ===============================================================
115
+ ===============================================================
116
+
117
+
118
+ ![正常時](f43b8a2246c53bca6c592a6cc224ea6a.png)
119
+ ![入れ子時](f3f20ac3553542b34fd963713077e5f3.png)

1

レイアウトのソースを追記しました

2016/01/26 09:20

投稿

oym
oym

スコア24

title CHANGED
File without changes
body CHANGED
@@ -4,4 +4,112 @@
4
4
  もし解決方法をご存知でしたらご教授ください。
5
5
  他に提示すべき情報がございましたらご指摘ください。
6
6
 
7
- 宜しくお願い致します。
7
+ 宜しくお願い致します。
8
+
9
+
10
+ レイアウトファイルのソースは以下になります
11
+ ===============================================================
12
+ <?xml version="1.0" encoding="utf-8"?>
13
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
14
+ xmlns:tools="http://schemas.android.com/tools"
15
+ android:id="@+id/mainLayout"
16
+ android:layout_width="match_parent"
17
+ android:layout_height="match_parent"
18
+ android:background="#FFFFFF"
19
+ android:paddingLeft="@dimen/activity_horizontal_margin"
20
+ android:paddingRight="@dimen/activity_horizontal_margin"
21
+ android:paddingTop="@dimen/activity_vertical_margin"
22
+ tools:context="raksam.com.xxxx.MainActivity">
23
+
24
+
25
+ <!-- 土台-->
26
+ <TextView
27
+ android:id="@+id/resultView"
28
+ android:layout_width="wrap_content"
29
+ android:layout_height="wrap_content"
30
+ android:background="#000000"
31
+ android:layout_marginTop="20dp"
32
+ android:layout_centerInParent="true" />
33
+
34
+
35
+ <LinearLayout
36
+ android:id="@+id/titleLinerLayout"
37
+ android:layout_width="match_parent"
38
+ android:layout_height="wrap_content"
39
+ android:orientation="horizontal"
40
+ android:layout_above="@id/resultView"
41
+ android:gravity="center_horizontal">
42
+
43
+ <!-- 「あ」 -->
44
+ <TextView
45
+ android:id="@+id/viewA"
46
+ android:layout_width="wrap_content"
47
+ android:layout_height="wrap_content"
48
+ android:gravity="center"
49
+ android:textColor="#000000"
50
+ android:shadowColor="#FFFFFF"
51
+ android:shadowDx="5"
52
+ android:shadowDy="5"
53
+ android:shadowRadius="1"
54
+ android:rotation="350"
55
+ android:text="あ"/>
56
+
57
+ <!-- 「い」 -->
58
+ <TextView
59
+ android:id="@+id/viewTA"
60
+ android:layout_width="wrap_content"
61
+ android:layout_height="wrap_content"
62
+ android:gravity="center"
63
+ android:textColor="#000000"
64
+ android:shadowColor="#FFFFFF"
65
+ android:shadowDx="5"
66
+ android:shadowDy="5"
67
+ android:shadowRadius="1"
68
+ android:rotation="10"
69
+ android:text="い"/>
70
+
71
+ <!-- 「う」 -->
72
+ <TextView
73
+ android:id="@+id/viewRU"
74
+ android:layout_width="wrap_content"
75
+ android:layout_height="wrap_content"
76
+ android:gravity="center"
77
+ android:textColor="#000000"
78
+ android:shadowColor="#FFFFFF"
79
+ android:shadowDx="5"
80
+ android:shadowDy="5"
81
+ android:shadowRadius="1"
82
+ android:rotation="350"
83
+ android:text="う"/>
84
+
85
+
86
+ <LinearLayout
87
+ android:layout_width="match_parent"
88
+ android:layout_height="wrap_content"
89
+ android:orientation="vertical">
90
+
91
+ <!-- 「え」 -->
92
+ <TextView
93
+ android:id="@+id/viewKU"
94
+ android:layout_width="wrap_content"
95
+ android:layout_height="wrap_content"
96
+ android:gravity="left"
97
+ android:text="え"/>
98
+
99
+ <!-- 「お」 -->
100
+ <TextView
101
+ android:id="@+id/viewN"
102
+ android:layout_width="wrap_content"
103
+ android:layout_height="wrap_content"
104
+ android:gravity="right"
105
+ android:text="お"/>
106
+
107
+ </LinearLayout>
108
+
109
+
110
+ </LinearLayout>
111
+
112
+
113
+ </RelativeLayout>
114
+
115
+ ===============================================================