[TIMOB-24321] Android: Add pivotX and pivotY to view
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-09-24T14:06:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.5.0 |
Components | Android |
Labels | android, community, notable |
Reporter | Hazem Khaled |
Assignee | Gary Mathews |
Created | 2017-01-17T21:28:57.000+0000 |
Updated | 2018-09-25T15:18:46.000+0000 |
Description
After TIMOB-23423, we need to add pivotX and pivotY
https://developer.android.com/reference/android/view/View.html#setPivotX(float)
https://developer.android.com/reference/android/view/View.html#setPivotY(float)
pr: https://github.com/appcelerator/titanium_mobile/pull/8759
new PR: https://github.com/appcelerator/titanium_mobile/pull/10336 using anchorPoint for party.
Test-Case:
*Closing ticket.* Verified fix in SDK version
7.5.0.v20180920040518
. Able to see pivotX and pivotY set to views and being applied. *FR Passed (Test Steps)*Created a new titanium application
Copied the above code above in the comments and added it into the
app.js
Ran the program
Able to see the view set around the given x and y parameters
*Test Environment*