This commit is contained in:
lunaticbum
2024-11-12 14:25:30 +09:00
parent 256a13b7df
commit 4b51b9807a
137 changed files with 10303 additions and 6630 deletions
@@ -1,75 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinatorLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/finestWhite">
<layout>
<data>
<FrameLayout
android:id="@+id/webLayout"
</data>
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinatorLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/toolbarHeight" />
android:background="@color/finestWhite">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="0dp">
<FrameLayout
android:id="@+id/webLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/toolbarHeight" />
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:padding="0dp"
app:contentInsetEnd="0dp"
app:contentInsetLeft="0dp"
app:contentInsetRight="0dp"
app:contentInsetStart="0dp">
app:elevation="0dp">
<include layout="@layout/toolbar_content" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:padding="0dp"
app:contentInsetEnd="0dp"
app:contentInsetLeft="0dp"
app:contentInsetRight="0dp"
app:contentInsetStart="0dp">
<View
android:id="@+id/gradient"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultDividerHeight"
android:layout_marginTop="@dimen/toolbarHeight"
android:background="@color/finestBlack10" />
<include layout="@layout/toolbar_content" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultProgressBarHeight"
android:layout_marginTop="@dimen/toolbarHeight"
android:indeterminate="false"
android:progressDrawable="@drawable/progress_drawable" />
<View
android:id="@+id/gradient"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultDividerHeight"
android:layout_marginTop="@dimen/toolbarHeight"
android:background="@color/finestBlack10" />
<include layout="@layout/menus" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultProgressBarHeight"
android:layout_marginTop="@dimen/toolbarHeight"
android:indeterminate="false"
android:progressDrawable="@drawable/progress_drawable" />
<!-- View where the video will be shown when video goes fullscreen -->
<RelativeLayout
android:id="@+id/videoLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:visibility="invisible">
<include layout="@layout/menus" />
<!-- View that will be shown while the fullscreen video loads. For example you could include
a "Loading..." message. However, in this particular example this view is actually defined in
view_loading_video.xml and inflated programmatically in ExampleActivity.java. The reason for
this is to keep the main layout (this file) cleaner. -->
<!-- <View
android:id="@+id/videoLoading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="invisible" /> -->
<!-- View where the video will be shown when video goes fullscreen -->
<RelativeLayout
android:id="@+id/videoLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black"
android:visibility="invisible">
</RelativeLayout>
<!-- View that will be shown while the fullscreen video loads. For example you could include
a "Loading..." message. However, in this particular example this view is actually defined in
view_loading_video.xml and inflated programmatically in ExampleActivity.java. The reason for
this is to keep the main layout (this file) cleaner. -->
<!-- <View
android:id="@+id/videoLoading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="invisible" /> -->
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>
+2 -2
View File
@@ -10,7 +10,7 @@
android:orientation="vertical"
android:visibility="gone">
<com.wuadam.awesomewebview.views.ShadowLayout
<kr.lunaticbum.awesomewebview.views.ShadowLayout
android:id="@+id/shadowLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -141,5 +141,5 @@
</LinearLayout>
</LinearLayout>
</com.wuadam.awesomewebview.views.ShadowLayout>
</kr.lunaticbum.awesomewebview.views.ShadowLayout>
</RelativeLayout>