質問編集履歴

3

追記2

2016/04/06 05:50

投稿

masaakitsuyoshi
masaakitsuyoshi

スコア102

test CHANGED
File without changes
test CHANGED
@@ -165,3 +165,67 @@
165
165
 
166
166
 
167
167
  設定、設定のポップアップ app_name自体はきちんと表示される。
168
+
169
+
170
+
171
+ **追記2**
172
+
173
+ activity_main.xml
174
+
175
+ ```ここに言語を入力
176
+
177
+ <?xml version="1.0" encoding="utf-8"?>
178
+
179
+ <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
180
+
181
+ xmlns:app="http://schemas.android.com/apk/res-auto"
182
+
183
+ xmlns:tools="http://schemas.android.com/tools"
184
+
185
+ android:layout_width="match_parent"
186
+
187
+ android:layout_height="match_parent"
188
+
189
+ android:fitsSystemWindows="true"
190
+
191
+ tools:context="com.example.tsuyoshiokaprofile.Main">
192
+
193
+
194
+
195
+ <android.support.design.widget.AppBarLayout
196
+
197
+ android:layout_width="match_parent"
198
+
199
+ android:layout_height="wrap_content"
200
+
201
+ android:theme="@style/AppTheme.AppBarOverlay">
202
+
203
+
204
+
205
+ <android.support.v7.widget.Toolbar
206
+
207
+ android:id="@+id/toolbar"
208
+
209
+ android:layout_width="match_parent"
210
+
211
+ android:layout_height="?attr/actionBarSize"
212
+
213
+ android:background="?attr/colorPrimary"
214
+
215
+ app:popupTheme="@style/AppTheme.PopupOverlay" />
216
+
217
+
218
+
219
+ </android.support.design.widget.AppBarLayout>
220
+
221
+
222
+
223
+ <include layout="@layout/content_main" />
224
+
225
+
226
+
227
+
228
+
229
+ </android.support.design.widget.CoordinatorLayout>
230
+
231
+ ```

2

追記

2016/04/06 05:50

投稿

masaakitsuyoshi
masaakitsuyoshi

スコア102

test CHANGED
File without changes
test CHANGED
@@ -153,3 +153,15 @@
153
153
  </manifest>
154
154
 
155
155
  ```
156
+
157
+ **追記**
158
+
159
+ ![イメージ説明](a47112b56a41946129a95874ce5732e9.png)
160
+
161
+
162
+
163
+ androidタグのApp themeを消したらアクションバーが2段?にわかれて表示される。
164
+
165
+
166
+
167
+ 設定、設定のポップアップ app_name自体はきちんと表示される。

1

manifest追記しました

2016/04/05 06:23

投稿

masaakitsuyoshi
masaakitsuyoshi

スコア102

test CHANGED
File without changes
test CHANGED
@@ -93,3 +93,63 @@
93
93
 
94
94
 
95
95
  ```
96
+
97
+
98
+
99
+ Manifest.xml
100
+
101
+ ```ここに言語を入力
102
+
103
+ <?xml version="1.0" encoding="utf-8"?>
104
+
105
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
106
+
107
+ package="com.example.tsuyoshiokaprofile">
108
+
109
+
110
+
111
+ <application
112
+
113
+ android:allowBackup="true"
114
+
115
+ android:icon="@drawable/logo"
116
+
117
+ android:label="@string/app_name"
118
+
119
+ android:supportsRtl="true"
120
+
121
+ android:theme="@style/AppTheme">
122
+
123
+ <activity
124
+
125
+ android:name=".Main"
126
+
127
+ android:label="@string/app_name"
128
+
129
+ android:theme="@style/AppTheme.NoActionBar">
130
+
131
+ <intent-filter>
132
+
133
+ <action android:name="android.intent.action.MAIN" />
134
+
135
+
136
+
137
+ <category android:name="android.intent.category.LAUNCHER" />
138
+
139
+ </intent-filter>
140
+
141
+ </activity>
142
+
143
+
144
+
145
+ <activity android:name =".SubActivity" />
146
+
147
+
148
+
149
+ </application>
150
+
151
+
152
+
153
+ </manifest>
154
+
155
+ ```