path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23Fix NRE when background color of button set in FormsApplicationActivity (#1010)E.Z. Hart1-2/+0
2017-10-23Fix border on android buttons (#941)Rui Marinho3-1/+3
* [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-10-23Make OnElementPropertyChanged virtual on fast renderers (#870)E.Z. Hart1-1/+1
2017-10-23[Android] Applinks firebase 42 (#1107)Rui Marinho3-38/+65
* Android AppLinks updated packages and refactor to comply with Firebase packages * made nested classes internal * removed notimplementedexception and added a Console log when on Failure * removed Firebase init method. Changed Console for Android's native Exception logging * formatted code styling with Visual Studio Community 2017 for Mac * [Android] Update nuspec and gallery * [Packages] Update android support packages for
2017-10-23Prototypical Cell Cache for IsEnabled testing (#1179)kingces951-12/+66
2017-10-23Revert "Prototypical Cell Cache for IsEnabled testing; UITest" (#1156)kingces951-66/+12
This reverts commit _52487.
2017-10-23[Core, Android] Fix to address the elusive 'Sharing violation on path ↵dgeller-OUHSC3-26/+32
PropertyStore.forms.tmp' (#1075) * use a semaphor for actual saving piece make reading serialized propertystore readonly to help with collisions. * change over to async Task and await OnStateChanged() method to try and mitigate what might be the race condition causing the ' Sharing violation on path PropertyStore.forms.tmp' error * update Semaphore name * remove private specifier per the style guide * Update docs and add warning suppression for broken mono warning * ... and adding the warning suppression to Release mode, as well. * -add try...finally block so we can guarantee that the semaphore is released if there's an exception while saving the properties. -remove the legacy code that the semaphore replaces * Update docs * Attempting to fix docs * Trying again to get docs to pass
2017-10-23Prototypical Cell Cache for IsEnabled testing; UITest (#1153)kingces951-12/+66
2017-10-23Fix context action/tap gesture conflict when tap gesture is on nested view ↵E.Z. Hart1-1/+7
2017-10-23remove disallowaddtobackstack (#919)adrianknight892-5/+0
2017-10-23[Android] Make sure to clean the element reference (#1139)Rui Marinho1-1/+3
* [Android] Make sure to clean the element reference * Update VisualElementPackager.cs
2017-10-23[C, iOS, Android] LayoutCompression (#1136)Stephane Delcroix3-36/+53
* [C, iOS, Android] LayoutCompression * fix docs * minor fixups
2017-10-23[A] don't fail on android API obsoleted in alphaStephane Delcroix1-0/+4
2017-10-23Enables custom images (especially SVG) through the new IImageSourceHandler ↵Softlion (Benjamin Mayrargue)1-0/+5
to work with tab bar icons on Android (like it does on iOS). And also on cell adapters and navigation page menu. (#1130)
2017-10-23Add null check to prevent NRE when content changes (#1132)Jimmy Garrido1-1/+1
2017-10-23[Android] Use 24-hour time format on TimePicker text if enabled (#1082)Paul DiPietro1-5/+8
2017-10-23Set time before unfocusing (#1051)Jimmy Garrido1-2/+2
2017-10-18Undo changes meant for 2.5.0Samantha Houts1-30/+14
2017-10-18[Android] Prevent ObjectDisposedExceptions in ListViews with ↵Samantha Houts1-25/+66
Header/FooterTemplates (#1155) * Update repro to include header/footers with bound props * [Android] Clear renderers of ListView header/footers And don't call `RemoveAllViews`, because that causes the ObjectDisposedExceptions.
2017-10-18[*] Expose the Flags to the Core (#1181)Stephane Delcroix1-0/+1
* [*] Expose the Flags to the Core * docs * [C] Hide Device.Flags
2017-10-18Clear MainPage renderer if exists after reload (#1200)kingces951-0/+7
2017-10-16[Android] Handle rapid taps when only single-tap recognizer is present (#1188)E.Z. Hart1-2/+22
* Handle rapid tapping correctly * Remove failed optimization attempt for 2-pointer gestures
2017-10-11Checking IsDestroyed before using FragmentManager in Dispose() (#1194)E.Z. Hart2-5/+4
2017-10-10Revert "Fix border on android buttons (#941)" (#1192)Samantha Houts7-180/+159
This reverts commit 20d33c6ce21619b565a90af2ec4ca921581ff2b9.
2017-09-28Prevent Flags/IsInitialized check from crashing Android app on restart (#1151)E.Z. Hart1-0/+9
* Prevent Android app crashes on configuration restarts when flags are set * Update UI test * Fix typos * Don't prevent FastRenderers flag from being set
2017-09-19Use bitwise ops on caching strategy in ListViewAdapter.cs (#1149)kingces951-4/+6
2017-09-16[Android] Hide actionbar when MDP with NavigationPage with hidden ↵Rui Marinho1-0/+5
NavigationBar (#1120) * [ControlGallery] Add repo and test for Bugzilla27731 * [Android] Hide ActionBar if MDP with NavigationPage that hides the NavigationBar
2017-09-15[Android] Restore pinch gestures and fix listview item selection (#1135)E.Z. Hart20-569/+457
* Repro * Fail test if tap command is executed more than once. * Update error message * Handle context actions and taps without breaking selection * Fix 58833 test * Prevent InnerGestureListener from swallowing clicks and preventing selection * Repro for 57515 * Add gestures category to appropriate tests * Test notes * Restore the tap gesture handling * Better test name * Simplify InnerGestureListener constructor; handle OnDown only if listening * OnInterceptTouchEvent for IsEnabled handling * Fix incorrect class filter in TapGestureHandler * Restore MotionEventHelper * Add IsEnabled check on OnTouchEvent * Reinstate pinch gestures * Checkpoint (trying to figure out how to handle button elevation) * Rip out elevation ordering in DefaultRenderer * Working version of pinch-to-zoom test * Clean up lazy initializers, remove unnecessary members * One fewer Java.Lang.Object * Fix issue number; clean up notes and issue number changes * Remove conditional * Restore correct issue number * Automate all the options for 58833 test * Remove unnecessary automation ID * Formatting cleanup; reinstate gesture detector dispose checks * Updating Xamarin UI test version to avoid iOS crashes; update test to open iOS context actions * Attempting to get 58833 test running on all iOS versions
2017-09-15Fix failing UI tests for Android FormsApplicationActivity (#1141)E.Z. Hart2-1/+15
* Fix broken test for 57910 when using FormsApplicationActivity * Fix NRE when removing a page during OnAppearing using FormsApplicationActivity * Update 45926 test to work correctly with FormsApplicationActivity * Update 32830 test so it doesn't crash on FormsApplicationActivity * Longer wait before refreshing appearing messages (to work with FormsApplicationActivity) * Fix input transparency issue with old FrameRenderer * Remove extraneous using directive * Just ignore test 32830 on FormsApplicationActivity * [Controls] Add missing directive
2017-09-15[Android] Fix NRE when page is being disposed (#1118)Rui Marinho1-0/+2
* [ControlGallery] Add test case for bugzilla 59097 * [Android] Fix NRE
2017-08-29Fix NRE when removing multiple pages in NavigationPageRenderer (#1108)E.Z. Hart1-12/+5
* Update 53179 test to remove 2 pages; fix for NRE when removing two pages with Android Support 25+ * Add missing step to UI test
2017-08-29[Android] Restore and obsolete EditorEditText and EntryEditText controls (#1114)E.Z. Hart2-1/+17
* Restore and obsolete EditorEditText and EntryEditText controls * Don't need to use the obsolete classes in the renderers * Update obsolete messages
2017-08-29[Android] Fix bugzilla58868 (#1106)Rui Marinho1-8/+14
* [Android] Only set elevation in Lolipop or newer * Update submodule
2017-08-15[Android] Eagerly dispose children of ListViews to prevent ObjectDisposed ↵Samantha Houts3-0/+45
exception (#1063) * Add repro for 57910 * [Android] Dispose cells explicitly * [Android] Add default constructors to prevent crash on dispose * [Android] Don't try to dispose headers and footers
2017-08-15[Android] Fix missing shadow on Button fast renderer (#1034)Rui Marinho4-9/+39
* [Android] Fix missing shadow on Button fast renderer * [Android] Fix z index on Loplipop * [Android] Make sure we don't hit NRE when updating background * [Android] Fix possible NRE on BackgroundTracker * [Android] Remove elevation fix * [Android] Set elevation in Android Views if needed * [Android] Add UITest for button on fast renderes * [Controls] New test for elevation with fast renderer button
2017-08-15Avoid exception when removing a page from navigation during Appearing ↵E.Z. Hart1-1/+0
handler (#1094) * Theoretical repro * Repro * Remove unnecessary forced execution of pending transactions * Update issue data
2017-08-10Add support for backcompat hint flags (#1074)E.Z. Hart9-26/+56
* Add support for backcompat hint flags * Making fast renderers internal and sealed while experimental
2017-08-10Repro 58406; apply effects to fast renderers on Android (#1077)E.Z. Hart1-0/+4
2017-08-01[Android] Update Android warnings to ignore for now (#1076)Rui Marinho1-2/+1
2017-07-24Disallow scrolling in ScrollView when IsEnabled set to False (#1049)E.Z. Hart1-1/+17
* Repro and fix for iOS * Automated tests * Fix for Android * Update issue number * Alternate version of test which I hope will work on iOS 8 * trying yet another variation of the test which will hopefully work on iOS 8
2017-07-24Use correct renderers for pre-AppCompat (#1044)E.Z. Hart1-1/+3
* Use correct renderers for pre-AppCompat activity * Removed extraneous using * Fix formatting
2017-07-24[Android] Prevent ObjectDisposed exceptions on Fast Renderers (#1033)Samantha Houts4-0/+12
* Add repro for object disposed exception * [Android] Clear Renderer property from Element on dispose
2017-07-19[Android] Handle fragment removal inside of the RemovePage method (#1053)E.Z. Hart1-19/+34
* Repro * Handle fragment removal inside of RemovePage method * Fix class name for test * Split long strings
2017-07-07Fix accent color for Samsung devices (#1026)Jimmy Garrido1-1/+1
2017-07-06Update FrameRenderer.cs (#1023)woutermeuwis1-3/+1
Removed the cornerRadius conversion to pixels in the DrawCanvas function. In both the DrawOutline and DrawBackground function the conversion is done as well, which caused it to happen twice, resulting in wrong radius.
2017-06-28Add disposed check to EnsureLongClickCancellation (#1016)E.Z. Hart1-0/+5
2017-06-26[Android] Dispose check before setting properties on Button (#1013)Samantha Houts1-27/+37
2017-06-24Fix NRE when background color of button set in FormsApplicationActivity (#1010)E.Z. Hart2-6/+8
2017-06-22Set the Id field for Android Views created by Forms (#1004)E.Z. Hart16-28/+65
* Repro of modal-over-map-crash issue * Automated test for maps modal crash * Generate Ids for all Renderer Views on Android * Add Ids for PageContainer and PageRenderer * Remove TODO comment * Verify fast renderers aren't disposed before querying Id
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