aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-05-02 21:22:55 -0400
committerGitHub <noreply@github.com>2018-05-02 21:22:55 -0400
commit5ad60050c91791638d90b5469bcb22e7b340af0c (patch)
treeffe92d0206ac9753f88a44076c070571409961ce /sample/src/main
parentb85fc4f939a443368cea296bfa8439745419d887 (diff)
downloadkau-5ad60050c91791638d90b5469bcb22e7b340af0c.tar.gz
kau-5ad60050c91791638d90b5469bcb22e7b340af0c.tar.bz2
kau-5ad60050c91791638d90b5469bcb22e7b340af0c.zip
Fix seekbar increments, resolves #145 (#147)
* Fix seekbar increments, resolves #145 * Update changelog
Diffstat (limited to 'sample/src/main')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt1
-rw-r--r--sample/src/main/res/xml/kau_changelog.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
index b424e91..6cd9776 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -149,6 +149,7 @@ class MainActivity : KPrefActivity() {
seekbar(R.string.seekbar, KPrefSample::seekbar, { KPrefSample.seekbar = it }) {
descRes = R.string.kau_lorem_ipsum
+ increments = 5
textViewConfigs = {
minEms = 2
}
diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml
index 636525f..a5d0ea9 100644
--- a/sample/src/main/res/xml/kau_changelog.xml
+++ b/sample/src/main/res/xml/kau_changelog.xml
@@ -11,7 +11,7 @@
<item text="Fix new lint issues (see Migration for resource related methods)" />
<item text=":adapter: Add more IAdapter functions to help retrieve selections" />
<item text=":core: Add deprecation warning to bindView for fragment based extensions; use bindViewResettable instead" />
- <item text="" />
+ <item text=":kpref-activity: Fix seekbar increment" />
<item text="" />
<item text="" />