mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-15 14:05:08 +01:00
65804ebb3a
This way it will not reload on orientation change or theme switching Webview toolbar now also has history buttons in toolbar, pressing back now reverses in history Webview title is also now the websites title
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/web_view_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:id="@+id/web_linear_layout"
|
|
android:layout_width="match_parent"
|
|
android:fitsSystemWindows="true"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
android:theme="?attr/actionBarTheme"
|
|
app:navigationIcon="@drawable/baseline_close_white_24"/>
|
|
|
|
<WebView
|
|
android:id="@+id/webview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
</WebView>
|
|
</LinearLayout>
|
|
</FrameLayout> |