Skip to content

Commit c27b8a4

Browse files
committed
add webactivity
1 parent c082924 commit c27b8a4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@
88
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
99

1010
<application
11-
android:allowBackup="true"
1211
android:name=".App"
12+
android:allowBackup="true"
1313
android:icon="@mipmap/ic_launcher"
1414
android:label="@string/app_name"
1515
android:supportsRtl="true"
1616
android:theme="@style/AppTheme">
1717
<activity
1818
android:name=".actiity.MainActivity"
1919
android:label="@string/app_name"
20-
android:theme="@style/AppTheme.NoActionBar">
21-
</activity>
20+
android:theme="@style/AppTheme.NoActionBar"></activity>
2221
<activity
2322
android:name=".actiity.splashActivity"
2423
android:configChanges="orientation|keyboardHidden|screenSize"
@@ -31,7 +30,10 @@
3130
</intent-filter>
3231
</activity>
3332

34-
<activity android:name=".base.BaseWebActivity" />
33+
<activity
34+
android:name=".base.BaseWebActivity"
35+
android:screenOrientation="portrait"
36+
android:theme="@style/AppTheme.NoActionBar" />
3537

3638
<service android:name=".InitDataService" />
3739
</application>

app/src/main/res/layout/activity_common_web.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
android:layout_width="match_parent"
2828
android:layout_height="wrap_content"/>
2929

30-
<com.github.obsessive.library.widgets.BrowserLayout
30+
<com.jiang.android.rxjavaapp.widget.BrowserLayout
3131
android:id="@+id/common_web_browser_layout"
3232
android:layout_width="match_parent"
3333
android:layout_height="0dp"

0 commit comments

Comments
 (0)