summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
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
2016-10-15[A] Prevent crash in event when renderer is null in Layout call. (#457)Jason Smith1-2/+2
Reproduction unknown, issue deduced from stack traces from HomeAway.
2016-10-14[A] Better fix for BZ44129 (#453)Jason Smith1-2/+4
2016-10-12[Android App Compat] Can opt out of sending Appearing/Disappearing events on ↵Samantha Houts1-7/+16
Resume/Pause (#450) * Add reproduction for 40722 * [Core] Add Android AppCompat PS props ... ... to disable sending Disappearing/Appearing events on Pause/Resume respectively. * [Android] Allow user to disable Pause/Resume evts * Revise repro to use new PS option * Update docs
2016-10-12[A]Don't crash when emptying/populating TabbedPage.ItemsSource (#427)Jason Smith1-1/+3
2016-10-12[Android] Fix possible NRE when detaching NavigationPageRenderer (#415)Rui Marinho1-3/+3
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-03Fix 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.