summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
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
2017-02-17Add missing virtual keywordsE.Z. Hart2-2/+2
2017-02-17Add localized listener for Android numeric inputE.Z. Hart6-7/+266
2017-02-17[A] Do not throw error for first param in ScrollTo (#742)Paul DiPietro1-0/+3
2017-02-13[Android] Double tapping on context action should not crash (#609)adrianknight891-1/+2
* fix double tap nre * added sample code * new fix * added comment * better fix * edit position of change * changes
2017-02-06Revert "[*] ScaleX and ScaleY"Stephane Delcroix1-17/+8
This reverts commit fc7d556848e731902d096953c9b4fb28a2466e6b.
2017-02-06[*] ScaleX and ScaleYStephane Delcroix1-8/+17
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)Kangho2-5/+59
* 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 Houts8-1/+211
* [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-24Add check for disposed gesture detector on VisualElementRenderer (#706)E.Z. Hart1-0/+6
2017-01-23Reduce overhead of pushing existing navigation stack (#672)E.Z. Hart2-4/+4
* 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-23Move XF.ConcurrentDictionary to WP8 project (#685)E.Z. Hart2-0/+2
2017-01-21[A]Fix potential crash when calling ClearFocus in SearchBarRenderer (#700)Jason Smith1-4/+16
2017-01-18.nuspec updates and fixes for X.A.Support 23 -> 25 (#679)kingces951-5/+6
2017-01-12[C] new OnPlatform mechanism (#658)Stephane Delcroix1-1/+2
* [C] Obsolete TargetPlatform * [Xaml] support and test the new syntax * blind fix windows platforms
2017-01-12fix bug-39359 (#599)fengrui1-0/+7
UriImageSource does cache failed HTTP responses
2017-01-12[Android] NavigationPageRenderer should not create a Fragment unnecessarily ↵adrianknight891-17/+28
(#627) * Do not create fragments unnecessarily * use existing list * remove local variable * Revert "remove local variable" This reverts commit 266e2c3657733c390931df79d4729206b456dfcd. * remove local variable * change order of returns
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.
2017-01-10iOS and Android timers should be runnable from any thread and execute… (#374)adrianknight891-45/+8
* iOS and Android timers should be runnable from any thread and executed on the main thread * removing unused Timer class declarations with minor refactoring efforts * iOS and Android timers should be runnable from any thread and executed on the main thread * removing bak file * switch to v7 * add test code
2017-01-09[iOS] Register effects for ScrollView and WebView (#641)adrianknight891-7/+2
* fix effects * move effect utilities to core * use core class * move to internals namespace * remove IEffectControlProvider from IVisualElementRenderer