techery/progresshint

the bug with <android:fontFamily="sans-serif-light">

FlogFly opened this issue · 4 comments

I run your sample ,but when app:popupLayout use the default layout <proress_hint_popup.xml> , it has a bug , the popup ' s num not change . but if has android:fontFamily="sans-serif-light" , the num will change . it's why the <seekbar_vertical2(yellow background)> in the sample can change num ,because the layout 's textview has android:fontFamily="sans-serif-light"

@FlogFly I can't reproduce the issue, let's try find out what differs:

  • what's the version of android system you found out the issue at?
  • does it occur on android emulator or specific device only?

I've also updated dependencies to the latest -- so far so good

buildscript {
  repositories {
    google()
    jcenter()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:3.1.4'
    classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
  }
}

ext {
  compileSdkVersion = 27
  buildToolsVersion = '28.0.2'
  minSdkVersion = 15
  targetSdkVersion = 27

  supportPackageVersion = '27.1.1'
}

allprojects {
  repositories {
    jcenter()
    google()
  }
}

I'm closing the issue -> it's not reproducable and possibly fixed with androidX, see release 0.4.+