summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
2016-09-27Clean up listeners and tag on ButtonRenderer during disposal (#360)E.Z. Hart5-21/+45
Clean up OnFocusChangeListener on ViewRenderer during disposal Prevent memory leak of PageContainer/FragmentContainer when animating fragment transitions Call Destroy() on Map during disposal Rebasing
2016-09-21Implement dispose pattern correctly to support derived classes (#364)E.Z. Hart2-7/+24
2016-09-16Android BeginInvokeOnMainThread() should not possibly block. (#343)Atsushi Eno1-3/+1
Android.App.Activity.RunOnUiThread() does not always run the argument Runnable asynchronously; actually it is run synchronously if current thread is the UI thread [*1][*2] Use Handler.Post() instead. (It is also used in Android.App.SyncContext[*3]) [*1] https://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable) [*2] http://stackoverflow.com/questions/33039600/android-runonuithread-not-async [*3] https://github.com/xamarin/xamarin-android/blob/5777337/src/Mono.Android/Android.App/SyncContext.cs#L15
2016-09-13Revert "Revert "[Android] Fix warnings (#346)""Rui Marinho3-10/+7
This reverts commit 6fa569cfda33d6875896788bba274a313a24fac2.
2016-09-13Revert "[Android] Fix warnings (#346)"Rui Marinho3-7/+10
This reverts commit 960f02d0e7549088d15b74bd11628eb987c77a74.
2016-09-13[Android] Fix warnings (#346)Rui Marinho3-10/+7
2016-09-13[A] Fix regression on NavAnimationInProgress (#341)Paul DiPietro1-3/+1
2016-09-12Android AppCompat: Don't do NavigationPage menu updates for disposed page (#331)Jani Lirkki1-0/+3
2016-09-08[Xaml] support native views and native bindings (#266)Stephane Delcroix3-0/+60
Allows including Native views directly in xaml. Support for ios, android, UWP
2016-09-08Native Bindings (#278)Stephane Delcroix4-1/+53
* [C, I, A, W] Support Native Bindings * fix tabs
2016-08-30[A] Check UserVisibleHint to prevent non-active tabs from firing ↵Paul DiPietro1-1/+2
SendAppearing in OnResume (#328)
2016-08-30KeyboardExtensions is now public (#326)adrianknight891-1/+1
2016-08-30[A] PanGestureRecognizer will consistently send Completed event (#313)Samantha Houts2-1/+10
* Adjust gallery page for reproduction * [A] Forward OnTouchEvent to Listener... ...and end scrolling on Up.
2016-08-30Fix memory leak caused by BaseCellView and RendererHolder (#311)E.Z. Hart2-7/+32
2016-08-30Platform Specifics (#301)Samantha Houts4-25/+110
* Playing around with how the platform specifics interfaces etc. might work * Sample implementation of iOS navigation translucency * Very slightly reduced code * Better vendor stuff * Drop single-implemenation interfaces * Generics on NavigationPage * On-demand vendor stuff * Remove functionally duplicate classes and make ControlGallery work again * Namespace all the things. XAML test. * Can use Effect to attach platform specific * Attach Effect on PropertyChanging for XAML support! * Rename IConfigPlatform interfaces for readability * Some renaming to match the documents * Split class files * Clear out test-only code * Re-namespace * Added On method to rendered Elements * Allow for removal of platform suffix, convenience methods on specific platforms * Creating a gallery page for specifics * Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP; Add CollapsedPaneWidth specific property * Toolbar now working with both collapse styles * MDP now displaying Content title; toolbar routing around title * Add a gallery for the iOS NavigationPage stuff * Add Navigation Page as detail page to verify it works with new Toolbar options * Make titlebar/toolbar background colors consistent * ToolbarPlacement now working on NavigationPage * Toolbar Placement working for tabbed and nav pages * Fix bug where phone doesn't get default toolbar placement on start * [Core] Add PS WindowSoftInputModeAdjust [Core] Make Application extendable * Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone Remove unnecessary style indirection Fix build errors * [A] Add PlatformConfigurationExtensions * SetSoftInputMode test page * [A] SetSoftInputMode Known issue: Status bar color does not work in AdjustResize mode * [Core] Add PS Blur * [iOS] Configure renderer for blur * Add test page * Move to blur VisualElement for broader support * Move test pages to gallery * Update docs * Use lazy initializer for PlatformConfigurationRegistry
2016-08-30Allow Custom Android MapRenderers to override the default MapView options (#285)Marcus Lum22-20/+123
* 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-25Fix crash when ItemsSource is set to null (#320)Jimmy Garrido1-1/+2
2016-08-17[Android] Fix for NullReferenceException when using the wrong activit… (#286)beta-2.3.2-pre2Oddbjørn Bakke1-0/+6
* [Android] Fix for NullReferenceException when using the wrong activity type. On using FormsApplicationActivity or FormsAppCompatActivity as base Activity in a SplashScreen. A NullReferenceException will be thrown in the KeyboardManager. Added InvalidOperationException with "Forms.Init()" message instead, if the Forms.Context is null. * Fixed indentation
2016-08-16[A] Pre-AppCompat ListView Indicator ... (#281)Samantha Houts1-1/+1
...will keep spinning on tab change.
2016-08-09[Android] Close the correct mode if it wasn't disposed (#283)Rui Marinho1-3/+3
2016-08-03Fix bugzilla41209 (#216)Rui Marinho3-1/+54
* [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 DiPietro3-3/+19
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-08-02Dispose of child renderers in FrameRenderer (#265)E.Z. Hart1-2/+19
* Dispose of child renderers in FrameRenderer * Add missing null check
2016-08-02[Android] Color.Accent is hardcoded (#270)Michael Rumpler1-13/+34
2016-08-02[Android] Add null check to prevent crashes when long clicking a text entry ↵Paul DiPietro1-0/+3
in ListView header/footer (#271) When a text entry control (Entry, Editor, SearchBar, etc.) was being used in the header or footer of a ListView on Android, a long click/press would cause a crash. This was occurring in the HandleContextMode method because it expected to be a cell. Adding a null check and breaking out of the method if the value from GetCellForPosition is null prevents this crash from occurring.
2016-07-26[Android] Fix focus/unfocus behavior on both Picker renderers (#264)Paul DiPietro2-1/+9
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-18Prevent FormsAppCompatActivity from loading fragments we don't use on ↵E.Z. Hart1-0/+12
restart (#246) * Prevent FormsAppCompatActivity from loading fragments we don't use on restart * Adding issues lost in merge
2016-07-18[Android] Null reference exception fix (#252)Toni Petrina1-7/+13
* Added null checks * Replaced spaces with tabs
2016-07-18Fixes issue when setting NavigationPage.SetHasBackButton after page has ↵Stefan de Vogelaere1-0/+2
navigated (Android/AppCompat) (#256)
2016-07-18[Android] Add dialog null check for AppCompat Picker OnClick (#257)Paul DiPietro1-15/+17
Multiple, rapid taps on the Picker in AppCompat could potentially open more than one dialog, causing a crash upon their being closed. Adding a null check for the dialog prevents more than one from being created.
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. Hart5-31/+91
* 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 Marinho2-1/+5
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 Houts14-78/+110
* 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. Hart2-10/+69
Fix vertical centering logic for button images in Android
2016-06-16Prep Page for removal of InternalsVisibleTo (#150)E.Z. Hart20-104/+135
2016-06-15[Android] Fix Api18 usage on PinchGesture (#218)Rui Marinho1-3/+3
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-06-03ViewRenderer unsubscribe from FocusChangeRequested on dispose (#193)kingces951-0/+6
2016-05-27[A] TabbedPage text can be set back to Default (#157)Samantha Houts1-4/+14