summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
2016-10-06[A] Prevent blank page from appearing when MainPage is switched (#421)Samantha Houts1-2/+5
* repro * [A]Add horrible hack to prevent background flashing when swapping MainPage * cleanup repro * Revert "[A]Add horrible hack to prevent background flashing when swapping MainPage" This reverts commit d0fdc3856d0eaa5ec781f790d524ad7624a26560. * [A] E.Z.'s less magical but just as effective solution
2016-10-04Unhook drawer listeners so MDP renderer and pages can be collected (#412)E.Z. Hart3-1/+39
Null out page in custom MDP renderer in Control Gallery so it can be collected Checkpoint Checkpoint Checkpoint Checkpoint Checkpoint Checkpoint
2016-10-04[A] PanGestureRecognizer will consistently send Started/Move event (#389)Samantha Houts1-10/+35
* Add reproduction for Bugzilla 39768 * [A] Handle onTouchEvent MOVE
2016-10-04Fix tests on IOS10 [Do not merge] (#373)Rui Marinho1-2/+2
* [UITests] Update packages * [UITests] Fix formatting * [UITests] Fix tests * Add badges * Update Android csproj * fix
2016-10-03Make CreateNativeControl virtual instead of abstract (#406)Jason Smith1-2/+5
Fixes backwards compatibility issue.
2016-10-03Set UserVisibleHint for new fragment to true (#411)E.Z. Hart1-2/+2
2016-09-30[A] Check for ViewStates.Gone in AppCompat TabbedPageRenderer (#365)Paul DiPietro1-5/+8
2016-09-30AppCompat should now be able to set title bar visibility programmatic… (#350)adrianknight893-8/+59
* AppCompat should now be able to set title bar visibility programmatically * coding style changes * making sure page layout runs only on fullscreen flag changes
2016-09-30[Android] InputTransparent and IsEnabled fixes on visual elements (#344)adrianknight891-25/+19
* intercepting touch event when inputtransparent and isenabled are set. also made some refactoring. * keeping tabs
2016-09-30Fix indentationJason Smith1-6/+6
2016-09-30[Android] Forward appearing / disappearing methods only for the last item on ↵adrianknight891-3/+8
the stack (#342) * [Android] Forward appearing / disappearing methods only for the last item on the stack * use tabs
2016-09-27Reuse Handler when invoking on main thread (#383)E.Z. Hart1-1/+8
2016-09-27Fix potential NRE accessing current application via Page.RealParent (#330)E.Z. Hart2-2/+2
* Fix potential NRE accessing current application via Page.RealParent * Update Native Bindings Gallery to use MessagingCenter
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.