summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
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-23Fix 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
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 DiPietro2-2/+0
2017-06-22Allow Context Actions on ViewCells with TapGestures (#985)E.Z. Hart7-20/+74
* Repro * Allow context menu actions on ViewCells with tap gestures * Make context menu test work for iOS * Make the ActivateContextMenu option work for items with small text
2017-06-22[iOS/Android] Fixes "jumping" when navigation to a page with a NavigationBar ↵Samantha Houts1-12/+33
from a page without one (#962) * Add repro * [iOS] Set IgnoreContainerArea when no Nav Bar * [Android] Layout bar and page at the same time * Add custom renderer to turn off transitions * Fix test case number * Remove superfluous category set * Fix test automation, add TabbedPage
2017-06-20[Android] Change modifiers on NavigationPageRenderer's navigation methods ↵adrianknight892-6/+3
(#1001) * align with FormsApplicationActivity * removed unused using statements * remove using statement
2017-06-20Align Layout transparency behavior between Android, iOS, Windows (#935)E.Z. Hart8-33/+28
* Setting up repros * Tests for all combos of opacity, background color, and InputTransparent * Make InputTransparent work correctly for Layouts on Windows * Prevent low opacity from making Layouts implicitly input transparent * Real target values in TransparentOverlayTests * Allow layouts with transparent backgrounds to be clickable * Fix gesture bubbling behavior for layouts * Fix spacing * Remove dead code and usings * Fix spacing * Add missing using directive * Adjust transparent overlay test to work with iOS quirks * Fix spacing * Fix bugs caused by not filtering ACTION_CANCEL in MotionEventHelper * Attempting to fix the tests on iOS (where UI tests can't see the buttons) * Remove extra lines * Another attempt to get tests working on iOS * Another attempt to get iOS UI tests working for transparent overlays
2017-06-14[iOS,Android] Fix gap when setting Separator None and recycle element and on ↵Rui Marinho1-1/+2
Android when using grouping (#949) * [Controls] Add repo for bugzilla 39802 * [iOS] Make ContextCell hide the gap when we aren't using a separator * [Controls] Update test * [iOS] Only fix height if separator is hidden. * [iOS] Only fix if it's a ListiView * [Android] Fix separator showing when using Grouping * Update Bugzilla39802.cs
2017-06-14Fix crash when modifying ContextActions on Android (#982)Alexander Hardwicke1-1/+2
2017-06-14[Android] Fix NullPointerException following RemovePage call (#933)Samantha Houts1-8/+16
* Add repro for 53179 * Update Android packages to 25+ * Turn off linker to debug * [Android] Only remove PageContainer < API 25 * Revert "Update Android packages to 25+" This reverts commit ece252261d709213ad3a3c02c5fd37556bdb093f. * Revert "Turn off linker to debug" This reverts commit fdffff71386f1a4b186b89b7421d875e696b7bc7. * Update test automation * Add explanatory comment * Fix test case number
2017-06-13[A] Check Visibility for tab's page appearing (#963)Paul DiPietro1-1/+1
2017-06-12Dispose check on ButtonRenderer (#975)bentmar1-2/+2
Check if buttonrenderer is disposed when making changes
2017-06-08Update View Enabled property when IsEnabled changes (#968)E.Z. Hart1-0/+7
* Actually update Enabled on Android renderers * Fix test number
2017-06-01Fix border on android buttons (#941)Rui Marinho7-163/+182
* [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-05-31[Android] Correctly size content after toggling soft keyboard in Resize mode ↵E.Z. Hart7-74/+128
(#927) * Repro of 45215 * Consolidate base class for Entry/Editor; add missing Dispose implementations * Fixed problem with hiding the keyboard and child layout in ScrollViewer * Force page layout update when navigating back from a keyboard-resized page * Explanatory comments * Fix namespace * Fix possible NRE after device rotation
2017-05-26[Android] Set SingleLine to true when we only have 1 line on a TextView (#932)Rui Marinho4-56/+48
* [Android] Set SingleLine to true when we only have 1 line on a TextView * Fix stray \ char
2017-05-23[Android] Support up to 20 templates, as documented. (#929)Samantha Houts1-2/+13
* Add repro for 42956 * [Android] Support up to 20 templates, as documented. * Spaces -> tabs * A little more info on the _dataTemplateIncrementer * Fix test case number
2017-05-19Use TextViewCompat to so API <23 handle setTextAppearance correctly (#910)E.Z. Hart4-25/+5
2017-05-17Do not layout page in OnWindowAttributesChanged on fullscreen flag change (#916)adrianknight892-17/+6
* remove OnWindowAttributesChanged * add back OnWindowAttributesChanged * remove flag * LayoutRootPage can be private again
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-04Remove status bar underlay view in Android AppCompat (#892)E.Z. Hart3-111/+16
* Remove status bar underlay and handle status bar color with theme colors * Fix layout gap when SoftInputMode is set to resize * Restore linker settings
2017-05-04Unsubscribe OnModelChanged event when TableViewModelRenderer is disposed (#879)jacobmcgoogan1-5/+10
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-04-28Add disposed check on FastRenderer.VisualElemen... (#888)bentmar1-3/+3
2017-04-28[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-04-28add disposed check on FastRenderers.FrameRenderer (#887)bentmar1-1/+10
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-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