質問編集履歴
1
試したことの詳細を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,11 +46,57 @@
|
|
46
46
|
|
47
47
|
```
|
48
48
|
|
49
|
+
> 引用テキスト
|
50
|
+
|
51
|
+
|
52
|
+
|
49
53
|
|
50
54
|
|
51
55
|
### 試したこと
|
52
56
|
|
53
57
|
activity節に記載しても、縦方向への固定はできません。
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
むしろ、エラーとなります。下記がactivity節です。
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
```xml
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<activity android:name=".MainActivity"
|
70
|
+
|
71
|
+
android:screenOrientation="portrait"
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
>
|
76
|
+
|
77
|
+
<intent-filter>
|
78
|
+
|
79
|
+
<action android:name="android.intent.action.MAIN"
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
/>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
88
|
+
|
89
|
+
</intent-filter>
|
90
|
+
|
91
|
+
</activity>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
```
|
96
|
+
|
97
|
+
下記メッセージが、activity節に追記した箇所へ出ました。
|
98
|
+
|
99
|
+
> Expecting android:screenOrientation="Unspecified" or "fullsensor" for this activity so the user can use the application in any orientation and provide a greate experience on Chrome OS devices.
|
54
100
|
|
55
101
|
|
56
102
|
|