changeset 2574:5b13bb267364

Android: Percent widget should be using horizontal ProgressBar.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 21 May 2021 19:50:56 +0000
parents ea75e295025b
children 5beaaa4e9b03
files android/DWindows.kt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/android/DWindows.kt	Fri May 21 00:56:10 2021 +0000
+++ b/android/DWindows.kt	Fri May 21 19:50:56 2021 +0000
@@ -1865,7 +1865,7 @@
         waitOnUiThread {
             var dataArrayMap = SimpleArrayMap<String, Long>()
 
-            percent = ProgressBar(this)
+            percent = ProgressBar(this,null, R.attr.progressBarStyleHorizontal)
             percent!!.tag = dataArrayMap
             percent!!.id = cid
             percent!!.max = 100