summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26Fix NRE when background color of button set in FormsApplicationActivity (#1010)E.Z. Hart1-5/+7
2017-06-26Fix border on android buttons (#941)Rui Marinho2-57/+10
* [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. Hart2-0/+6
2017-06-22Remove debug outputs (#1008)Paul DiPietro1-1/+0
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-04-25Better error handling for image loading errors on iOS/Android (#849)E.Z. Hart4-15/+74
* 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-11Clean up NavigationBar code in Platform (#753)Jimmy Garrido1-2/+2
2017-04-07[Internal] Normalize Obsolete attributes (#860)Samantha Houts2-3/+3
* [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-06Added Section indexes when FastScrolled is enabled (#850)James Clancey3-7/+91
* Added Section indexes when FastScrolled is enabled * Moved the GroupListAdapater to its own file * Renamed Setup to ValidateSectionData
2017-04-06Android fastrenderers (#845)Rui Marinho14-101/+75
* 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-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. Hart4-18/+82
* 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-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)kingces958-16/+29
* 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-02-22add support for view cellsAdrian Knight1-22/+15
2017-02-22image supports vectorsAdrian Knight1-12/+24
2017-02-21update IEditorController callsitesChris King1-2/+4
2017-02-17Add missing virtual keywordsE.Z. Hart1-1/+1
2017-02-17Add localized listener for Android numeric inputE.Z. Hart4-3/+247
2017-02-17[A] Do not throw error for first param in ScrollTo (#742)Paul DiPietro1-0/+3
2017-02-06[iOS/Android] Handle item selection highlight when ListView cell is tapped ↵adrianknight891-1/+2
erratically (#520) * Fix multi tap selection highlight * added sample code * add ios fix
2017-02-02Add pressed and released events to Button (#446)Kangho1-0/+26
* Add pressed and released events to Button * Update ButtonRenderer.cs * Apply safely casting to android button renderer * Use safety casting for Android buttin renderer * [Windows] Fix modal pages being laid out below soft buttons (#395) * Add sample HanselForms and TwitterDemo to ControlGallery (#651) * [Controls] Add Hanselforms sample * Remove extra twitter sample * [Controls]Add TwitterDemo sample * [Controls] Fix build * Slider should show user-set value on initial load (#378) * [UWP] Use toolbar foreground color on primary items (#640) * Avoid duplicating code in OmPlatform (#591) * [iOS] Entry should not pass a newline to the next responder (#397) * UITextField should not return so that the next field does not get passed a newline * Added code sample * [XamlC] import members on x:Static and factories (#642) * [Xaml] support short Properties for PropertyCondition (#645) * Xamlc compile data triggers (#648) * [Xaml] DataTrigger and PropertyCondition no longer use a ServiceProvider * [XamlC] avoid generating ServiceProvider for unused ProvideValue * fix tests * Fix comment typo * [UWP] Fix TextBox style for foreground focus color (#618) * Adding image to use for CellsGalleryImageUrlCellList UI test * Update ImageCellListPage to use an image we control; Update CellsGalleryImageUrlCellList test to wait longer than 1s for images to load if necessary * fix nre when changing content in datepickerselected (#494) * Make CellsGalleryImageUrlCellList test finish early if possible * [iOS] Change keyboard type while keyboard is visible (#443) * Change keyboard while changing text * add sample code * [Android] Fix NavigationPage dispose crash when it parents a MasterDetailPage (#577) * fix navigation page dispose crash * changes after review * [XamlC] detect duplicate x:Name at compile time (#655) * [XamlC] detect duplicate x:Name at compile time * invoking methods with the right arguments produces better results * Make UWP toolbar display rules consistent with other platforms (#638) * Allow subscriber to be collected if MessagingCenter is the only reference to it (#617) * Repro * Make messaging center callbacks weak references * Preserve attribute * Fix test method name * Watch for collection of actual delegate target instead of wrapper delegate * Preserve the original platform instance when changing main page * Better tests for lambda situations * Update tests, make callback target a weakreference if it's the subscriber * Ensure old Platform MessagingCenter subs are gone before creating new Platform * [iOS] Prevent multiple ListView cells from being swiped simultaneously (#578) * disable multiple cell swipe * add sample code * refactored * convert to weakreference * remove null setting * change weakreference setting place * remove if * revert isopen changes * add instructions * [WinRT/UWP] Apply BackgroundColor to Stepper buttons (#581) * [WinRT/UWP] Apply BackgroundColor to Stepper buttons * Add explanatory text; use nameof * Move explanatory text to a label * Return group instead of internal class (#461) * [iOS/Android] Move Map camera to correct region on layout change (#548) * Move to region on layout change * remove visibility check * [iOS] Platform specifics for controlling Picker SelectedIndex change behavior (#540) * picker selected index could change when picker view is dismissed * use enum * [iOS] Ignore intermittent failing test on XTC (#666) * [UITest] Update to UITest 2.0.5 (#665) * Rebase the current branch onto upstream latest
2017-01-31[All] Basic Accessibility Support (#713)Samantha Houts2-0/+8
* [Core] Add accessibility properties * [Controls] Add accessibility gallery * [iOS] Implement accessibility properties * [Android] Implement accessibilty properties * [Win] Implement accessibility properties * [Win] Select ListView item on selected for a11y * Update docs * TODO: macOS accessibility * [iOS] Fix failing UI Tests
2017-01-26[Android] Keyboard should not change layout while dismissing on Entry and ↵adrianknight892-14/+12
Editor (#663) * handle keyboard on entry * add sample code * editor changes * change text * better fix * changes
2017-01-23Reduce overhead of pushing existing navigation stack (#672)E.Z. Hart1-2/+2
* Make StackCopy less awkward * Clean up comment * Update docs * Update docs * Replace SecondToLast with an arbitrarily deep Peek method * Update docs * Handle negative depths in Peek()
2017-01-21[A]Fix potential crash when calling ClearFocus in SearchBarRenderer (#700)Jason Smith1-4/+16
2017-01-11Don't create FontExtensions Regex unless/until necessary (#676)E.Z. Hart1-3/+6
* Lazy load Regex for loading fonts from assets * Allow Regex class to handle Regex initialization and caching
2017-01-11Enable 24-hr formatting for Android TimePicker (#654)Philipp Sumi1-2/+4
Enable 24-hr time formatting depending on Android system settings instead of the hard coded 12-hour setting.
2016-12-28Fix comment typoSamantha Houts1-1/+1
2016-12-19Slider should show user-set value on initial load (#378)adrianknight891-12/+18
2016-12-14Fix potential NRE in ConditionalFocusLayout (#587)2.3.3.175E.Z. Hart1-6/+3
2016-12-06[Android] Dismiss context menu when view cell is removed (#568)adrianknight891-3/+6
* close context action when cell is no longer available * rename method
2016-12-06[Android] ScrollView should send correct ScrollX and ScrollY (#394)adrianknight891-10/+39
* Android should show correct ScrollX and ScrollY when scrolling in both directions * Adding sample code to demonstrate scrolling * Orientation fix * ScrollTo should work for horizontal + vertical scrolling * Get correct scroll x and y values for ScrollOrientation.Both * Convert positions to pixels * Adding unit test to watch out for incorrect animation positioning * automated test * improvements * fixed texts
2016-12-06Don't render empty TextCells for TableSections without Title (bugs 26104 and ↵Michael Rumpler2-69/+109
42926) (#287) * Don't render empty TextCells for TableSections without Title (bugs 26104 and 42926) * Cache the Cells so that GetCellForPosition doesn't have to iterate all Cells every time it is called
2016-11-16[C] Use a Binding for ItemsSource object selectionStephane Delcroix1-3/+4
2016-11-15Added CornerRadius property To Frame controlAndrei N1-11/+32
2016-10-31[Android] Forward ScrollView touch events to custom renderers (#472)adrianknight892-1/+16
* Forward touch events * remove double cast
2016-10-20Fix ProgressBar renderer (#439)adrianknight891-5/+7
2016-10-17[Android] Fix NRE When Scrolling ListView and Item With Context Actions Is ↵Jimmy Garrido1-7/+0
Selected (#310) * Fix NRE When Item With Context Actions Selected * Add UITest
2016-10-12[Android] Fix possible NRE when detaching NavigationPageRenderer (#415)Rui Marinho1-3/+3
2016-09-13Revert "Revert "[Android] Fix warnings (#346)""Rui Marinho1-0/+1
This reverts commit 6fa569cfda33d6875896788bba274a313a24fac2.
2016-09-13Revert "[Android] Fix warnings (#346)"Rui Marinho1-1/+0
This reverts commit 960f02d0e7549088d15b74bd11628eb987c77a74.
2016-09-13[Android] Fix warnings (#346)Rui Marinho1-0/+1
2016-08-30KeyboardExtensions is now public (#326)adrianknight891-1/+1
2016-08-30Allow Custom Android MapRenderers to override the default MapView options (#285)Marcus Lum19-19/+115
* Allow Custom Android MapRenderers to override the default MapView options * Larger effort to use CreateNativeControl () everywhere instead of just in the Android AppCompat renderers.
2016-08-16[A] Pre-AppCompat ListView Indicator ... (#281)Samantha Houts1-1/+1
...will keep spinning on tab change.
2016-08-03Fix bugzilla41209 (#216)Rui Marinho2-1/+53
* [Android] Add custom FormsSeekbar to handle invalid pressed states send by other views * [Controls] Fix sample , error only occurs with transparent background
2016-08-03[Android] Fix ListView contextual actions not closing in AppCompat's ↵Paul DiPietro1-2/+12
NavigationPage/TabbedPage (#272) * [Android] Fix ListView contextual actions not closing upon navigation in AppCompat The Platform type in the ListViewAdapter was being treated as the non-AppCompat type, and the NavAnimationInProgress value was not being set as necessary in the NavigationPageRenderer. * [Android] Add fix for TabbedPage swipes not closing contextual actions Similar fix where swiping to another tab with the context menu open would not close it. Relies on the prior commit.