質問編集履歴

1

コードとスクショの追加と

2016/04/21 04:18

投稿

mesomeso
mesomeso

スコア12

test CHANGED
File without changes
test CHANGED
@@ -12,4 +12,108 @@
12
12
 
13
13
 
14
14
 
15
- よろしくお願い致します。
15
+ よろしくお願い致します。!
16
+
17
+
18
+
19
+
20
+
21
+ [追記]
22
+
23
+
24
+
25
+ レイアウトとスクショになります。
26
+
27
+
28
+
29
+
30
+
31
+ ```xml
32
+
33
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
34
+
35
+ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
36
+
37
+ android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
38
+
39
+ android:paddingRight="@dimen/activity_horizontal_margin"
40
+
41
+ android:paddingTop="@dimen/activity_vertical_margin"
42
+
43
+ android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
44
+
45
+
46
+
47
+ <ImageView
48
+
49
+ android:layout_width="wrap_content"
50
+
51
+ android:layout_height="wrap_content"
52
+
53
+ android:id="@+id/imageView"
54
+
55
+ android:layout_marginTop="86dp"
56
+
57
+ android:src="@mipmap/ic_launcher"
58
+
59
+ android:layout_alignParentTop="true"
60
+
61
+ android:layout_alignParentStart="true" />
62
+
63
+
64
+
65
+ <ImageView
66
+
67
+ android:layout_width="wrap_content"
68
+
69
+ android:layout_height="wrap_content"
70
+
71
+ android:id="@+id/imageView2"
72
+
73
+ android:src="@mipmap/ic_launcher"
74
+
75
+ android:layout_alignParentBottom="true"
76
+
77
+ android:layout_alignParentEnd="true" />
78
+
79
+
80
+
81
+ <Button
82
+
83
+ android:layout_width="wrap_content"
84
+
85
+ android:layout_height="wrap_content"
86
+
87
+ android:text="ボタン"
88
+
89
+ android:id="@+id/button"
90
+
91
+ android:layout_marginBottom="60dp"
92
+
93
+ android:layout_above="@+id/imageView2"
94
+
95
+ android:layout_alignParentStart="true" />
96
+
97
+
98
+
99
+ <EditText
100
+
101
+ android:layout_width="fill_parent"
102
+
103
+ android:layout_height="wrap_content"
104
+
105
+ android:id="@+id/editText"
106
+
107
+ android:layout_centerVertical="true"
108
+
109
+ android:layout_alignParentStart="true"
110
+
111
+ android:background="#ffff33fd" />
112
+
113
+ </RelativeLayout>
114
+
115
+
116
+
117
+ ```
118
+
119
+ ![](3fdc0551542740f2062f669a26093827.png)