From 6d3a09b2c0331cf033249d9b2fffa62dfd17991c Mon Sep 17 00:00:00 2001 From: liyujiang Date: Sun, 19 Mar 2017 13:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=9D=A1=E7=9B=AE=E6=A6=82=E7=8E=87=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C=E6=84=9F?= =?UTF-8?q?=E8=B0=A2=E4=BA=AE=E4=BA=AE=E5=90=8C=E5=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/qqtheme/framework/widget/WheelView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/WheelPicker/src/main/java/cn/qqtheme/framework/widget/WheelView.java b/library/WheelPicker/src/main/java/cn/qqtheme/framework/widget/WheelView.java index 606e0c26..8aaf7bfe 100755 --- a/library/WheelPicker/src/main/java/cn/qqtheme/framework/widget/WheelView.java +++ b/library/WheelPicker/src/main/java/cn/qqtheme/framework/widget/WheelView.java @@ -663,7 +663,7 @@ private void init(Context context) { textView.setIncludeFontPadding(false); textView.setGravity(Gravity.CENTER); textView.setTextColor(Color.BLACK); - LayoutParams textParams = new LayoutParams(MATCH_PARENT, WRAP_CONTENT); + LayoutParams textParams = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); addView(textView, textParams); }