arshadalisoomro / android-rotaryknob-view

Automatically exported from code.google.com/p/android-rotaryknob-view
Other
0 stars 0 forks source link

pivot pot getting misplaced #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
the base the rotating knob rotating in a different pivot point from the base 
knob.

Device is: intex aqua 2.3
Android version:ginger bread
screen 2.7 inch

Original issue reported on code.google.com by 123linsl...@gmail.com on 20 May 2014 at 10:21

Attachments:

GoogleCodeExporter commented 8 years ago
I have the same problem. Pivot is too much off center in Samsung Galaxy S4. 
(Even worse that what image has shown.) Please help to solve the problem.

Original comment by dr.paras...@gmail.com on 10 Jun 2014 at 3:26

GoogleCodeExporter commented 8 years ago
Hi,
RoudKnobButton.java line 149
replace 210 w/ m_nWidth and m_nHeight like following
It works at my end
            matrix.postRotate((float) deg, m_nWidth/2,m_nHeight/2);//getWidth()/2, getHeight()/2);

Original comment by urar...@gmail.com on 25 Nov 2014 at 3:07