Is possible change the color and alignment of scrollBar thumb?
I try this but not work:
if (scrollView.android) {
scrollView.android.setScrollBarFadeDuration(0);
var colorsArray = java.lang.reflect.Array.newInstance(java.lang.Integer.class.getField("TYPE").get(null), 3);
colorsArray[0] = android.graphics.Color.parseColor("#20c7d6");
colorsArray[1] = android.graphics.Color.parseColor("#0a2742");
colorsArray[2] = android.graphics.Color.parseColor("#0a2742");
var g = new android.graphics.drawable.GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation.TL_BR, colorsArray);
g.setGradientType(android.graphics.drawable.GradientDrawable.LINEAR_GRADIENT);
scrollView.android.scrollbarThumbHorizontal = g;
}