From 9fa139598deb6cd6361da4d2c780e914839bbee3 Mon Sep 17 00:00:00 2001 From: zaaach Date: Fri, 13 Dec 2019 16:24:43 +0800 Subject: [PATCH] =?UTF-8?q?demo=E7=A4=BA=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zaaach/transformerslayoutdemo/ListActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/zaaach/transformerslayoutdemo/ListActivity.java b/app/src/main/java/com/zaaach/transformerslayoutdemo/ListActivity.java index 29281b5..df16094 100644 --- a/app/src/main/java/com/zaaach/transformerslayoutdemo/ListActivity.java +++ b/app/src/main/java/com/zaaach/transformerslayoutdemo/ListActivity.java @@ -40,8 +40,8 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { .lines(2) .spanCount(5) .scrollBarWidth(Util.dp2px(this, 40)) - .scrollBarHeight(Util.dp2px(this, 40)) - .scrollBarRadius(Util.dp2px(this, 40))/*Util.dp2px(this, 3) / 2f*/ + .scrollBarHeight(Util.dp2px(this, 4)) + .scrollBarRadius(Util.dp2px(this, 4) / 2) .scrollBarTopMargin(Util.dp2px(this, 6)) .scrollBarTrackColor(Color.parseColor("#e5e5e5")) .scrollBarThumbColor(Color.parseColor("#658421"))