[TIMOB-17729] Android: Add CanceledOnTouchOutside property to Titanium.UI.Android.ProgressIndicator
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-07T22:29:05.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 4.0.0 |
Components | Android |
Labels | ProgressIndicator, TCSupport, android, mobile |
Reporter | Mohammed AL-awadi |
Assignee | Ashraf Abu |
Created | 2014-08-28T09:57:52.000+0000 |
Updated | 2015-09-02T08:35:54.000+0000 |
Description
i want to use loading dialog in android that is not dismissed when touching outside and use back button to cancel loading operation when using ProgressIndicator and location="Ti.UI.Android.PROGRESS_INDICATOR_DIALOG", it displays loading dialog just fine but when touching anywhere in screen, it dismisses the dialog.
Android use CanceledOnTouchOutside = false to prevent this action.
Please add CanceledOnTouchOutside or find a solution for this problem
does Affects Version/s: Release 3.4.0 means it supposed to be finished by Release 3.4.0 ?
This means that it was tested on version 3.4.0. We have not yet assigned a fix version.
PR: https://github.com/appcelerator/titanium_mobile/pull/6531
Verified with below Test Environment : Appc Studio : 4.0.0.201502111039 Ti SDK : 4.0.0.v20150217154015 Mac OSX : 10.10.1 Alloy : 1.5.1 CLI - 3.6.0-dev Code Processor: 1.1.1 Nexus 5 - Android 5.0 By default, CanceledOnTouchOutside property is set to true. When touching anywhere in screen, it dismisses the dialog. When CanceledOnTouchOutside property is set to false, the dialog is not dismissed when touch anywhere in screen. Working as expected. Closing this ticket.
this property isn't documented yet in http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Android.ProgressIndicator