summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26[Android] Dispose check before setting properties on Button (#1013)Samantha Houts1-27/+37
2017-06-26Fix NRE when background color of button set in FormsApplicationActivity (#1010)E.Z. Hart2-6/+8
2017-06-26Fix border on android buttons (#941)Rui Marinho7-158/+176
* [Android] Add a button background tracker to handle background and border properties and be shared between button renderers * [Android]Fix border radius dependency * [Android] Make sure we always create or updated the background button tracker
2017-06-22Set the Id field for Android Views created by Forms #1004E.Z. Hart16-35/+73
2017-06-22Fix possible crash on API 21+ at launch when using Holo theme and ↵Jimmy Garrido1-10/+14
FormsApplicationActivity (#961) * Fix possible crash on API 21+ at launch * Do not use an explicit cast * Do not use C# 7 pattern matching
2017-06-22[Android] Remove the ". " on empty labels (Accessibility) on Fastrenderers ↵Samantha Houts2-25/+23
(#915) * [Android] Concatenate Name/HelpText better Also remove some parameters that were added to workaround an issue that no longer exists. * Add repro * Listen to Stephane he's usually right * oops, didn't save
2017-06-22Remove debug outputs (#1008)Paul DiPietro1-1/+0
2017-06-21Dispose check on ButtonRenderer (#975)bentmar1-2/+2
Check if buttonrenderer is disposed when making changes
2017-05-10[All] Rename Accessibility -> AutomationProperties (#912)Samantha Houts6-30/+30
* [All] Renamed Accessibility -> AutomationProperties * Update docs * Restore doc summaries * Revert unintended csproj changes
2017-05-04[Android] Add null check before creating and drawing canvas bugzilla 55559 & ↵Koen Hendriks1-0/+3
45602 (#899) * [Android] Add null check before creating and drawing canvas bugzilla 55559 & bugzilla 45602. * [Android] REFACTOR Add null check before creating and drawing canvas bugzilla 55559 & 45602 #899
2017-05-04Give layouts a chance to handle touch events after passing though immediate ↵E.Z. Hart1-3/+6
children (#902) * Repro for Bugzilla 55912 * Automate test * Give the layout a chance to actually handle gestures before bubbling up
2017-05-03Add disposed check on FastRenderer.VisualElemen... (#888)bentmar1-3/+3
2017-05-03[Android] Add disposed check on FastRenderers.LabelRenderer (#886)bentmar1-1/+6
* add disposed check on FastLabelRenderer Description of Change Check is the Label is dispodes on GetDesiredSize() on fast LabelRenderer Bugs Fixed System.ObjectDisposedException: Cannot access a disposed object. API Changes None Behavioral Changes None * Update LabelRenderer.cs
2017-05-03add disposed check on FastRenderers.FrameRenderer (#887)bentmar1-1/+10
2017-04-26Merge masterJason Smith13-58/+225
2017-04-25Better error handling for image loading errors on iOS/Android (#849)E.Z. Hart8-50/+173
* First run at removing async void image update methods Consistent error logging and IsLoading on Android,iOS,UWP Move error logging into image handlers for better messages Add demo of custom ImageRenderer error handling Update docs Make the test smaller so the results don't get pushed offscreen Fix namespace error * Update error handling for fast image renderer * Update 37625 test to use image we control * Add java disposed check to avoid ObjectDisposedException in async operations * Add disposed checks to legacy renderer; null check element before SetIsLoading * Check disposed on GetDesiredSize for fast renderer Use local disposed member where possible for disposed check * Check for disposal after async handlers in iOS * Add disposal checks after async methods in Windows * Reset linker settings on project; reduce redundant casts in ImageViewExtensions
2017-04-25[iOS] Prevent NRE in ListView OnItemSelected (#883)Samantha Houts1-0/+3
* Add repro * [iOS] Prevent NRE in ListView * [Android] Prevent NRE in ListView Not observed, but adding defensive check just in case
2017-04-19Make OnElementPropertyChanged virtual on fast renderers (#870)E.Z. Hart4-4/+4
2017-04-19calling API not available in all versions (#877)kingces951-1/+2
2017-04-19calling API not available in all versions (#877)kingces951-1/+2
2017-04-18Make OnElementPropertyChanged virtual on fast renderers (#870)E.Z. Hart4-4/+4
2017-04-13Verify FragmentContainer created when queueing fragment transaction ↵E.Z. Hart4-8/+48
(Android) (#865) * Add check for disposed MasterDetailContainer when queueing fragment transaction * Fix various ObjectDisposedExceptions when setting main page * Add check for legacy renderers when querying control properties
2017-04-12Resource Manager fix for F# File Resources (Bugzilla 53515) (#825)Rob Lyndon1-8/+8
* Resource Manager fix for F# File Resources (Bugzilla 53515) * Changed spaces to tabs and changed the argument name in the ResourceManager.GetId() function. * Improved the type checking in GetId().
2017-04-11Clean up NavigationBar code in Platform (#753)Jimmy Garrido2-28/+13
2017-04-07[Internal] Normalize Obsolete attributes (#860)Samantha Houts6-7/+7
* [All] Normalize Obsolete attributes. Make sure we include the version in which the member was deprecated and consistent instructions for working around the deprecation, if applicable. * Update docs
2017-04-06OnResume assumed that _application had been set (#859)App Bureauet1-2/+2
When OnResume is called it should not expect the _application to be set already. I have an app where I use one activity for showing a splash screen and then it starts an intent to show the main activity containing the application. This used to work before 2.3.4.224.
2017-04-06Fix NRE when RecycleElement is on and list is scrolled quickly (#856)E.Z. Hart1-6/+0
2017-04-06Added Section indexes when FastScrolled is enabled (#850)James Clancey4-7/+92
* Added Section indexes when FastScrolled is enabled * Moved the GroupListAdapater to its own file * Renamed Setup to ValidateSectionData
2017-04-06Android fastrenderers (#845)Rui Marinho41-540/+2054
* Obsolete IVisualElementRenderer.ViewGroup in favor of .View * Fix NRE * Changing TContainer in PlatformEffect to View * Fix "View" type * new VisualElementRenderer * First attempt at a fast(er) button renderer * Fast Label Renderer * Let's try that again. Behold: Label Fast Renderer * Move FrameRenderer into Fast Renderers * Fix Disposable on VisualElementRenderer * Simplify touch and click handlers * Drop empty if clause * [Android] Add initial Image fast renderer * Split accessibility out to a separate helper class; fix tapgesture bug with label * [Android] Small fixes to VisualElementRenderer * Move accessiblity stuff to a separate class (which needs a good name) * Prevent query from looking to parent for fast renderers * [Android] ImageRenderer refactoring * Fix elevation/z-index bugs with Button (e.g., 40173) * Move SetLabeledBy to Accessibilitizer * Un-break automation IDs for Labels * Move gesture handling to its own class * Split gesture and effect management into separate classes * Remove unneeded packager from LabelRenderer * LabelRenderer inherits from FormsTextView * Batch updates to View * Fix isOnParentRenderer check for non-Android platforms * [Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj * [Android,IOS] Small fixes to rebase and use of Internals * [Android] Ignroe warning for now * Fast renderers now passing InputTransparent and IsEnabled tests * Fast and legacy renderers now pass the Enabled and InputTransparent tests * Change PlatformEffect back, default container to null * Fix mangled using directives
2017-03-29Align iOS, Android, Windows handling of tap gesture event bubbling (#842)E.Z. Hart1-0/+23
* Add test for gesture bubbling behavior on all controls; Make Windows behavior consistent with other platforms; * Fix the stepper test * Make Frame on Android handle tap event bubbling like the other platforms * Formatting changes and query syntax instead of SelectMany
2017-03-24[Android]Refactor to use a extension method to get the drawable (#841)Rui Marinho4-10/+24
* [Android]Refactor to use a extension method to get the drawable * [Android] Use local variable on check
2017-03-24Bz53803 Android app crashes during initialization due to invalid cast of ↵BradChase20111-2/+10
toolbar TextView. (#835)
2017-03-24[Android] Still look for the normal drawable on resources (#839)Rui Marinho3-8/+9
* [Android] Still look for the normal drawable on resources * [Android]Fix code style
2017-03-23[Android] ScrollView can now consume Effects (#836)Samantha Houts1-1/+17
* Add repro * [Android] Make ScrollView an IEffectControlProvider
2017-03-23UI tests for InputTransparent and fixes for Android/Windows (#808)E.Z. Hart8-27/+172
* Set up automated UI tests for InputTransparent * Pull in Adrian's UI tests from PR 483 * Fix bugs with box/label/image gestures passing through when not transparent * Fix disabling of layouts on Windows; fix 44096 test for iOS/Windows; * Automate the 53445 test
2017-03-22[Android] Fix NRE on Picker (#834)Rui Marinho1-1/+1
2017-03-22Add gesture disposed check to FrameRenderer (#829)E.Z. Hart1-0/+7
2017-03-14Fix MasterDetailPage event cycle (#754)adrianknight891-12/+19
sample code add tag change message changes changes 2 changes 3 changes 4
2017-03-08VSTS support (#803)Rui Marinho1-1/+1
* Fix certs * Try fix build reference * Update to nuget 3.5 * Remove BingMapsSDK * Revert git ignore change
2017-03-08[Android] Small performance fixes to ListViewRenderer, PlatformSpecific ↵Rui Marinho2-11/+35
IsFastScrollEnabled (#797) * [Android] Enable fast scroll by default * [Android] Cache count for Listview * [Android] Add IsFastScrollEnabled AndroidSpecific and sample * [Android] Use count cache on GetCellsFromPosition * [Android] Fix default for platform specific IsFastScrollEnabled * [Docs]Fix docs * [Android] Don't used cached listCount when getting cell
2017-03-08[Android] Add null checks to ActivityIndicator (#804)Samantha Houts1-2/+8
2017-03-07Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)kingces9531-42/+75
* Remove InternalsVisibleTo from Core to XF.Platforms.* * Changes per Jason's code review * Move LockableObservableListWrapper to internals namespace * Changes per Stephane's code review * update docs * Touch code to get CI to run tests * Rebase; Update documentation
2017-03-07Fixed issue where errant "." were appearing on droid controls due to hints. ↵BradChase20112-2/+2
(#801)
2017-03-03[Android] Don't crash if Control is accessed in Effect OnDetached when Page ↵Samantha Houts1-2/+0
is Disposed. (#773) * Add repro for 51505 * [Android] Don't dispose of EffectControlProvider * Oops
2017-03-03[Android] Fix NavigationPage.BarTextColorProperty on API 21+ with ↵Jimmy Garrido1-3/+15
FormsApplicationActivity (#631)
2017-03-03Throw exception when ViewCell View is null (#752)Jimmy Garrido1-0/+4
2017-03-03Fix for Android Visibility/Opacity crash (#785)E.Z. Hart1-2/+2
* Repro * Fix for UI test * Cache the Alpha value and queue up restoration after the visibility is changed * Fix issue with negative height/width in UpdateLayout * Clean up usings
2017-02-22add support for view cellsAdrian Knight2-26/+21
2017-02-22image supports vectorsAdrian Knight1-12/+24
2017-02-21update IEditorController callsitesChris King1-2/+4