feat: 优化代码

pull/105/head
kunfei 5 years ago
parent e538084905
commit 872b6a2179
  1. 1
      app/src/main/AndroidManifest.xml
  2. 14
      app/src/main/java/io/legado/app/ui/login/SourceLogin.kt
  3. 17
      app/src/main/res/layout/activity_source_login.xml

@ -171,6 +171,7 @@
<data android:mimeType="text/plain" /> <data android:mimeType="text/plain" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".ui.login.SourceLogin" />
<service android:name=".service.CheckSourceService" /> <service android:name=".service.CheckSourceService" />
<service android:name=".service.DownloadService" /> <service android:name=".service.DownloadService" />

@ -0,0 +1,14 @@
package io.legado.app.ui.login
import android.os.Bundle
import io.legado.app.R
import io.legado.app.base.BaseActivity
class SourceLogin : BaseActivity(R.layout.activity_source_login) {
override fun onActivityCreated(savedInstanceState: Bundle?) {
}
}

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<io.legado.app.ui.widget.TitleBar
android:id="@+id/title_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
Loading…
Cancel
Save