Anton Nurdin T


Code - Compile - Coffee - Debug


Latest Posts
  1. Eat quality foods for better brain function, read about history of vegetarianism!


    Android StepsView

    Android StepsView is an android library to create StepsView for Android. Usage Gradle compile 'com.anton46:stepsview:0.0.1' Maven <dependency> <groupId>com.anton46</groupId> <artifactId>stepsview</artifactId> <version>0.0.1</version> </dependency…


  2. Improving Gradle Build Performance

    Gradle, the new build system for Android projects, has been designed for scalability and efficiency. However, there are a few things you, as a developer, can do to significantly improve the performance of Gradle. 1. Gradle Daemon The Gradle daemon is a great way to speed up your builds, which…


  3. Android Textview Height & Width Measurement

    Width float width = textview.getPaint().measureText(text); Height View parent = (View) textview.getParent(); final int widthSpec = View.MeasureSpec.makeMeasureSpec(parent.getMeasuredWidth() - parent.getPaddingLeft() - parent.getPaddingRight(), View.MeasureSpec.AT_MOST); final int heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); textview.measure(widthSpec, heightSpec); height = textview.getMeasuredHeight(); …


  4. Foursquare Collection Picker

    Collection Picker is an Android View library which looks like Forsquare Tastes picker. Usage Gradle compile 'com.anton46:collection-picker:1.0.0' Maven <dependency> <groupId>com.anton46</groupId> <artifactId>collection-picker</artifactId> <version>1.0.0</version>…


  5. Gradle Default Properties Renamed

    Renamed a few properties to make things more consistent: BuildType.runProguard -> minifyEnabled BuildType.zipAlign -> zipAlignEnabled BuildType.jniDebugBuild -> jniDebuggable BuildType.renderscriptDebug -> renderscriptDebuggable ProductFlavor.renderscriptSupportMode -> renderscriptSupportModeEnabled ProductFlavor.renderscriptNdkMode -> renderscriptNdkModeEnabled…