From 59ec7128fdad10d437bbd415dab2c96a915956cb Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 00:11:22 -0400 Subject: Update android gradle version --- core/src/main/res-public/values/public.xml | 64 +++++++++++++++--------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'core') diff --git a/core/src/main/res-public/values/public.xml b/core/src/main/res-public/values/public.xml index 2163b10..158ab6f 100644 --- a/core/src/main/res-public/values/public.xml +++ b/core/src/main/res-public/values/public.xml @@ -1,28 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - + + @@ -51,6 +30,14 @@ + + + + + + + + @@ -106,13 +93,26 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 81518f74fa76b6c2274a0e02ad4169f5d7f61e59 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 8 Oct 2018 01:06:44 -0400 Subject: Update translations (#169) * New translations strings_about.xml (Polish) * New translations strings_commons.xml (Hebrew) * New translations strings_commons.xml (Tagalog) * New translations strings_commons.xml (Swedish) * New translations strings_commons.xml (Serbian (Cyrillic)) * New translations strings_commons.xml (Russian) * New translations strings_commons.xml (Romanian) * New translations strings_commons.xml (Portuguese, Brazilian) * New translations strings_commons.xml (Portuguese) * New translations strings_commons.xml (Norwegian) * New translations strings_commons.xml (Korean) * New translations strings_commons.xml (Japanese) * New translations strings_commons.xml (Italian) * New translations strings_commons.xml (Hungarian) * New translations strings_commons.xml (Greek) * New translations strings_commons.xml (German) * New translations strings_commons.xml (Galician) * New translations strings_commons.xml (French) * New translations strings_commons.xml (Finnish) * New translations strings_commons.xml (English) * New translations strings_commons.xml (Dutch) * New translations strings_commons.xml (Czech) * New translations strings_commons.xml (Chinese Traditional) * New translations strings_commons.xml (Chinese Simplified) * New translations strings_commons.xml (Catalan) * New translations strings_commons.xml (Arabic) * New translations strings_commons.xml (Afrikaans) * New translations strings_colorpicker.xml (Ukrainian) * New translations strings_commons.xml (Ukrainian) * New translations strings_mediapicker.xml (Ukrainian) * New translations strings_mediapicker.xml (Tagalog) * New translations strings_mediapicker.xml (Swedish) * New translations strings_mediapicker.xml (Serbian (Cyrillic)) * New translations strings_mediapicker.xml (Russian) * New translations strings_mediapicker.xml (Romanian) * New translations strings_mediapicker.xml (Portuguese, Brazilian) * New translations strings_mediapicker.xml (Portuguese) * New translations strings_mediapicker.xml (Norwegian) * New translations strings_mediapicker.xml (Korean) * New translations strings_mediapicker.xml (Japanese) * New translations strings_mediapicker.xml (Italian) * New translations strings_mediapicker.xml (Hungarian) * New translations strings_commons.xml (Vietnamese) * New translations strings_mediapicker.xml (Hebrew) * New translations strings_mediapicker.xml (Greek) * New translations strings_mediapicker.xml (German) * New translations strings_mediapicker.xml (Galician) * New translations strings_mediapicker.xml (French) * New translations strings_mediapicker.xml (Finnish) * New translations strings_mediapicker.xml (English) * New translations strings_mediapicker.xml (Dutch) * New translations strings_mediapicker.xml (Czech) * New translations strings_mediapicker.xml (Chinese Traditional) * New translations strings_mediapicker.xml (Chinese Simplified) * New translations strings_mediapicker.xml (Catalan) * New translations strings_mediapicker.xml (Arabic) * New translations strings_mediapicker.xml (Afrikaans) * New translations strings_colorpicker.xml (Tagalog) * New translations strings_mediapicker.xml (Polish) * New translations strings_about.xml (English) * New translations strings_about.xml (Portuguese, Brazilian) * New translations strings_about.xml (Portuguese) * New translations strings_about.xml (Norwegian) * New translations strings_about.xml (Korean) * New translations strings_about.xml (Japanese) * New translations strings_about.xml (Italian) * New translations strings_about.xml (Hungarian) * New translations strings_about.xml (Hebrew) * New translations strings_about.xml (Greek) * New translations strings_about.xml (German) * New translations strings_about.xml (Galician) * New translations strings_about.xml (French) * New translations strings_about.xml (Finnish) * New translations strings_about.xml (Dutch) * New translations strings_about.xml (Russian) * New translations strings_about.xml (Czech) * New translations strings_about.xml (Chinese Simplified) * New translations strings_about.xml (Catalan) * New translations strings_about.xml (Arabic) * New translations strings_about.xml (Afrikaans) * New translations strings_mediapicker.xml (Danish) * New translations strings_commons.xml (Danish) * New translations strings_colorpicker.xml (Danish) * New translations strings_about.xml (Danish) * New translations strings_mediapicker.xml (Spanish) * New translations strings_commons.xml (Spanish) * New translations strings_about.xml (Spanish) * New translations strings_about.xml (Chinese Traditional) * New translations strings_about.xml (Romanian) * New translations strings_about.xml (Serbian (Cyrillic)) * New translations strings_colorpicker.xml (Swedish) * New translations strings_colorpicker.xml (Serbian (Cyrillic)) * New translations strings_colorpicker.xml (Russian) * New translations strings_colorpicker.xml (Romanian) * New translations strings_colorpicker.xml (Portuguese) * New translations strings_colorpicker.xml (Japanese) * New translations strings_colorpicker.xml (Hebrew) * New translations strings_colorpicker.xml (Greek) * New translations strings_about.xml (Swedish) * New translations strings_colorpicker.xml (Arabic) * New translations strings_about.xml (Tagalog) * New translations strings_about.xml (Ukrainian) * New translations strings_about.xml (Vietnamese) * New translations strings_colorpicker.xml (Afrikaans) * New translations strings_colorpicker.xml (Catalan) * New translations strings_colorpicker.xml (Chinese Traditional) * New translations strings_colorpicker.xml (Czech) * New translations strings_colorpicker.xml (Dutch) * New translations strings_colorpicker.xml (English) * New translations strings_colorpicker.xml (Finnish) * New translations strings_mediapicker.xml (Vietnamese) * New translations strings_commons.xml (Danish) * New translations strings_about.xml (Swedish) * New translations strings_about.xml (Ukrainian) * New translations strings_colorpicker.xml (Swedish) * New translations strings_colorpicker.xml (Ukrainian) * New translations strings_commons.xml (Swedish) * New translations strings_commons.xml (Ukrainian) * New translations strings_mediapicker.xml (Swedish) * New translations strings_mediapicker.xml (Ukrainian) * Delete empty files * Optimize all source files --- .../ca/allanwang/kau/about/CollapsibleTextView.kt | 1 - about/src/main/res-public/values/public.xml | 2 +- about/src/main/res/values-da-rDK/strings_about.xml | 5 + about/src/main/res/values-in-rID/strings_about.xml | 7 +- about/src/main/res/values-pl-rPL/strings_about.xml | 6 +- about/src/main/res/values-sv-rSE/strings_about.xml | 5 + about/src/main/res/values-th-rTH/strings_about.xml | 7 +- about/src/main/res/values-tr-rTR/strings_about.xml | 7 +- about/src/main/res/values-uk-rUA/strings_about.xml | 5 + .../kau/adapters/FastItemThemedAdapter.kt | 3 +- .../ca/allanwang/kau/animators/KauAnimator.kt | 9 +- .../kotlin/ca/allanwang/kau/iitems/KauIItem.kt | 1 + adapter/src/main/res-public/values/public.xml | 2 +- .../main/groovy/ca/allanwang/kau/Plugins.groovy | 12 +- .../ca/allanwang/kau/colorpicker/CircleView.kt | 2 - colorpicker/src/main/res-public/values/public.xml | 2 +- .../main/res/values-da-rDK/strings_colorpicker.xml | 5 + .../main/res/values-de-rDE/strings_colorpicker.xml | 7 +- .../main/res/values-es-rES/strings_colorpicker.xml | 7 +- .../main/res/values-fr-rFR/strings_colorpicker.xml | 7 +- .../main/res/values-gl-rES/strings_colorpicker.xml | 7 +- .../main/res/values-hu-rHU/strings_colorpicker.xml | 7 +- .../main/res/values-in-rID/strings_colorpicker.xml | 7 +- .../main/res/values-it-rIT/strings_colorpicker.xml | 7 +- .../main/res/values-ko-rKR/strings_colorpicker.xml | 7 +- .../main/res/values-no-rNO/strings_colorpicker.xml | 7 +- .../main/res/values-pl-rPL/strings_colorpicker.xml | 7 +- .../main/res/values-pt-rBR/strings_colorpicker.xml | 7 +- .../main/res/values-sv-rSE/strings_colorpicker.xml | 5 + .../main/res/values-th-rTH/strings_colorpicker.xml | 7 +- .../main/res/values-tr-rTR/strings_colorpicker.xml | 7 +- .../main/res/values-uk-rUA/strings_colorpicker.xml | 5 + .../main/res/values-vi-rVN/strings_colorpicker.xml | 7 +- .../main/res/values-zh-rCN/strings_colorpicker.xml | 7 +- .../ui/widgets/ElasticDragDismissFrameLayout.kt | 2 +- core-ui/src/main/res-public/values-v21/styles.xml | 1 + core-ui/src/main/res-public/values/public.xml | 2 +- core-ui/src/main/res/values/attr.xml | 40 +++---- .../kotlin/ca/allanwang/kau/xml/FaqTest.kt | 1 - .../ca/allanwang/kau/kotlin/LazyResettable.kt | 6 +- .../main/kotlin/ca/allanwang/kau/kotlin/Utils.kt | 2 +- .../kotlin/ca/allanwang/kau/kpref/KPrefDelegate.kt | 6 +- .../ca/allanwang/kau/kpref/KPrefSingleDelegate.kt | 3 +- .../allanwang/kau/permissions/PermissionManager.kt | 9 +- .../ca/allanwang/kau/permissions/Permissions.kt | 6 +- .../ca/allanwang/kau/swipe/SwipeBackHelper.kt | 3 +- .../kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt | 3 +- .../kotlin/ca/allanwang/kau/utils/ColorUtils.kt | 12 +- .../kotlin/ca/allanwang/kau/utils/FileUtils.kt | 3 +- .../kotlin/ca/allanwang/kau/utils/FontUtils.kt | 3 +- .../ca/allanwang/kau/utils/NotificationUtils.kt | 3 +- .../kotlin/ca/allanwang/kau/utils/ViewUtils.kt | 51 +++++--- core/src/main/kotlin/ca/allanwang/kau/xml/FAQ.kt | 3 +- .../res-public/values-da-rDK/strings_commons.xml | 69 +++++++++++ .../res-public/values-in-rID/strings_commons.xml | 122 ++++++++++--------- .../res-public/values-pl-rPL/strings_commons.xml | 98 ++++++++-------- .../res-public/values-sv-rSE/strings_commons.xml | 69 +++++++++++ .../res-public/values-th-rTH/strings_commons.xml | 122 ++++++++++--------- .../res-public/values-tr-rTR/strings_commons.xml | 130 ++++++++++----------- .../res-public/values-uk-rUA/strings_commons.xml | 53 +++++++++ core/src/main/res-public/values/public.xml | 2 +- .../ca/allanwang/kau/kpref/activity/KPrefBinder.kt | 24 ++-- .../kau/kpref/activity/items/KPrefCheckbox.kt | 1 - .../src/main/res-public/values/public.xml | 2 +- .../allanwang/kau/mediapicker/MediaPickerBinder.kt | 3 +- mediapicker/src/main/res-public/values/public.xml | 2 +- .../main/res/values-da-rDK/strings_mediapicker.xml | 10 ++ .../main/res/values-in-rID/strings_mediapicker.xml | 17 ++- .../main/res/values-pl-rPL/strings_mediapicker.xml | 10 ++ .../main/res/values-sv-rSE/strings_mediapicker.xml | 10 ++ .../main/res/values-th-rTH/strings_mediapicker.xml | 17 ++- .../main/res/values-tr-rTR/strings_mediapicker.xml | 17 ++- .../main/res/values-uk-rUA/strings_mediapicker.xml | 10 ++ .../kotlin/ca/allanwang/kau/sample/MediaPicker.kt | 6 +- searchview/src/main/res-public/values/public.xml | 2 +- searchview/src/main/res/values/ids.xml | 26 ++--- 76 files changed, 707 insertions(+), 470 deletions(-) create mode 100644 about/src/main/res/values-da-rDK/strings_about.xml create mode 100644 about/src/main/res/values-sv-rSE/strings_about.xml create mode 100644 about/src/main/res/values-uk-rUA/strings_about.xml create mode 100644 colorpicker/src/main/res/values-da-rDK/strings_colorpicker.xml create mode 100644 colorpicker/src/main/res/values-sv-rSE/strings_colorpicker.xml create mode 100644 colorpicker/src/main/res/values-uk-rUA/strings_colorpicker.xml create mode 100644 core/src/main/res-public/values-da-rDK/strings_commons.xml create mode 100644 core/src/main/res-public/values-sv-rSE/strings_commons.xml create mode 100644 core/src/main/res-public/values-uk-rUA/strings_commons.xml create mode 100644 mediapicker/src/main/res/values-da-rDK/strings_mediapicker.xml create mode 100644 mediapicker/src/main/res/values-pl-rPL/strings_mediapicker.xml create mode 100644 mediapicker/src/main/res/values-sv-rSE/strings_mediapicker.xml create mode 100644 mediapicker/src/main/res/values-uk-rUA/strings_mediapicker.xml (limited to 'core') diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/CollapsibleTextView.kt b/about/src/main/kotlin/ca/allanwang/kau/about/CollapsibleTextView.kt index 59ab39a..f010321 100644 --- a/about/src/main/kotlin/ca/allanwang/kau/about/CollapsibleTextView.kt +++ b/about/src/main/kotlin/ca/allanwang/kau/about/CollapsibleTextView.kt @@ -4,7 +4,6 @@ import android.content.Context import android.content.res.Configuration import android.support.v7.widget.AppCompatTextView import android.util.AttributeSet -import android.widget.TextView import ca.allanwang.kau.ui.views.CollapsibleView import ca.allanwang.kau.ui.views.CollapsibleViewDelegate diff --git a/about/src/main/res-public/values/public.xml b/about/src/main/res-public/values/public.xml index 2db68c4..3739dd1 100644 --- a/about/src/main/res-public/values/public.xml +++ b/about/src/main/res-public/values/public.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/about/src/main/res/values-da-rDK/strings_about.xml b/about/src/main/res/values-da-rDK/strings_about.xml new file mode 100644 index 0000000..837d419 --- /dev/null +++ b/about/src/main/res/values-da-rDK/strings_about.xml @@ -0,0 +1,5 @@ + + + Denne app vil ikke være mulig uden de følgende fantastiske biblioteker. + Ofte stillede spørgsmål + diff --git a/about/src/main/res/values-in-rID/strings_about.xml b/about/src/main/res/values-in-rID/strings_about.xml index 8eed948..e2e83a7 100644 --- a/about/src/main/res/values-in-rID/strings_about.xml +++ b/about/src/main/res/values-in-rID/strings_about.xml @@ -1,6 +1,5 @@ - - + - Aplikasi ini tidak mungkin dilakukan tanpa perpustakaan besar berikut ini. - FAQ + Aplikasi ini tidak mungkin dilakukan tanpa perpustakaan besar berikut ini. + FAQ diff --git a/about/src/main/res/values-pl-rPL/strings_about.xml b/about/src/main/res/values-pl-rPL/strings_about.xml index 4b25bff..cfdd1ef 100644 --- a/about/src/main/res/values-pl-rPL/strings_about.xml +++ b/about/src/main/res/values-pl-rPL/strings_about.xml @@ -1,5 +1,5 @@ - - + - FAQ + Aplikacja nie byłaby możliwa bez następujących świetnych bibliotek. + FAQ diff --git a/about/src/main/res/values-sv-rSE/strings_about.xml b/about/src/main/res/values-sv-rSE/strings_about.xml new file mode 100644 index 0000000..02f5417 --- /dev/null +++ b/about/src/main/res/values-sv-rSE/strings_about.xml @@ -0,0 +1,5 @@ + + + Den här appen skulle inte varit möjlig utan följande bibliotek. + Vanliga frågor + diff --git a/about/src/main/res/values-th-rTH/strings_about.xml b/about/src/main/res/values-th-rTH/strings_about.xml index 2e2d278..ab1863b 100644 --- a/about/src/main/res/values-th-rTH/strings_about.xml +++ b/about/src/main/res/values-th-rTH/strings_about.xml @@ -1,6 +1,5 @@ - - + - แอพนี้จะไม่สามารถเกิดขึ้นได้ถ้าไม่ได้ไลบาลี้เหล่านี้ - ถามตอบ + แอพนี้จะไม่สามารถเกิดขึ้นได้ถ้าไม่ได้ไลบาลี้เหล่านี้ + ถามตอบ diff --git a/about/src/main/res/values-tr-rTR/strings_about.xml b/about/src/main/res/values-tr-rTR/strings_about.xml index d8c26db..b54bb6e 100644 --- a/about/src/main/res/values-tr-rTR/strings_about.xml +++ b/about/src/main/res/values-tr-rTR/strings_about.xml @@ -1,6 +1,5 @@ - - + - Bu uygulama aşağıdaki büyük kütüphaneler olmadan mümkün olmayacaktır. - SSS + Bu uygulama aşağıdaki büyük kütüphaneler olmadan mümkün olmayacaktır. + SSS diff --git a/about/src/main/res/values-uk-rUA/strings_about.xml b/about/src/main/res/values-uk-rUA/strings_about.xml new file mode 100644 index 0000000..1ca3901 --- /dev/null +++ b/about/src/main/res/values-uk-rUA/strings_about.xml @@ -0,0 +1,5 @@ + + + Цей додаток не був би можливим без використання великих бібліотек. + FAQ + diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt b/adapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt index c3a1c61..870861d 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt @@ -172,7 +172,8 @@ class ThemableIItemDelegate : ThemableIItem, ThemableIItemColors by ThemableIIte @RequiresApi(Build.VERSION_CODES.LOLLIPOP) override fun bindBackgroundRipple(vararg views: View?) { val background = backgroundColor ?: return - val foreground = accentColor ?: textColor ?: backgroundColor ?: return //default to normal background + val foreground = accentColor ?: textColor ?: backgroundColor + ?: return //default to normal background val ripple = createSimpleRippleDrawable(foreground, background) views.forEach { it?.background = ripple } } diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt b/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt index 9e52aac..7b9b732 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/animators/KauAnimator.kt @@ -14,8 +14,7 @@ open class KauAnimator( val changeAnimator: KauAnimatorChange = FadeAnimatorChange() ) : BaseItemAnimator() { - open fun startDelay(holder: RecyclerView.ViewHolder, duration: Long, factor: Float) - = Math.max(0L, (holder.adapterPosition * duration * factor).toLong()) + open fun startDelay(holder: RecyclerView.ViewHolder, duration: Long, factor: Float) = Math.max(0L, (holder.adapterPosition * duration * factor).toLong()) override fun removeAnimation(holder: RecyclerView.ViewHolder): ViewPropertyAnimator { return holder.itemView.animate().apply { @@ -30,8 +29,7 @@ open class KauAnimator( holder.itemView.apply { removeAnimator.animationCleanup(holder)() } } - override fun getRemoveDelay(remove: Long, move: Long, change: Long): Long - = removeAnimator.getDelay(remove, move, change) + override fun getRemoveDelay(remove: Long, move: Long, change: Long): Long = removeAnimator.getDelay(remove, move, change) override fun addAnimationPrepare(holder: RecyclerView.ViewHolder) { holder.itemView.apply { addAnimator.animationPrepare(holder)() } @@ -50,8 +48,7 @@ open class KauAnimator( holder.itemView.apply { addAnimator.animationCleanup(holder)() } } - override fun getAddDelay(remove: Long, move: Long, change: Long): Long - = addAnimator.getDelay(remove, move, change) + override fun getAddDelay(remove: Long, move: Long, change: Long): Long = addAnimator.getDelay(remove, move, change) override fun changeOldAnimation(holder: RecyclerView.ViewHolder, changeInfo: ChangeInfo): ViewPropertyAnimator { return holder.itemView.animate().apply { diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt index 196959c..5174503 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt @@ -21,6 +21,7 @@ open class KauIItem( ) : AbstractItem() where Item : IItem<*, *>, Item : IClickable<*> { @SuppressLint("ResourceType") final override fun getType(): Int = type + final override fun getViewHolder(v: View): VH = viewHolder(v) final override fun getLayoutRes(): Int = layoutRes } \ No newline at end of file diff --git a/adapter/src/main/res-public/values/public.xml b/adapter/src/main/res-public/values/public.xml index cf14680..4d16c2a 100644 --- a/adapter/src/main/res-public/values/public.xml +++ b/adapter/src/main/res-public/values/public.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/buildSrc/src/main/groovy/ca/allanwang/kau/Plugins.groovy b/buildSrc/src/main/groovy/ca/allanwang/kau/Plugins.groovy index 040e2a2..c1ecba6 100644 --- a/buildSrc/src/main/groovy/ca/allanwang/kau/Plugins.groovy +++ b/buildSrc/src/main/groovy/ca/allanwang/kau/Plugins.groovy @@ -6,8 +6,12 @@ package ca.allanwang.kau class Plugins { static def android = "com.android.tools.build:gradle:${Versions.gradlePlugin}" static def kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" - static def androidMaven = "com.github.dcendents:android-maven-gradle-plugin:${Versions.mavenPlugin}" - static def playPublisher = "com.github.triplet.gradle:play-publisher:${Versions.playPublishPlugin}" - static def dexCount = "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${Versions.dexCountPlugin}" - static def gitVersion = "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${Versions.gitVersionPlugin}" + static + def androidMaven = "com.github.dcendents:android-maven-gradle-plugin:${Versions.mavenPlugin}" + static + def playPublisher = "com.github.triplet.gradle:play-publisher:${Versions.playPublishPlugin}" + static + def dexCount = "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${Versions.dexCountPlugin}" + static + def gitVersion = "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${Versions.gitVersionPlugin}" } \ No newline at end of file diff --git a/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/CircleView.kt b/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/CircleView.kt index fe7a7a6..310fd53 100644 --- a/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/CircleView.kt +++ b/colorpicker/src/main/kotlin/ca/allanwang/kau/colorpicker/CircleView.kt @@ -1,7 +1,5 @@ package ca.allanwang.kau.colorpicker -import android.animation.Animator -import android.animation.AnimatorListenerAdapter import android.animation.ValueAnimator import android.content.Context import android.content.res.ColorStateList diff --git a/colorpicker/src/main/res-public/values/public.xml b/colorpicker/src/main/res-public/values/public.xml index cf14680..4d16c2a 100644 --- a/colorpicker/src/main/res-public/values/public.xml +++ b/colorpicker/src/main/res-public/values/public.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/colorpicker/src/main/res/values-da-rDK/strings_colorpicker.xml b/colorpicker/src/main/res/values-da-rDK/strings_colorpicker.xml new file mode 100644 index 0000000..a5f7487 --- /dev/null +++ b/colorpicker/src/main/res/values-da-rDK/strings_colorpicker.xml @@ -0,0 +1,5 @@ + + + Farvepalette + Forhåndsvalg + diff --git a/colorpicker/src/main/res/values-de-rDE/strings_colorpicker.xml b/colorpicker/src/main/res/values-de-rDE/strings_colorpicker.xml index 3f26f0a..5dd7b38 100644 --- a/colorpicker/src/main/res/values-de-rDE/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-de-rDE/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Farbpalette - Vorlagen + Farbpalette + Vorlagen diff --git a/colorpicker/src/main/res/values-es-rES/strings_colorpicker.xml b/colorpicker/src/main/res/values-es-rES/strings_colorpicker.xml index a0d03a5..56148fd 100644 --- a/colorpicker/src/main/res/values-es-rES/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-es-rES/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Paleta de colores - Ajustes preestablecidos + Paleta de colores + Ajustes preestablecidos diff --git a/colorpicker/src/main/res/values-fr-rFR/strings_colorpicker.xml b/colorpicker/src/main/res/values-fr-rFR/strings_colorpicker.xml index 01441e8..a044e6e 100644 --- a/colorpicker/src/main/res/values-fr-rFR/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-fr-rFR/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Palette de couleurs - Réglages prédéfinis + Palette de couleurs + Réglages prédéfinis diff --git a/colorpicker/src/main/res/values-gl-rES/strings_colorpicker.xml b/colorpicker/src/main/res/values-gl-rES/strings_colorpicker.xml index 696e716..fbc1d90 100644 --- a/colorpicker/src/main/res/values-gl-rES/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-gl-rES/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Paleta de cores - Axustes predefinidos + Paleta de cores + Axustes predefinidos diff --git a/colorpicker/src/main/res/values-hu-rHU/strings_colorpicker.xml b/colorpicker/src/main/res/values-hu-rHU/strings_colorpicker.xml index c601e8e..42f3700 100644 --- a/colorpicker/src/main/res/values-hu-rHU/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-hu-rHU/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Színpaletta - Sablonok + Színpaletta + Sablonok diff --git a/colorpicker/src/main/res/values-in-rID/strings_colorpicker.xml b/colorpicker/src/main/res/values-in-rID/strings_colorpicker.xml index 13e9716..52e59bc 100644 --- a/colorpicker/src/main/res/values-in-rID/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-in-rID/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Palet warna - Preset + Palet warna + Preset diff --git a/colorpicker/src/main/res/values-it-rIT/strings_colorpicker.xml b/colorpicker/src/main/res/values-it-rIT/strings_colorpicker.xml index 40a0c89..4f3e282 100644 --- a/colorpicker/src/main/res/values-it-rIT/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-it-rIT/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Tavolozza dei colori - Preimpostazioni + Tavolozza dei colori + Preimpostazioni diff --git a/colorpicker/src/main/res/values-ko-rKR/strings_colorpicker.xml b/colorpicker/src/main/res/values-ko-rKR/strings_colorpicker.xml index 550fb00..7c65db1 100644 --- a/colorpicker/src/main/res/values-ko-rKR/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-ko-rKR/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - 색상 팔레트 - 사전 설정 + 색상 팔레트 + 사전 설정 diff --git a/colorpicker/src/main/res/values-no-rNO/strings_colorpicker.xml b/colorpicker/src/main/res/values-no-rNO/strings_colorpicker.xml index 3d0ed74..d79a6d8 100644 --- a/colorpicker/src/main/res/values-no-rNO/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-no-rNO/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Fargepalett - Forhåndsinnstillinger + Fargepalett + Forhåndsinnstillinger diff --git a/colorpicker/src/main/res/values-pl-rPL/strings_colorpicker.xml b/colorpicker/src/main/res/values-pl-rPL/strings_colorpicker.xml index 289dc3e..42cb6e0 100644 --- a/colorpicker/src/main/res/values-pl-rPL/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-pl-rPL/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Paleta kolorów - Zdefiniowane + Paleta kolorów + Zdefiniowane diff --git a/colorpicker/src/main/res/values-pt-rBR/strings_colorpicker.xml b/colorpicker/src/main/res/values-pt-rBR/strings_colorpicker.xml index 88e3562..0694ed4 100644 --- a/colorpicker/src/main/res/values-pt-rBR/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-pt-rBR/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Paleta de Cores - Predefinições + Paleta de Cores + Predefinições diff --git a/colorpicker/src/main/res/values-sv-rSE/strings_colorpicker.xml b/colorpicker/src/main/res/values-sv-rSE/strings_colorpicker.xml new file mode 100644 index 0000000..6b06ba9 --- /dev/null +++ b/colorpicker/src/main/res/values-sv-rSE/strings_colorpicker.xml @@ -0,0 +1,5 @@ + + + Färgpalett + Förval + diff --git a/colorpicker/src/main/res/values-th-rTH/strings_colorpicker.xml b/colorpicker/src/main/res/values-th-rTH/strings_colorpicker.xml index 27ffb4d..7fdf610 100644 --- a/colorpicker/src/main/res/values-th-rTH/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-th-rTH/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - ชุดสี - ค่าที่ตั้งไว้ + ชุดสี + ค่าที่ตั้งไว้ diff --git a/colorpicker/src/main/res/values-tr-rTR/strings_colorpicker.xml b/colorpicker/src/main/res/values-tr-rTR/strings_colorpicker.xml index cb07b8f..eddc8ad 100644 --- a/colorpicker/src/main/res/values-tr-rTR/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-tr-rTR/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Renk paleti - Hazır ayarlar + Renk paleti + Hazır ayarlar diff --git a/colorpicker/src/main/res/values-uk-rUA/strings_colorpicker.xml b/colorpicker/src/main/res/values-uk-rUA/strings_colorpicker.xml new file mode 100644 index 0000000..d114ba5 --- /dev/null +++ b/colorpicker/src/main/res/values-uk-rUA/strings_colorpicker.xml @@ -0,0 +1,5 @@ + + + Кольорова палітра + Пресети + diff --git a/colorpicker/src/main/res/values-vi-rVN/strings_colorpicker.xml b/colorpicker/src/main/res/values-vi-rVN/strings_colorpicker.xml index 5149c21..f14a044 100644 --- a/colorpicker/src/main/res/values-vi-rVN/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-vi-rVN/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - Bảng màu - Cài đặt sẵn + Bảng màu + Cài đặt sẵn diff --git a/colorpicker/src/main/res/values-zh-rCN/strings_colorpicker.xml b/colorpicker/src/main/res/values-zh-rCN/strings_colorpicker.xml index 6dc785c..9b117f5 100644 --- a/colorpicker/src/main/res/values-zh-rCN/strings_colorpicker.xml +++ b/colorpicker/src/main/res/values-zh-rCN/strings_colorpicker.xml @@ -1,6 +1,5 @@ - - + - 调色板 - 预设 + 调色板 + 预设 diff --git a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt index 0c9f306..f357f79 100644 --- a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt +++ b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/widgets/ElasticDragDismissFrameLayout.kt @@ -250,7 +250,7 @@ class ElasticDragDismissFrameLayout @JvmOverloads constructor( fun addExitListener(activity: Activity, transitionBottom: Int = R.transition.kau_exit_slide_bottom, transitionTop: Int = R.transition.kau_exit_slide_top) { addListener(object : ElasticDragDismissFrameLayout.SystemChromeFader(activity) { override fun onDragDismissed() { - KL.v{"New transition"} + KL.v { "New transition" } activity.window.returnTransition = TransitionInflater.from(activity) .inflateTransition(if (translationY > 0) transitionBottom else transitionTop) activity.finishAfterTransition() diff --git a/core-ui/src/main/res-public/values-v21/styles.xml b/core-ui/src/main/res-public/values-v21/styles.xml index 782f9bb..e6c33c3 100644 --- a/core-ui/src/main/res-public/values-v21/styles.xml +++ b/core-ui/src/main/res-public/values-v21/styles.xml @@ -1,5 +1,6 @@ +