brucetoo / PickView

Date and Province WheelView like IOS
1.1k stars 265 forks source link

How to set all text to center align #8

Closed MhtSuthar closed 8 years ago

MhtSuthar commented 8 years ago

This is my app screen shots, i am using your lib, bt i cant find how to center align text, plz help anything.

untitled

brucetoo commented 8 years ago

May have a problem in method onDraw,please show me your layout xml.

MhtSuthar commented 8 years ago

Thanx for your reply, i solve my problem

i set paintB.setTextAlign(Paint.Align.CENTER);

and on draw int left = measuredWidth /2 ;

brucetoo commented 8 years ago

please try code in branch reconstuct

brucetoo commented 8 years ago

use version 1.2.0 instead