Prepare for releasing 1.0.10-beta3
This commit is contained in:
parent
4ffdb8a572
commit
bae347bcea
|
@ -9,7 +9,7 @@ android {
|
|||
minSdkVersion 19
|
||||
targetSdkVersion 29
|
||||
versionCode 1
|
||||
versionName "1.0.10-beta2"
|
||||
versionName "1.0.10-beta3"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ class ApngEncoder(
|
|||
yOffsets: Int = 0,
|
||||
blendOp: Utils.Companion.BlendOp = Utils.Companion.BlendOp.APNG_BLEND_OP_SOURCE,
|
||||
disposeOp: Utils.Companion.DisposeOp = Utils.Companion.DisposeOp.APNG_DISPOSE_OP_NONE,
|
||||
usePngEncoder: Boolean = false
|
||||
usePngEncoder: Boolean = true
|
||||
) {
|
||||
val btm = BitmapFactory.decodeStream(inputStream).let {
|
||||
if (it.config != Bitmap.Config.ARGB_8888)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@file:Suppress("CascadeIf")
|
||||
|
||||
package oupson.apng.encoder
|
||||
|
||||
import android.graphics.Bitmap
|
||||
|
@ -44,7 +46,7 @@ class ExperimentalApngEncoder(
|
|||
yOffsets: Int = 0,
|
||||
blendOp: Utils.Companion.BlendOp = Utils.Companion.BlendOp.APNG_BLEND_OP_SOURCE,
|
||||
disposeOp: Utils.Companion.DisposeOp = Utils.Companion.DisposeOp.APNG_DISPOSE_OP_NONE,
|
||||
usePngEncoder: Boolean = false
|
||||
usePngEncoder: Boolean = true
|
||||
) {
|
||||
val btm = BitmapFactory.decodeStream(inputStream, null, BitmapFactory.Options().also { conf -> if (Build.VERSION.SDK_INT >=
|
||||
Build.VERSION_CODES.O) {
|
||||
|
|
|
@ -10,7 +10,7 @@ android {
|
|||
minSdkVersion 19
|
||||
targetSdkVersion 29
|
||||
versionCode 1
|
||||
versionName "1.0.10-beta2"
|
||||
versionName "1.0.10-beta3"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:largeHeap="true"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity android:name=".activities.MainActivity">
|
||||
|
|
|
@ -30,6 +30,7 @@ class MainActivity : AppCompatActivity() {
|
|||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.v(TAG, "supportFragmentManager.fragments.size : ${supportFragmentManager.fragments.size}")
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?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"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
@ -20,7 +21,8 @@
|
|||
app:backgroundTint="@color/secondary"
|
||||
app:layout_anchor="@id/creatorBottomAppBar"
|
||||
app:layout_anchorGravity="bottom|right|end"
|
||||
app:srcCompat="@drawable/ic_add_black_24dp" />
|
||||
app:srcCompat="@drawable/ic_add_black_24dp"
|
||||
tools:ignore="VectorDrawableCompat" />
|
||||
|
||||
<com.google.android.material.bottomappbar.BottomAppBar
|
||||
android:id="@+id/creatorBottomAppBar"
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:id="@+id/PlayButton"
|
||||
android:theme="@style/Widget.AppCompat.Button.Borderless.Colored"
|
||||
android:backgroundTint="@color/colorPrimary"
|
||||
app:backgroundTint="@color/colorPrimary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
|
@ -64,7 +64,7 @@
|
|||
<androidx.appcompat.widget.AppCompatButton
|
||||
android:id="@+id/PauseButton"
|
||||
android:theme="@style/Widget.AppCompat.Button.Borderless.Colored"
|
||||
android:backgroundTint="@color/colorPrimary"
|
||||
app:backgroundTint="@color/colorPrimary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
Binary file not shown.
Before Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
|
@ -2,8 +2,6 @@
|
|||
<resources>
|
||||
<color name="text">#fff</color>
|
||||
|
||||
<color name="gray">#999999</color>
|
||||
|
||||
<color name="background">#000</color>
|
||||
|
||||
<color name="control">#000</color>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<item name="android:windowBackground">@color/background</item>
|
||||
|
||||
<item name="android:windowLightStatusBar" tools:targetApi="m">@bool/is_theme_light</item>
|
||||
<item name="android:navigationBarColor">@color/colorPrimary</item>
|
||||
<item name="android:navigationBarColor" tools:targetApi="lollipop">@color/colorPrimary</item>
|
||||
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">@bool/nav_bar_light</item>
|
||||
<item name="colorControlHighlight">@color/colorPrimary</item>
|
||||
</style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.4.0'
|
||||
ext.kotlin_version = '1.4.10'
|
||||
ext.anko_version = '0.10.8'
|
||||
repositories {
|
||||
google()
|
||||
|
|
Loading…
Reference in New Issue