mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 00:19:16 +01:00
e9fbdb660b
Collapsing toolbar doesn't work currently.
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
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/ic_close_24dp" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout
|
|
android:id="@id/swipe_refresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<WebView
|
|
android:id="@+id/webview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progress_bar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:progressBackgroundTint="@color/colorPrimary"
|
|
android:progressTint="@color/colorPrimary" />
|
|
|
|
</WebView>
|
|
|
|
</eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout>
|
|
|
|
</LinearLayout>
|