This commit is contained in:
lunaticbum
2024-11-11 18:12:06 +09:00
parent f2311bd7f9
commit 256a13b7df
219 changed files with 12544 additions and 326 deletions
+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<accelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="1.5"/>
+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<accelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="2.0"/>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<accelerateInterpolator
xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="2.5"/>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@android:color/black"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="250"
android:fromAlpha="0.2"
android:interpolator="@anim/accelerate_cubic"
android:toAlpha="1.0"/>
<scale
android:duration="250"
android:fromXScale="0.9"
android:fromYScale="0.9"
android:interpolator="@anim/accelerate_cubic"
android:pivotX="50.0%p"
android:pivotY="50.0%p"
android:toXScale="1.0"
android:toYScale="1.0"/>
</set>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="top">
<translate
android:duration="250"
android:fromXDelta="0.0%p"
android:interpolator="@anim/accelerate_cubic"
android:toXDelta="100.0%p"/>
</set>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="top">
<translate
android:duration="250"
android:fromXDelta="100.0%p"
android:interpolator="@anim/decelerate_cubic"
android:toXDelta="0.0%p"/>
</set>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@android:color/black"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:shareInterpolator="false"
android:zAdjustment="normal">
<alpha
android:duration="250"
android:fromAlpha="1.0"
android:interpolator="@anim/decelerate_cubic"
android:toAlpha="0.2"/>
<scale
android:duration="250"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@anim/decelerate_cubic"
android:pivotX="50.0%p"
android:pivotY="50.0%p"
android:toXScale="0.9"
android:toYScale="0.9"/>
</set>
+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<decelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="1.5"/>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<decelerateInterpolator
xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="2.0"/>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<decelerateInterpolator
xmlns:android="http://schemas.android.com/apk/res/android"
android:factor="2.5"/>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="250"
android:fromAlpha="0.0"
android:toAlpha="1.0"/>
</set>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="400"
android:fromAlpha="0.0"
android:toAlpha="1.0"/>
</set>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="250"
android:fromAlpha="1.0"
android:toAlpha="0.0"/>
</set>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:duration="800"
android:fromAlpha="1.0"
android:interpolator="@android:anim/accelerate_interpolator"
android:toAlpha="0.0"/>
</set>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="150"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:interpolator="@anim/accelerate_quart"
android:startOffset="100"
android:toAlpha="0.0"/>
<translate
android:duration="250"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromYDelta="0.0%"
android:interpolator="@anim/accelerate_quint"
android:toYDelta="-4.999995%"/>
</set>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="150"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:fromAlpha="1.0"
android:interpolator="@anim/accelerate_quart"
android:startOffset="100"
android:toAlpha="0.0"/>
<translate
android:duration="250"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromYDelta="0.0%"
android:interpolator="@anim/accelerate_quint"
android:toYDelta="4.999995%"/>
</set>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="200"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:fromAlpha="0.0"
android:interpolator="@anim/decelerate_quart"
android:toAlpha="1.0"/>
<translate
android:duration="350"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromYDelta="8.000004%"
android:interpolator="@anim/decelerate_quint"
android:toYDelta="0.0"/>
</set>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="200"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:fromAlpha="0.0"
android:interpolator="@anim/decelerate_quart"
android:toAlpha="1.0"/>
<translate
android:duration="350"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:fromYDelta="-8.000004%"
android:interpolator="@anim/decelerate_quint"
android:toYDelta="0.0"/>
</set>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="800"
android:fromYDelta="0.0%p"
android:toYDelta="0.0%p"/>
</set>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@android:color/black"
android:fillAfter="true"
android:fillBefore="true"
android:fillEnabled="true"
android:shareInterpolator="false"
android:zAdjustment="top">
<alpha
android:duration="250"
android:fromAlpha="0.2"
android:interpolator="@anim/accelerate_cubic"
android:toAlpha="1.0"/>
<scale
android:duration="250"
android:fromXScale="0.9"
android:fromYScale="0.9"
android:interpolator="@anim/accelerate_cubic"
android:pivotX="50.0%p"
android:pivotY="50.0%p"
android:toXScale="1.0"
android:toYScale="1.0"/>
</set>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="top">
<translate
android:duration="250"
android:fromYDelta="0.0%p"
android:interpolator="@anim/accelerate_cubic"
android:toYDelta="100.0%p"/>
</set>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:zAdjustment="top">
<translate
android:duration="250"
android:fromYDelta="100.0%p"
android:interpolator="@anim/decelerate_cubic"
android:toYDelta="0.0%p"/>
</set>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@android:color/black"
android:fillAfter="true"
android:fillBefore="false"
android:fillEnabled="true"
android:shareInterpolator="false"
android:zAdjustment="normal">
<alpha
android:duration="250"
android:fromAlpha="1.0"
android:interpolator="@anim/decelerate_cubic"
android:toAlpha="0.2"/>
<scale
android:duration="250"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@anim/decelerate_cubic"
android:pivotX="50.0%p"
android:pivotY="50.0%p"
android:toXScale="0.9"
android:toYScale="0.9"/>
</set>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="0"
android:fromAlpha="1.0"
android:interpolator="@android:anim/decelerate_interpolator"
android:toAlpha="1.0"/>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="125">
<scale
android:fromXScale="1.0"
android:fromYScale="1.0"
android:pivotX="100%"
android:pivotY="0%"
android:toXScale="0.15"
android:toYScale="0.0"/>
<alpha
android:fromAlpha="1.0"
android:toAlpha="0.0"/>
</set>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="125">
<scale
android:fromXScale="0.15"
android:fromYScale="0.0"
android:pivotX="100%"
android:pivotY="0%"
android:toXScale="1.0"
android:toYScale="1.0"/>
<alpha
android:fromAlpha="0.2"
android:startOffset="60"
android:toAlpha="1.0"/>
</set>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="350"
android:fromYDelta="0.0%"
android:toYDelta="100.0%"/>
</set>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="300"
android:fromXDelta="100.0%p"
android:toXDelta="0.0"/>
</set>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<translate
android:duration="300"
android:fromXDelta="0.0%"
android:toXDelta="100.0%p"/>
</set>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android">
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="350"
android:fromYDelta="100.0%"
android:toYDelta="0.0%"/>
</set>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/finestWhite30">
<item android:drawable="@drawable/selector_dark_theme_holo"/>
</ripple>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/finestWhite10"/>
</shape>
</item>
<item android:state_focused="true">
<shape>
<solid android:color="@color/finestWhite10"/>
</shape>
</item>
<item android:drawable="@android:color/transparent"/>
</selector>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/finestBlack30">
<item android:drawable="@drawable/selector_light_theme_holo"/>
</ripple>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/finestGray10"/>
</shape>
</item>
<item android:state_focused="true">
<shape>
<solid android:color="@color/finestGray10"/>
</shape>
</item>
<item android:drawable="@android:color/transparent"/>
</selector>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="48dp"
android:viewportHeight="144.0"
android:viewportWidth="144.0"
android:width="48dp">
<path
android:fillColor="#FF000000"
android:pathData="M84.5,89.3L64.4,70.5l20.2,-18.8c1.2,-1.1 1.3,-3 0.2,-4.2c-1.1,-1.2 -3,-1.3 -4.2,-0.2L58,68.3c-0.6,0.6 -1,1.4 -1,2.2c0,0.8 0.3,1.6 1,2.2l22.5,21c1.2,1.1 3.1,1.1 4.2,-0.1C85.8,92.3 85.8,90.4 84.5,89.3L84.5,89.3z"/>
</vector>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="48dp"
android:viewportHeight="144.0"
android:viewportWidth="144.0"
android:width="48dp">
<path
android:fillColor="#FF000000"
android:pathData="M76.8,72l16.3,-15.8c1.2,-1.2 1.2,-3.1 0.1,-4.2c-1.2,-1.2 -3.1,-1.2 -4.2,-0.1l-16.4,16l-16.4,-16c-1.2,-1.2 -3.1,-1.1 -4.2,0.1c-1.2,1.2 -1.1,3.1 0.1,4.2L68.2,72L51.9,87.8c-1.2,1.2 -1.2,3.1 -0.1,4.2c1.2,1.2 3.1,1.2 4.2,0.1l16.4,-16l16.4,16c1.2,1.2 3.1,1.1 4.2,-0.1c1.2,-1.2 1.1,-3.1 -0.1,-4.2L76.8,72z"/>
</vector>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="48dp"
android:viewportHeight="144.0"
android:viewportWidth="144.0"
android:width="48dp">
<path
android:fillColor="#FF000000"
android:pathData="M65.5,93.7l22.5,-21c0.6,-0.6 1,-1.4 1,-2.2c0,-0.8 -0.3,-1.6 -1,-2.2l-22.6,-21c-1.2,-1.1 -3.1,-1.1 -4.2,0.2c-1.1,1.2 -1.1,3.1 0.2,4.2l20.2,18.8L61.5,89.3c-1.2,1.1 -1.3,3 -0.1,4.2C62.4,94.8 64.3,94.8 65.5,93.7L65.5,93.7z"/>
</vector>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="48dp"
android:viewportHeight="144.0"
android:viewportWidth="144.0"
android:width="48dp">
<path
android:fillColor="#FF000000"
android:pathData="M72,54m-6,0a6,6 0,1 1,12 0a6,6 0,1 1,-12 0"/>
<path
android:fillColor="#FF000000"
android:pathData="M72,72m-6,0a6,6 0,1 1,12 0a6,6 0,1 1,-12 0"/>
<path
android:fillColor="#FF000000"
android:pathData="M72,90m-6,0a6,6 0,1 1,12 0a6,6 0,1 1,-12 0"/>
</vector>
@@ -0,0 +1,12 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<color android:color="@android:color/transparent"/>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<solid android:color="@android:color/black"/>
</shape>
</clip>
</item>
</layer-list>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/finestWhite20"/>
</shape>
</item>
<item android:state_focused="true">
<shape>
<solid android:color="@color/finestWhite20"/>
</shape>
</item>
<item android:drawable="@android:color/transparent"/>
</selector>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="@color/finestGray20"/>
</shape>
</item>
<item android:state_focused="true">
<shape>
<solid android:color="@color/finestGray20"/>
</shape>
</item>
<item android:drawable="@android:color/transparent"/>
</selector>
@@ -0,0 +1,75 @@
<?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">
<FrameLayout
android:id="@+id/webLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/toolbarHeight" />
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="0dp">
<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">
<include layout="@layout/toolbar_content" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<View
android:id="@+id/gradient"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultDividerHeight"
android:layout_marginTop="@dimen/toolbarHeight"
android:background="@color/finestBlack10" />
<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" />
<include layout="@layout/menus" />
<!-- 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">
<!-- 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" /> -->
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
+145
View File
@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/menuLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:focusable="true"
android:onClick="onClick"
android:orientation="vertical"
android:visibility="gone">
<com.wuadam.awesomewebview.views.ShadowLayout
android:id="@+id/shadowLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:clipChildren="false"
android:clipToPadding="false"
app:slCornerRadius="@dimen/defaultMenuDropShadowCornerRadius"
app:slShadowColor="@color/finestBlack10"
app:slShadowSize="@dimen/defaultMenuDropShadowSize">
<LinearLayout
android:id="@+id/menuBackground"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp"
android:paddingTop="8dp">
<LinearLayout
android:id="@+id/menuRefresh"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left"
android:onClick="onClick">
<TextView
android:id="@+id/menuRefreshTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/refresh"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
<LinearLayout
android:id="@+id/menuFind"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left"
android:onClick="onClick">
<TextView
android:id="@+id/menuFindTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/find"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
<LinearLayout
android:id="@+id/menuShareVia"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left"
android:onClick="onClick">
<TextView
android:id="@+id/menuShareViaTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/share_via"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
<LinearLayout
android:id="@+id/menuCopyLink"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left"
android:onClick="onClick">
<TextView
android:id="@+id/menuCopyLinkTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/copy_link"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
<LinearLayout
android:id="@+id/menuOpenWith"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left"
android:onClick="onClick">
<TextView
android:id="@+id/menuOpenWithTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/open_with"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
</LinearLayout>
</com.wuadam.awesomewebview.views.ShadowLayout>
</RelativeLayout>
@@ -0,0 +1,92 @@
<?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">
<RelativeLayout
android:id="@+id/toolbarLayout"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbarHeight"
android:minHeight="@dimen/toolbarHeight">
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/close"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:background="@drawable/selector_light_theme"
android:src="@drawable/close" />
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/back"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_toLeftOf="@+id/centerLayout"
android:background="@drawable/selector_light_theme"
android:src="@drawable/back"
android:visibility="gone" />
<LinearLayout
android:id="@id/centerLayout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="1.5dp"
android:layout_marginTop="1.5dp"
android:ellipsize="end"
android:gravity="center"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultTitleSize" />
<TextView
android:id="@+id/url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="1.5dp"
android:layout_marginTop="1.5dp"
android:ellipsize="end"
android:gravity="center"
android:includeFontPadding="false"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:singleLine="true"
android:textColor="@color/finestSilver"
android:textSize="@dimen/defaultUrlSize" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/forward"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/centerLayout"
android:background="@drawable/selector_light_theme"
android:src="@drawable/forward"
android:visibility="gone" />
<androidx.appcompat.widget.AppCompatImageButton
android:id="@+id/more"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/selector_light_theme"
android:src="@drawable/more" />
</RelativeLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="@dimen/defaultDividerHeight"
android:background="@color/finestSilver" />
</LinearLayout>
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/customMenuLayout"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@drawable/selector_light_theme"
android:gravity="center_vertical|left">
<TextView
android:id="@+id/customMenu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingLeft="16dp"
android:paddingRight="32dp"
android:singleLine="true"
android:text="@string/copy_link"
android:textColor="@color/finestBlack"
android:textSize="@dimen/defaultMenuTextSize" />
</LinearLayout>
</FrameLayout>
@@ -0,0 +1,31 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerInParent="true" >
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true"
style="?android:attr/progressBarStyleLarge" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="24dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#a3a3a3"
android:text="@string/loading_video" />
</LinearLayout>
</RelativeLayout>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="refresh">Recargar</string>
<string name="find">Encontrar</string>
<string name="share_via">Compartir</string>
<string name="copy_link">Copiar enlace</string>
<string name="open_with">Abrir con</string>
<string name="copied_to_clipboard">Copiado al portapapeles</string>
</resources>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="refresh">새로고침</string>
<string name="find">찾기</string>
<string name="share_via">주소 공유하기</string>
<string name="copy_link">주소 복사하기</string>
<string name="open_with">다른 앱으로 열기</string>
<string name="copied_to_clipboard">주소가 복사 되었습니다</string>
</resources>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="toolbarHeight">48dp</dimen>
<dimen name="menusWidth">224dp</dimen>
</resources>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="is_right_to_left">true</bool>
</resources>
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="refresh">Atualizar</string>
<string name="find">Procurar</string>
<string name="share_via">Compartilhar</string>
<string name="copy_link">Copiar link</string>
<string name="open_with">Abrir com</string>
<string name="copied_to_clipboard">Copiado para a área de transferência</string>
</resources>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="is_right_to_left">false</bool>
</resources>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="finestWhite10">#1AFFFFFF</color>
<color name="finestWhite20">#33FFFFFF</color>
<color name="finestWhite30">#4DFFFFFF</color>
<color name="finestGray10">#1AD2D2D2</color>
<color name="finestGray20">#33D2D2D2</color>
<color name="finestBlack05">#0D202020</color>
<color name="finestBlack10">#1A202020</color>
<color name="finestBlack20">#33202020</color>
<color name="finestBlack30">#4D202020</color>
<color name="finestBlack40">#66202020</color>
<color name="finestWhite">#FFFFFF</color>
<color name="finestBlack">#000000</color>
<color name="finestSilver">#A5A5A5</color>
<color name="finestGray">#E7E7E7</color>
</resources>
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="toolbarHeight">56dp</dimen>
<dimen name="menusWidth">168dp</dimen>
<dimen name="defaultDividerHeight">4dp</dimen>
<dimen name="defaultProgressBarHeight">1dp</dimen>
<dimen name="defaultTitleSize">14dp</dimen>
<dimen name="defaultUrlSize">10dp</dimen>
<dimen name="defaultMenuDropShadowCornerRadius">2dp</dimen>
<dimen name="defaultMenuDropShadowSize">4dp</dimen>
<dimen name="defaultMenuTextSize">16dp</dimen>
<dimen name="defaultMenuTextPaddingLeft">16dp</dimen>
<dimen name="defaultMenuTextPaddingRight">32dp</dimen>
<dimen name="defaultMenuLayoutMargin">4dp</dimen>
<dimen name="defaultMenuCornerRadius">2dp</dimen>
</resources>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="refresh">Refresh</string>
<string name="find">Find</string>
<string name="share_via">Share via</string>
<string name="copy_link">Copy Link</string>
<string name="open_with">Open with</string>
<string name="save_photo">Save Photo</string>
<string name="photo_saved_to">Photo has been saved to </string>
<string name="photo_save_failed">Photo save failed</string>
<string name="file_chooser">File Chooser</string>
<string name="copied_to_clipboard">Copied to clipboard</string>
<string name="loading_video">Loading video…</string>
</resources>
+39
View File
@@ -0,0 +1,39 @@
<resources>
<style name="FinestWebViewTheme" parent="Theme.AppCompat.NoActionBar">
<item name="colorPrimary">@color/finestWhite</item>
<item name="colorPrimaryDark">@color/finestGray</item>
<item name="colorAccent">@color/finestBlack</item>
<item name="android:textColorPrimary">@color/finestBlack</item>
<item name="android:textColorSecondary">@color/finestSilver</item>
<item name="windowActionModeOverlay">true</item>
</style>
<style name="FinestWebViewTheme.Fullscreen" parent="FinestWebViewTheme">
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
</style>
<style name="FinestWebViewTheme.Light" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/finestWhite</item>
<item name="colorPrimaryDark">@color/finestGray</item>
<item name="colorAccent">@color/finestBlack</item>
<item name="android:textColorPrimary">@color/finestBlack</item>
<item name="android:textColorSecondary">@color/finestSilver</item>
<item name="windowActionModeOverlay">true</item>
</style>
<style name="FinestWebViewTheme.Light.Fullscreen" parent="FinestWebViewTheme.Light">
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
</style>
<declare-styleable name="ShadowLayout">
<attr format="dimension" name="slCornerRadius"/>
<attr format="dimension" name="slShadowSize"/>
<attr format="color" name="slShadowColor"/>
<attr format="dimension" name="slDx"/>
<attr format="dimension" name="slDy"/>
</declare-styleable>
</resources>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path
name="external_files"
path="." />
</paths>