|
27 | 27 | <!--启动页-->
|
28 | 28 | <activity
|
29 | 29 | android:name=".activity.LauncherActivity"
|
30 |
| - android:screenOrientation="portrait" |
| 30 | + |
31 | 31 | android:theme="@style/AppTheme.NoActionBar.FullScreen">
|
32 |
| - <!-- <intent-filter> |
33 |
| - <action android:name="android.intent.action.MAIN"/> |
| 32 | + <!-- <intent-filter> |
| 33 | + <action android:name="android.intent.action.MAIN"/> |
34 | 34 |
|
35 |
| - <category android:name="android.intent.category.LAUNCHER"/> |
36 |
| - </intent-filter>--> |
| 35 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 36 | + </intent-filter>--> |
37 | 37 | </activity>
|
38 | 38 |
|
39 | 39 | <!--主界面-->
|
40 | 40 | <activity
|
41 | 41 | android:name=".activity.MainActivity"
|
42 |
| - android:screenOrientation="portrait" |
| 42 | + |
43 | 43 | android:theme="@style/AppTheme.Dark">
|
44 |
| - <intent-filter> |
45 |
| - <action android:name="android.intent.action.MAIN"/> |
| 44 | + <intent-filter> |
| 45 | + <action android:name="android.intent.action.MAIN"/> |
46 | 46 |
|
47 |
| - <category android:name="android.intent.category.LAUNCHER"/> |
48 |
| - </intent-filter> |
| 47 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 48 | + </intent-filter> |
49 | 49 | </activity>
|
50 | 50 |
|
51 | 51 | <activity
|
52 | 52 | android:name=".activity.TestActivity"
|
53 | 53 | android:label="博客园测试"
|
54 |
| - android:screenOrientation="portrait" |
| 54 | + |
55 | 55 | android:theme="@style/AppTheme.Dark">
|
56 |
| - <!-- <intent-filter> |
57 |
| - <action android:name="android.intent.action.MAIN"/> |
58 |
| - <category android:name="android.intent.category.LAUNCHER"/> |
59 |
| - </intent-filter>--> |
| 56 | + <!-- <intent-filter> |
| 57 | + <action android:name="android.intent.action.MAIN"/> |
| 58 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 59 | + </intent-filter>--> |
60 | 60 | </activity>
|
61 | 61 |
|
62 | 62 | <!--博文-->
|
63 | 63 | <activity
|
64 | 64 | android:name=".activity.BlogContentActivity"
|
65 |
| - android:screenOrientation="portrait"/> |
| 65 | + /> |
66 | 66 |
|
67 | 67 | <!--登录-->
|
68 | 68 | <activity
|
69 | 69 | android:name=".activity.LoginActivity"
|
70 | 70 | android:launchMode="singleTop"
|
71 |
| - android:screenOrientation="portrait"/> |
| 71 | + /> |
72 | 72 |
|
73 | 73 |
|
74 | 74 | <!--网页登录-->
|
75 | 75 | <activity
|
76 | 76 | android:name=".activity.WebLoginActivity"
|
77 |
| - android:screenOrientation="portrait"/> |
| 77 | + /> |
78 | 78 |
|
79 | 79 | <!--网页-->
|
80 | 80 | <activity
|
|
88 | 88 | <!--博主-->
|
89 | 89 | <activity
|
90 | 90 | android:name=".activity.BloggerActivity"
|
91 |
| - android:screenOrientation="portrait"/> |
| 91 | + /> |
92 | 92 | <!--关注、粉丝-->
|
93 | 93 | <activity
|
94 | 94 | android:name=".activity.FriendsActivity"
|
95 |
| - android:screenOrientation="portrait"/> |
| 95 | + /> |
96 | 96 | <!--分类管理-->
|
97 | 97 | <activity
|
98 | 98 | android:name=".activity.CategoryActivity"
|
99 | 99 | android:label="@string/title_category"
|
100 | 100 | android:launchMode="singleTop"
|
101 |
| - android:screenOrientation="portrait"/> |
| 101 | + /> |
102 | 102 |
|
103 | 103 | <activity
|
104 | 104 | android:name=".activity.FavoritesActivity"
|
105 | 105 | android:label="@string/my_favorites"
|
106 | 106 | android:launchMode="singleTop"
|
107 |
| - android:screenOrientation="portrait"/> |
| 107 | + /> |
108 | 108 |
|
109 | 109 | <activity
|
110 | 110 | android:name=".activity.SettingActivity"
|
111 | 111 | android:label="@string/setting"
|
112 | 112 | android:launchMode="singleTop"
|
113 |
| - android:screenOrientation="portrait"/> |
| 113 | + /> |
114 | 114 |
|
115 | 115 | <activity
|
116 | 116 | android:name=".activity.FeedbackActivity"
|
117 | 117 | android:label="@string/feedback"
|
118 | 118 | android:launchMode="singleTop"
|
119 |
| - android:screenOrientation="portrait" |
| 119 | + |
120 | 120 | android:windowSoftInputMode="stateVisible"/>
|
121 | 121 |
|
122 | 122 | <activity
|
123 | 123 | android:name=".activity.SearchActivity"
|
124 |
| - android:screenOrientation="portrait" |
| 124 | + |
125 | 125 | android:windowSoftInputMode="stateVisible"/>
|
126 | 126 |
|
127 | 127 | <activity
|
128 | 128 | android:name=".activity.SystemMessageActivity"
|
129 | 129 | android:label="@string/system_message"
|
130 |
| - android:screenOrientation="portrait"/> |
| 130 | + /> |
131 | 131 |
|
132 | 132 | <activity
|
133 | 133 | android:name=".activity.FontSettingActivity"
|
134 | 134 | android:label="@string/font_setting"
|
135 |
| - android:screenOrientation="portrait"/> |
| 135 | + /> |
136 | 136 |
|
137 | 137 | <activity
|
138 | 138 | android:name=".activity.CommentActivity"
|
139 | 139 | android:label="@string/label_comment"
|
140 |
| - android:screenOrientation="portrait"/> |
| 140 | + /> |
141 | 141 |
|
142 | 142 | <activity
|
143 | 143 | android:name=".activity.PostMomentActivity"
|
144 | 144 | android:label="@string/label_post_moment"
|
145 |
| - android:screenOrientation="portrait"/> |
| 145 | + /> |
146 | 146 | <activity
|
147 | 147 | android:name=".activity.ImageSelectionActivity"
|
148 | 148 | android:label="@string/label_image_selection"
|
149 |
| - android:screenOrientation="portrait"> |
| 149 | + > |
150 | 150 |
|
151 | 151 | </activity>
|
152 | 152 | <activity
|
153 | 153 | android:name=".activity.MomentDetailActivity"
|
154 | 154 | android:label="@string/label_moment_detail"
|
155 |
| - android:screenOrientation="portrait"/> |
| 155 | + /> |
156 | 156 |
|
157 | 157 | <activity
|
158 | 158 | android:name=".activity.MomentAtMeActivity"
|
159 | 159 | android:label="@string/label_moment_at_me"
|
160 |
| - android:screenOrientation="portrait"/> |
| 160 | + /> |
161 | 161 |
|
162 | 162 | <activity
|
163 | 163 | android:name=".activity.MomentMessageActivity"
|
164 | 164 | android:label="@string/label_moment_message"
|
165 |
| - android:screenOrientation="portrait"/> |
| 165 | + /> |
166 | 166 |
|
167 | 167 | <service
|
168 | 168 | android:name=".service.CnblogsService"
|
|
197 | 197 | android:name=".wxapi.WXEntryActivity"
|
198 | 198 | android:configChanges="keyboardHidden|orientation|screenSize"
|
199 | 199 | android:exported="true"
|
200 |
| - android:screenOrientation="portrait" |
| 200 | + |
201 | 201 | android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
202 | 202 |
|
203 | 203 |
|
|
206 | 206 | android:name=".activity.WBShareActivity"
|
207 | 207 | android:configChanges="keyboardHidden|orientation"
|
208 | 208 | android:launchMode="singleTask"
|
209 |
| - android:screenOrientation="portrait"/> |
| 209 | + /> |
210 | 210 |
|
211 | 211 | <!--新浪微博-->
|
212 | 212 | <activity
|
213 | 213 | android:name="com.umeng.socialize.media.WBShareCallBackActivity"
|
214 | 214 | android:configChanges="keyboardHidden|orientation"
|
215 | 215 | android:exported="false"
|
216 |
| - android:screenOrientation="portrait" |
| 216 | + |
217 | 217 | android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
218 | 218 | </activity>
|
219 | 219 |
|
|
229 | 229 |
|
230 | 230 | </activity>
|
231 | 231 |
|
| 232 | + <!--文件提供者--> |
232 | 233 | <provider
|
233 | 234 | android:name="android.support.v4.content.FileProvider"
|
234 | 235 | android:authorities="com.rae.cnblogs.fileprovider"
|
|
239 | 240 | android:resource="@xml/lc_fileprovider_path"/>
|
240 | 241 | </provider>
|
241 | 242 |
|
| 243 | + <!--数据库提供者,解决Android 8.0 权限问题--> |
| 244 | + <provider |
| 245 | + android:name="com.rae.cnblogs.sdk.db.CnblogsContentProvider" |
| 246 | + android:authorities="com.rae.cnblogs" |
| 247 | + android:enabled="true" |
| 248 | + android:exported="false"/> |
242 | 249 |
|
243 | 250 | <meta-data
|
244 | 251 | android:name="UMENG_APPKEY"
|
|
0 commit comments