summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-08-02[A, iOS] ListView Pull-To-Refresh indicator animates when navigating back to ↵Samantha Houts1-3/+15
it (#274) * Add repro for 33561 * [A] ListView refreshing on created shows indicator * [iOS] Refresh indicator restarts when appeared * Remove superfluous get
2016-08-02[Android] By using the SetSingleLine(true), the developers are no (#234)Depechie1-6/+5
longer able to use the SetMaxLines() in their own Custom Renderers later on. So we force a single line by using the SetMaxLines(1) in the base LabelRenderer and SetSingleLine(false)
2016-07-26[Android] Fix focus/unfocus behavior on both Picker renderers (#264)Paul DiPietro1-1/+6
On AppCompat, focus and unfocus would not trigger when using the Picker. On pre-Lollipop, unfocus would not trigger, but only when tapping outside of the dialog.
2016-07-18Android Custom Font support (#236)Roy1-23/+54
* Implemented basic Support for Android Custom fonts * Fixed Tabs * Removed Private * Changed behaviour to use UWP FontFamily style names * Fixed Bug
2016-07-18[Android] Null reference exception fix (#252)Toni Petrina1-7/+13
* Added null checks * Replaced spaces with tabs
2016-07-18[Android] Remove API check in ActivityIndicatorRenderer's UpdateColor method ↵Paul DiPietro1-3/+0
(#261)
2016-07-13[Android] Handle creating a default GroupHeader if no GroupHeaderTemplate ↵Rui Marinho1-15/+24
is provided (#248)
2016-07-12[Android] TimePicker unfocuses on cancel (#238)Paul DiPietro1-0/+17
Related to the prior fix of the DatePicker not unfocusing on the cancel button being pressed, the TimePicker was not unfocusing, as well. A similar fix has been applied.
2016-07-11Fix DatePicker dialog regression (#249)Paul DiPietro1-4/+13
KitKat doesn't use the cancel button, so it has to be accounted for.
2016-07-01[All] Crash fixes for ListViews (#243)Samantha Houts1-3/+3
* [Controls] Add repro for 42277 * [Android] No crash if GroupHeaderTemplate=null * [Android] Fix DataTemplateSelector crash * [Core] Expose ListProxy on TIL * [iOS] Fix DataTemplateSelector crash * [Win] Fix DataTemplateSelector crash * [Docs] Update docs * [Core] Implement ListProxy explicitly Allows ListProxy property to stay internal. * [Controls] Revert unnecessary change to shproj
2016-06-27[Android] Memory leak when MasterDetailPage Detail set to NavigationPage (#239)E.Z. Hart1-8/+19
* Create repro * Remove unnecessary cast * Add null checks on weak references in PageContainer * Remove master/detail fragments from manager when switching master/detail pages Separate renderer ViewGroup removal from renderer disposal in FragmentContainer Separate PageContainer disposal from renderer disposal in FragmentContainer Remove Drawer Listener for NavigationPageRenderer in Dispose * Fix missing spaces; Add explicit SPACE_BEFORE_IF_PARENTHESES settings to DotSettings file * Remove javascript rules * Remove usage of .ForEach()
2016-06-18[Android] Make sure to add a parent to the new group header cell (#228)Rui Marinho1-0/+1
2016-06-17[Android] Take in account status bar padding on master when using split ↵Rui Marinho1-1/+4
behaviour in MDP (#226)
2016-06-17Fix 39802 (#217)Rui Marinho1-35/+53
* [iOS] When using ContextActionsCell make sure we don't show the ContentCell separator * [Android] Don't write separator view if not needed
2016-06-17Prep Cell & friends for removal of InternalsVisibleTo (#142)Samantha Houts5-60/+84
* Prep Cell & friends for removal of InternalsVisibleTo Includes: - Cell - EntryCell - ListView - MenuItem - TableView - ViewCell - Toolbar Moved extensions to Internal & removed TPH * Update docs * [Controls] Ignore Issue2411 on iOS <9 * [Controls] Formatting for Issue2411
2016-06-16[Android] DatePicker unfocuses on cancel (#204)Paul DiPietro1-0/+11
The DatePicker in Android would remain focused when being closed via the cancel button, and a subsequent re-focus via something such as button would not function as expected.
2016-06-16Add repro of uncentered button image for Android (#176)E.Z. Hart1-6/+35
Fix vertical centering logic for button images in Android
2016-06-16Prep Page for removal of InternalsVisibleTo (#150)E.Z. Hart9-44/+56
2016-06-09[Android] Always create a new cell for GroupHeader when using Recycling (#206)Rui Marinho1-1/+14
* [Android] Always create a new cell for GroupHeader when using RecycleElement * [iOS] Fix uitest iOS * [Android] Fix test on android
2016-05-27[Android] UpdateToolbar when page is added before on non AppCompact (#195)Rui Marinho1-0/+9
2016-05-10[Android] Isolate fragment management for children of MasterDetailPage (#136)E.Z. Hart1-14/+21
* Isolate fragment management for children of MasterDetailPage in AppCompat If a MasterDetailPage hosts NavigationPages or TabbedPages in either the Master or Detail sections, wrap those pages in their own Fragment (and ChildFragmentManager) to isolate their Fragment management operations and avoid recursive entry into the executePendingTransactions method Also fix a disposal bug in the custom MDP renderer in Control Gallery * Remove MDP Split setting that breaks test on iPad
2016-05-04Add IMasterDetailPageController and update renderers (#146)E.Z. Hart2-12/+17
2016-05-04Prep StreamImageSource for removal of InternalsVisibleToE.Z. Hart1-1/+1