summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24Clean sync with 2.3.4-2Kangho Hur17-304/+28
Change-Id: I6a7423d2690a1c30f46e0c128d9504a2464f8f0b
2017-03-24Add 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-03-24[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-03-24[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-03-24Reduce 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-03-24Move XF.ConcurrentDictionary to WP8 project (#685)E.Z. Hart2-0/+2
2017-03-24[A]Fix potential crash when calling ClearFocus in SearchBarRenderer (#700)Jason Smith1-4/+16
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-20Add check for disposed gesture detector on VisualElementRendererE.Z. Hart1-0/+6
2017-03-08[Android] Add null checks to ActivityIndicator (#804)Samantha Houts1-2/+8
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-03-03[Android] Don't crash if Control is accessed in Effect OnDetached when Page ↵Samantha Houts1-2/+0
is Disposed. (#772) * Add repro for 51505 * [Android] Don't dispose of EffectControlProvider * Oops
2017-01-30.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
2016-12-30[Android] Fix NavigationPage dispose crash when it parents a ↵adrianknight891-28/+42
MasterDetailPage (#577) * fix navigation page dispose crash * changes after review
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)adrianknight892-10/+10
* 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-30fix NRE in packager dispose (#561)adrianknight891-3/+6
2016-11-18[Android] Do not show cell context actions if input views are long clicked ↵adrianknight891-0/+3
(#544) * Disable long click on cells if touch is on an input view * remove redundant check
2016-11-16[Android] Preserve Toolbar Subtitle on page orientation change (#528)adrianknight891-1/+7
* add ability to preserve toolbar values * added null check * better fix * fix indentation * fixed comment
2016-11-16Make CommitAllowingStateLoss the default (#527)E.Z. Hart2-3/+12
2016-11-16[C] Use a Binding for ItemsSource object selectionStephane Delcroix2-6/+8
2016-11-16[A] Check for parent NavigationPage when setting MDP detail's TopPadding (#473)Paul DiPietro1-1/+11
rebased
2016-11-15fix MasterDetailPage dispose (#505)adrianknight891-5/+4
2016-11-15Added CornerRadius property To Frame controlAndrei N2-11/+53
2016-11-15[Android] Show keyboard on app resume if control has focus (#480)adrianknight891-0/+9
* show keyboard on resume if control has focus * refactor * changed property name
2016-11-08fix identationStephane Delcroix1-7/+7
2016-11-08Add extensibility point to load tab icons from another source (using the ↵softlion1-2/+7
tab.SetIcon(drawable) overload) on Android
2016-11-08[Android] Always set a non-null Device.Info (#504)Alan McGovern1-8/+13
When we run under the context of layoutlib the `Context` object that is created will not implement IDeviceInfoProvider. All this means is that we will not get change notifications when the orientation changes, but that's ok! This won't happen anyway. If we instantiate the Device.Info object then everywhere else in the code will be able to get access to the screen properties. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=44893
2016-11-03[Android] Allow path-based icons to be loaded as toolbar icons (#437)adrianknight894-6/+25
* Created a bitmap method to check for resource as well as path * Update platform and navigationrenderer to get images from two locations * CellAdapter could use path-based icon finding * sample app to test toolbaritem icons
2016-11-03Update ContextExtensions.cs (#502)Alan McGovern2-5/+9
* [Android] Handle missing android services gracefully When rendering inside layoutlib, like the Android Designer does, we will not have access to the normal android services. * [Android] Handle null InputManagers here too Just in case this codepath is hit at some point during the android designer's rendering codepath.
2016-11-02Fixed tab not updating when page title is changed (#327)Jimmy Garrido1-5/+33
* Fixed tab not updating when page title is changed * Remove OnPagePropertyChanged Event From Pages When Disposing * Meet coding standards and remove unnecessary parameters
2016-10-31[Android] Forward ScrollView touch events to custom renderers (#472)adrianknight892-1/+16
* Forward touch events * remove double cast
2016-10-24[Android] Internal keyboard hide/show should handle null views (#418)adrianknight891-3/+7
* Check for null input view before trying to hide keyboard * Adding null check to ShowKeyboard * change to throw an exception
2016-10-20[Android] SoftInputMode works with initial value (#465)Samantha Houts2-4/+4
2016-10-20[Android] Add Platform Specific features for setting TabbedPage swipe paging ↵Paul DiPietro1-1/+18
and OffscreenPageLimit (#409) * [Android] Add Platform Specific feature for setting TabbedPage swipe paging * [Android] Add Platform Specific feature for OffscreenPageLimit * Update docs
2016-10-20Fix ProgressBar renderer (#439)adrianknight891-5/+7
2016-10-20Check for Actionbar at UpdateActionBar method. (#366)gleblebedev1-0/+4
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