kyleduo/SwitchButton

layout_width and layout height is't not work,always the same size

Open

#96 opened on Aug 2, 2017

View on GitHub
 (10 comments) (0 reactions) (0 assignees)Java (4,676 stars) (866 forks)batch import
bughelp wanted

Description

when I use layout_width=200dp or layout height=50dp in xml file I realize it's always the same size i changed code in onMeasure method,but is't not work I need you help thanks!

Contributor guide