summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android
AgeCommit message (Collapse)AuthorFilesLines
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
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-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