Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Johan Lorensson 0209ce77cd [UWP] Icon on TabbedPage (#1952)
* [Enhancement] Icon on TabbedPage UWP.

Fixes issue #1705.

* Update documentation for issue 1705.

* Smaller adjustments to make sure we still have same fixed header size
when icons are collapsed as before.

* Updated with review feedback.

TabbedPageRenderer.cs has also been updated to use tabs instead of spaces.

* Fix problem to restore back previous alignments on tabbed paged header text block.

When showing images in tabbed paged headers we store old alignment of text block
to be able to restore when hiding images (getting back original alignment of text block).
If sizes where changed for images while showed, the old values where lost.

Fix makes sure only the old values are stored, if current alignment is not the
default (center) when displaying images in tabbed paged header.
2018-03-07 10:37:27 -08:00
Jason Smith 19e19e24d9
Merge branch '3.0.0' 2018-03-05 13:47:35 -08:00
Jason Smith 247a475498
Merge branch '15-5' into 3.0.0 2018-03-05 13:41:43 -08:00
Samantha Houts 1ce84e00db [Android] Buttons can be round; remove Padding & Shadow by default (#1935)
* Add repro for 1909

* [Android] Get PaddingLeft from native button

* [Core] Add PS for removing the native padding from Android buttons

* [Android] Implement UseNativePadding

* Adjust test to show the new UseNativePadding results

* Update docs

fixes #1909

* Update docs again

* Add button styles for testing

* [Core] Add UseDefaultShadow and UseDefaultPadding platform specifics

* Use new PS in tests

* [Android] Button uses new Platform Specifics

* Update docs

* Fix test case
2018-03-05 12:50:16 -08:00
Jason Smith e67e8313e3 [iOS] Add shadow effect (#1896)
* Add shadow effect for iOS

* Fix docs

* Fix formatting issues
2018-02-22 12:24:37 +00:00
Henric Müller 2b24c3f6dc Added support for ListView full width separators on iOS (#1854) fixes #1665
* Fixes #1665 by adding `SeparatorStyle` property
to iOS specific ListViews. ListViewRenderer will check
this property when cells are retrieved in the ListViewDataSource
and set SeparatorInset and LayoutMargins to zero.
2018-02-21 19:07:18 +00:00
Johan Lorensson 40e88596c9 [Enhancement]Add SearchBar platform specific for IsSpellCheckEnabled. (#1824)
Issue #1691.
2018-02-16 11:04:40 -08:00
Rui Marinho c4701be513
[Android,Core] Entry platform specific to set ImeOptions and flags (#1829) fixes (#1696)
* [Android,Core] Entry platform specific to set ImeOptions and flags on TextView

* [Docs] Add docs fixes #1696
2018-02-16 10:37:53 +00:00
Alan Grgic 8821301e7e [Android] PlatformSpecific for WebView mixed content (#1784)
* add android platform specific for webview mixed content flags

add unit tests and gallery pages

* code style adjustment

* retry update docs

* retry update docs

* Fix bad merge on TestAttributes enum
2018-02-15 15:49:22 -08:00
Henric Müller 96e01cc3fb Allow DetectReadingOrderFromContent on UWP (#1717) (#1826)
* Fixes #1717 by adding property DetectReadingOrderFromContentProperty
to InputView and Label and updating EntryRenderer, EditorRenderer and LabelRenderer
for Windows.
2018-02-09 10:33:44 +00:00
Alan Grgic 9beca0d8cb [Enhancement] UWP PlatformSpecific to display JavaScript alerts in WebView (#1785) fixes (#1682)
* add platformSpecific for enabling UWP javascript alerts in webview

* update docs
2018-02-06 10:49:13 +00:00
E.Z. Hart 28948d7ef7 VisualStateManager phase 1 (#1405)
* Port from old VSM branch

* Add PS and notes

* Checkpoint: entry text UWP mostly working, need to check on background colors

* Remove irrelevant samples from the EntryDisabledStatesGallery
Make Background color work on UWP Entry with VSM

* Add platform specific for disabling legacy colors on Android

* Add OnPlatform example to visual state manager gallery

* Add example OnIdiom in Visual State Manager

* Add platform specific for disabling legacy color mode on iOS Entry

* Add gallery for Button disabled states
Handling legacy colors for Buttons on Android

* Split out disabled states galleries; disabled legacy handling for Picker

* TimePicker disabled states

* DatePicker color management on Android

* Color management for pre-AppCompat button

* Button legacy color handling on iOS

* Consolidate Platform Specifics;
legacy colors working for iOS Picker and DatePicker

* Fix broken search bar color management
SearchBar color management working with VSM
Add test page for SearchBar disabled color management
Consolidate legacy color management check code into extension method on Android

* Legacy color management for Editor on Android

* Fix legacy color stuff for SearchBar Cancel button on iOS

* C# 7 cleanup

* Add colors for Cancel Button

* Make sure VisualStateGroup collections set by styles are distinct objects

* Validation example

* Make common state names consts

* Make the Windows VSM and Forms VSM work together

* Update galleries for Windows

* Make new methods internal

* Split gallery classes and add more explanation to validation example

* Remove debugging statements

* Add a quick code-only example

* Make legacy color management work for fast button renderer

* Remove old TODO

* Update docs

* Move RunTimeNamePropertyAttribute to Xamarin.Forms.Xaml namespace

* Verify XF namespace when looking for VisualState

* Use nameof

* Make common states constants public

* Cast VisualElement directly so it crashes if the property is set on the wrong type

* Collection -> IList for VisualStateManager

* Setting fromStyle to true

* Remove extraneous `private set`

* Seal VSM classes

* Use constraints instead of ==

* Add teardown method; use constraints rather than ==

* Remove null checking with GetVisualStateGroups

* Don't explicitly initialize collections on elements

* Actually, turns out that fromStyle:false *was* correct

* Direct casts

* Use GetIsDefault check in GoToState

* Validate parents in FindTypeForVisualState

* Validate group and state names on Add

* Fixed check for setter collection

* Fix issues with "duplicate" names when VisualStateGroups declared directly on VisualElements

* Add gallery example for VSGs directly on VisualElements

* Update docs

* Fix bug where initial TextColor isn't set for FastRenderer Button

* Move to explicit VisualStateGroupList in Setter

* Fix return types for unit tests

* Using string.CompareOrdinal in GetState

* Update docs

* Add check for null/empty VisualState Name properties
2018-01-05 09:11:51 +00:00
adrianknight89 e65b48b719 [Android] Unspecified can be the default window soft input mode (#1339)
* soft input mode can be unspecified

* Add docs
2017-12-11 23:45:18 +00:00
Kangho be52bc6b12 Add Tizen backend (#1310) 2017-12-04 14:30:43 +00:00
Jason Smith fe8c4c915a Fix merge 2017-11-08 11:16:01 -08:00
Rui Marinho 26491b3e49 Merge branch '2.4.0' into 15-5 2017-11-02 22:47:12 +00:00
Rui Marinho 958373ac61 [Core] Hide SetSafeAreaInsets (#1249) 2017-11-02 22:41:28 +00:00
Rui Marinho c341958fb3
[Core] Hide SetSafeAreaInsets (#1249) 2017-11-02 22:23:53 +00:00
Rui Marinho 042699447a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:07:49 -07:00
Rui Marinho 4d49e5786a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:04:55 -07:00
Samantha Houts a327f471a1 [UWP] Fix ListView selection issues **Behavior change** (#1157)
* Update 44886 repro

* Add 59718 repro

* [UWP] Don't fire a click when SelectedItem changes programmatically

* Update repro for 59718

* [Core] Add Win ListView Selection mode specific

* [Win] Use ListView SelectionMode specific

* Fix test case

* [Win] ListView sets value once when clicked

* Update docs

* Fix specific methods

* Update docs again
2017-10-25 12:16:50 -07:00
Samantha Houts 2903810599 [UWP] Fix ListView selection issues **Behavior change** (#1157)
* Update 44886 repro

* Add 59718 repro

* [UWP] Don't fire a click when SelectedItem changes programmatically

* Update repro for 59718

* [Core] Add Win ListView Selection mode specific

* [Win] Use ListView SelectionMode specific

* Fix test case

* [Win] ListView sets value once when clicked

* Update docs

* Fix specific methods

* Update docs again
2017-10-19 23:17:31 +01:00
Javier Suárez Ruiz 6327e76242 Merge with master branch 2017-10-19 12:50:05 +02:00
Marko B. Ludolph 0abfd7e504 [MacOS] Navigation Transition Style (#1168) 2017-10-03 14:46:41 +01:00
Javier Suárez Ruiz 8e41144700 Xamarin.Forms.Platform.GTK 2017-09-28 13:52:27 +02:00
E.Z. Hart 210df5f775 [Android] Add platform specific for Elevation (#1158)
* Simple Elevation implementation for BoxView

* More generic version

* Simplify the code a bit

* Add IElementConfiguration<T> to the descendants of Layout<View>

* Add Elevation support to everything on Android; update UI tests;

* Update docs
2017-09-26 11:14:41 +01:00
Marko B. Ludolph f0b1efbb91 [macOS] Set tab order (e.g. for entries) on a Page (#1060)
* [macOS] Add tab order (e.g. for entries) on a Page

* Return NativeView if no subviews are available
2017-07-24 17:13:21 -04:00
adrianknight89 27de335bf1 [iOS] Platform specifics to control ScrollView content touch delay (#563)
* can delay content touches optionally

* revert bug fix

* add back _tapGesture

* remove extra declaration
2017-03-24 12:07:59 -07:00
Rui Marinho 1ad18e33eb [Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled (#797)
* [Android] Enable fast scroll by default

* [Android] Cache count for Listview

* [Android] Add IsFastScrollEnabled AndroidSpecific and sample

* [Android] Use count cache on GetCellsFromPosition

* [Android] Fix default for platform specific IsFastScrollEnabled

* [Docs]Fix docs

* [Android] Don't used cached listCount when getting cell
2017-03-08 11:30:08 +00:00
Paul DiPietro 6296c4478f [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth (#696)
* [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth

* Update docs
2017-01-30 23:50:49 +00:00
Rui Marinho 52fc04724f MacOS (#650)
* [MacOS] Add SwitchRenderer

* [MacOS] Add TimePickerRenderer

* [MacOS] Cleanup TimePcikerRender

* [MacOS] Add WebViewRenderer

* [MacOS] Add Javascript evaluate to webview

* [MacOS] Fix build error on WebViewRenderer

* [MacOS] Add Base and TextCell renderers

* [MacOS] Start on ListViewRenderer

* [MacOS] Cleanup

* [MacOS] Vertical center text on default NSTextField

* [MacOS] Center NSTextField vertically

* [MacOS] Add ImageCellRenderer

* [MacOS] Add SwitchCellRenderer

* [MacOS] Add SwitchCellRenderer

* [iOS] Allow to set background color on other CellRenderers

* [MacOS] Fix selection mode on ListView

* [MacOS] Set background on Entry of entry cell

* [MacOS] Fix casting bug on CellRenderer

* [MacOS] Other fix on CellRenderer background

* [MacOS] Add ViewCellRenderer

* [MacOS] Fixes and cleanup on cells

* [MacOS] Add NSScrollView so NSTableView can scroll

* [MacOS] Add HeaderView to ListView

* [MacOS] Cleanup

* [Controls] Add Header support to ListView

* [MacOS] NSView reuse on NSTableView

* [MacOS] Some fix on layour order

* [MacOS] Add CarouselPageRenderer

* [MacOS] Implement EventTracker on PageRenderer

* [MacOS] Cleanup CarouselPageRenderer

* [MacOS] Add MasterDetailPage renderer

* [MacOS] MDP renderer don't allow drag of splitter

* [MacOS] Add TabbedPage renderer

* [MacOS] Initial sketch of NavigationPageRenderer

* [MacOS] Send disappearing of CurrentPage on Dispose on NavigationPageRenderer

* [MacOS] Add Gallery page for Mac

* [MacOS] Add MacOSExpressionSearch

* [MacOS] Fix ColorExtension

* [MacOS] Fix MDP renderer layout

* [MacOS] Implement native selection on ListViewRenderer

* [MacOS] Deselect a item on NSTableView

* [MacOS] Remove previous SplitViewItems

* [MacOS] Fix navigationpage height

* [MacOS] Add toolbar for NavigationPageRenderer

* [MacOS] Don't remove selection for now (crashing)

* [MacOS] Refactor page and back button title on NavigationPageRenderer

* [MacOS] Fix bug when native navigate back

* [MacOS] Hide layer when transition

* [MacOS] ListviewRenderer fix BbackgroundColor

* [MacOS] Fix background on ScrollViewRenderer

* [MacOS] Fix header measure on ListViewRenderer

* [MacOS] Add Mac twitter demo

* [Controls] Spaces for easy reading

* [MacOS] More xaml cleanup

* [Core] Add Mac as aTargetPlatform

* [MacOS] Add alerts and actionsheets

* [MacOS] Add GestureRecognizers

* [MacOS] Fix Layout issues when adding children, enable transformations

* [MacOS] Fix title on tab item, move to tabbed navigation based on segmented control

* [MacOS] Hide toolbar when not needed, this allows to work with tabbed page, cleanup

* [MacOS] Add NativeBindings and NativeViewWrapper

* [MacOS] Fix AssemblyInfo

* [MacOS] FIX NRE on SetBackgroundColor BoxView

* [MacOS] Fix NavigationPageRenderer

* [MacOS] Fix build

* [MacOS] Also update page when it resizes

* [MacOS] Add LayoutRenderer for handle items position when the bounds change.

* [MacOS] Refactor/Cleanup

* [MacOS] Add toolbar items support to NavigationPage

* [MacOS] Resize images for TabViewITems

* [MacOS] Fix TabbedPage resize issues , allow users to override some features when creating TVI

* [MacOS] Fix hide/show Navigation toolbar

* [MacOS] Redo CarouselPageRenderer with NSPageController

* [MacOS] Add support for Modal pages

* [MacOS] Refactor navigation from platform

* [Nuget] Add nuget for MacOS

* [Nuget]Fix nuspec

* [Nuget] Add variables for CI

* [Controls] Remove MainMenu from MacOS

* [MacOS] Add TableView renderer (no headers yet)

* [MacOS] Refactoring, marking extensions as internal

* [MacOS] Add group headers for TableViewRenderer

* [MacOS] Workaround for updates on listview collection

* [MacOS] Handle updates of rows in the ListViewRenderer properly

* [MacOS] Fix navigation animation

* Fix navigation header issues with modal pages

* [MacOS] Fix MDP issues with resizing

* [MacOS] Fix general dispose

* [MacOS] Add a ViewControllerWrapper for NSSplitView

* [MacOS] MDP renderer fix animation

* [MacOS] Fix ListView selection bug

* [MacOS] Fix rendering MDP Layout inside wrappers

* [MacOS] Re write the MainToolbar handler

* [MacOS] Don't use Sierra new extensions so we can run in stable channel

* [MacOS] Another way to hide the toolbar (smarter i think)

* [MacOS] Fix MDP bug and remove debug color

* [Controls] Add HanselForms sample

* [MacOS] Fix NRE WebviewRenderer

* [MacOS] Fix uneven rows on ListView renderer

* [MacOS] Fix NRE on load (can+t find the reason this happens)

* [MacOS] Fix uneven rows

* [MacOS] Fix header sizing on ListViewRenderer

* [Controls] More stuff on HanselForms

* [MacOS] Remove warning from ListViewRenderer

* [MacOS] Fix PageRenderer bug double init

* [MacOS] Don't calculate height if RowHeight is provided

* [Controls] More Hanselforms stuff

* [MacOS] Once again a new implementation for the NavigationBar, this time using a custom view to support BackgroundColor

* [MacOS] Fix build

* [MacOS] Refactoring AwesomeBar related controls

* Fix build

* [MacOS] NavigationBar update background and t test colors

* [MacOS] Fix when we remove navigation so it works when the NavigationRenderer wasn't removed from the parent controller like in a TabbedPage

* [MacOS] Add support for ListView  grouping

* [MacOS] Fix image extension method.

* [MacOS] Add base Maps project

* [MacOS] Export MapRenderer

* [MacOS] Add pin click and geocoderbacked for Maps

* [MacOS] Add extra binding project for API not in stable.

* [MacOS] Add MacOS Maps lib

* [MacOS]Fix build on alpha

* [MacOS] Remove MacOS Maps extra binding

* [UITest] Basic macOS setup

* [UITest] Add MacOSApp wrapper implementation

* [MacOS] Set AutomationID

* [UITests] Add ActionSheetUITests to MacOS UITest

* [MacOS] Fix bug on Picker

* [UITests] Link basic uitest basefixture and related files

* [MacOS] Fix pickers reuse

* [UItests] Fix MacOS app path

* [UITest] Ignore UItest for appearing on macOS for now

* [UITest] Update macOS for 2.0.3

* [UITest] Refactor EnterText MacOS app

* [UITest]Fix ViewQuery on MacOS

* [UITest]Fix IsEnabled UItest on macOS

* [UITest] Implement Enter, mark some tests inconclusive fix others

* [MacOS] Implement Entry Completed event

* [UITests] Fix UITest for IsVisible, ignore ToolbarItem test for now

* [UITests] Fix ISVisible again add extra category

* [Controls] Cleanup macOS gallery

* [MacOS] Fix Assembly info

* [Docs] Fix docs

* Fix build

* [Nuget] Fix nuspec

* [Controls] Link files on MacOS

* [Core] Update Forms stack before firing a event saying page was removed, possible breaking change

* [MacOS] Implement RemovePage on NavigationPAgeRenderer

* [UItest] Ignore some , implement back on MacOS UITest app

* [MacOS] Add default back button name (needs to be translated)

* [MacOS] Fix dispose

* [UITest] Make 29257 work on MacOS

* [MacOS] Rename stuff

* [MacOS] More renaming and cleanup

* [MacOS] Share implementations for iOS

* [MacOS] Reuse more IOS extensions

* [MacOS] Reuse FontExtensions

* [MacOS] Share NativeViewWrapper related stuff

* [MAcOS] Share event args and ExportRenderer

* [MacOS] Share platform effect

* [MacOS] Fix build

* [Docs]Fixing docs

* [MacOS] Fix ViewCell reuse

* [Core] Support ListView CachingStrategy on MacOS

* [MacOS] Fix issues with TextCell and ImageCell (we can’t set null to a NSControl value)

* [MacOS] Fix MDP child sizing bug
[UITest] Query marked by id and text

* [MacOS] Comment test related with context actions

* [MacOS] Implement missing stuff on ticker

* [MacOS] Make sure VisualElemenTracker calls the ticker update

* [UITests]Ignore context actions and not possible to test

* [MacOS] Fix Grouping bug on Listview

* [MacOS] Fix selection on Listview when using grouping

* [MacOS] Update navbar when page is popped

* [MacOS] Cleanup NavigationBar

* [Controls] More info on exceptions

* [MacOS] Fix bug animation pop modal

* [MacOS] Bring back BackgroundColor of NavigationBar

* [MacOS] Fix UITest animation delay

* [MacOS] Treat warnings as errors

* [MacOS] Center title on toolbar

* [Core] Add Platform configuration specific for MacOS

* [MacOS] Implement TabbedPage platform specific to handle TabItems on NavigationPage bar

* [MacOS] Fix warning

* [MacOS] Fix bug on SearchBar color

* [MacOS]Fix build

* [MacOS] remove extra dll from maps

* [Docs] Update docs

* [MacOS]Cleanup and refactoring

* Revert "[MacOS] remove extra dll from maps"

This reverts commit 73b948937001fea3f28449a963d0b94943e07aa0.

* [MacOS] Fix wrong refactoring

* [MacOS] Remove gallery and uitest project

* [MacOS] dix formatting

* [MacOS] Remove extra stuff

* Merge branch 'master' into macOS-gallery

* [MacOS] Fix rebase

* [MacOS] Fix TargetPlatform

* fix docs

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [MacOS] Make sure we show the previous page when popping a Modal

* [MacOS] Fix issue with sizing the Header and visibility, remove for now header renderer reuse

* [MacOS] Clean CustomNSTableView

* [MacOS] Share LabelRenderer with iOS

* [MacOS] Share ResourcesProvider with iOS

* [MAcoS] Share VisualElementPackager with iOS

* [MacOS] Share ViewRenderer with iOS

* [MacOS] Merge with VisualElementTracker from iOS

* [MacOS] Merge with EventTracker from iOS

* [MacOS] Merge with VisualElementRenderer of iOS

* [MacOS] Make sure we always have a layer

* [MacOS] Fix Tracker merge with iOS version

* [MacOS] Fix bug with tabbed page on modal without navigation

* [Core] Rever change on core

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [MacOS] Fix ListViewRenderer

* [MacOS] Make sure we don’t pass null to TextField string value

* [MacOS] Support for multiple clicks in same selected item on NSTableView

* [MacOS] Support Focus on EntryRenderer

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (#705)

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer

* Coding Style

* Coding Style

* [MacOS] Fix previous merge with master

* [MacOS] Possible simple fix for click on views overlapping

* [MacOS] Rename to IsOnViewCell

* [MacOS] Cleanup, Address feedback from Samantha’s review
2017-01-26 15:33:15 +00:00
adrianknight89 24d8dab897 [iOS] Platform specifics for controlling Picker SelectedIndex change behavior (#540)
* picker selected index could change when picker view is dismissed

* use enum
2017-01-04 13:11:09 +00:00
Kangho 1c5de53573 Add Tizen to TargetPlatform (#590)
* Add Tizen to TargetPlatform

* Adds Device.OnPlatform methods having Tizen
2016-12-14 13:24:59 -08:00
Paul DiPietro b2e2a8ff2a Platform specifics naming adjustments (#526) 2016-11-18 13:38:30 +01:00
Samantha Houts 20adf7ec74 [iOS] Add Platform Specific option to not adjust the status bar text color based on the luminosity of the NavigationBar text color (#517)
* Add reproduction for 37431

* [Core] Add iOS PS StatusBarTextColorMode

* [iOS] Implement StatusBarTextColorMode on NavPage

* Add reproduction for 44777

* Add instructions to 44777 repro

* Update docs
2016-11-16 12:14:00 -08:00
Paul DiPietro 98235e0eea [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation (#463)
* [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation

* Update docs
2016-11-16 11:02:54 +01:00
adrianknight89 04cc360a39 [Android] Show keyboard on app resume if control has focus (#480)
* show keyboard on resume if control has focus

* refactor

* changed property name
2016-11-15 11:30:23 -08:00
Samantha Houts fc74c65e8e [Win] Toolbar placement works with initial value (#488)
* Defer UpdateToolbarPlacement until CommandBar is in the control hierarchy

* Cleanup
2016-10-26 20:02:14 +01:00
Paul DiPietro 8d03598812 [iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on Entry (#429)
* [iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on Entry

* Update docs
2016-10-20 15:17:00 -05:00
Paul DiPietro 4042f39f00 [Android] Add Platform Specific features for setting TabbedPage swipe paging and OffscreenPageLimit (#409)
* [Android] Add Platform Specific feature for setting TabbedPage swipe paging

* [Android] Add Platform Specific feature for OffscreenPageLimit

* Update docs
2016-10-20 15:01:50 -05:00
Samantha Houts d16f3550dc [Android App Compat] Can opt out of sending Appearing/Disappearing events on 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 12:57:15 -07:00
Samantha Houts 5e553f6195 Platform Specifics (#301)
* 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-30 10:46:14 -07:00