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

50 Коммитов

Автор SHA1 Сообщение Дата
yourina 8de35fc3a4 [Tizen] Support the Keyboard, MaxLength, IsSpellCheckEnabled, IsReadOnly propertyon SearchBarRenderer (#5688) fixes #2902 2019-03-27 11:20:56 +00:00
Seungkeun Lee 07ada19a7d [Tizen] Add CollectionView Tizen Renderer (#5364) fixes #3172
* [Tizen] Add CollectionView Tizen Renderer (#259)

* Tizen CollectionView implementation initial commit

 - first working version
 - only support LinearLayout(listview)

* Add more feature

 * Implement INotifyCollectionChanged
 * Implement EmptyView

* Implemnt SnapPoints, ScrollTo

* Fix MakeVisible option

* Add GridLayoutManager (#271)

* Fix GetScrollCanvasSize issue

* Enhance ItemAdaptor

 - Measure Item size with data binding
  Item size is determined with first item
 - Extract ItemDefaultTemplateAdaptor from ItemTemplateAdaptor

* Remove debug message

* Implement SelectableItemsView

* Fix ghost view issue

* Fix TV profile button effect issue

* Clean up code space and refactoring ScrollTo method

* Fix collectionView emptyview (#277)
2019-03-14 11:14:06 +00:00
Seungkeun Lee 1387919272 [Tizen] Fix CarouselPage focus issue (#5483) 2019-03-07 09:51:45 -08:00
Almir Vuk 5001460dd2 [Enhancement] Entry: Read-only Entry and Editor (#1972)
- fixes #1678
- fixes #4834

* InputView BindableProperty IsReadOnly

* Android Editor and Entry setup

* MacOS Editor and Entry setup

* Tizen Editor and Entry setup

* UAP Editor and Entry setup

* WPF Editor and Entry setup

* iOS Editor and Entry setup

* Issue1678 - TestContentPage added

* Tests added

* Tizen Editor and Entry fix

* UI Test fix

* Android fix for Entry and Editor.

* Unit Tests fix.

* Android Renderer first try.

* MacOS Entry renderer small fix.

* UpdateEditable fix.

* Android Entry and Editor reduced number of calls to BP.

* fix TestAttributes conflicts

* Remove keyboard

* [macOS] relinquish first responder

* [Android] remove call to UpdateCursorSelection

* [UWP] fix tabs
2019-01-10 09:21:28 -07:00
Kangho Hur 2a0b34458b [Tizen] Supports Picker.TitleColor, FontSize, FontFamily and FontAttributes (#4839) 2018-12-21 10:04:30 +01:00
Matthew Richardson 1e116658a1 [Enhancement] Add drag started and completed events/commands to Slider (#4423) fixes #1450
* Implement DragStarted and DragCompleted events/commands in Slider.

* Add Tizen support.

* Use explicit interface implementation.

* Fix unit tests.

* Update Xamarin.Forms.Core/ISliderController.cs

Co-Authored-By: velocitysystems <matthew@velocitysystems.co.nz>

* Fix whitespace.

* Add missing namespace import
2018-12-04 19:08:13 +00:00
Seungkeun Lee d6ddd53ed5 Add ImageButton Renderer on Tizen (#4436) 2018-11-16 11:00:45 +00:00
shmin 86d4d43a67 [Tizen] Fix ToolbarItem (#4416) 2018-11-15 13:00:06 +00:00
WonYoung Choi dd0bb71ace [Tizen] Cleanup Code (#4080) 2018-10-15 16:42:54 +01:00
Andrei N afc037ffec Added WebView Reload (#4013) fixes #3776
* Added WebView Reload

* WebView Reload Added Tizen suport
2018-10-13 20:53:46 -04:00
Seungkeun Lee 671fef643b [Tizen] Add TabIndex implement for Tizen renderer (#4046) 2018-10-10 13:12:42 -04:00
Jay Cho b2a46ae62a Fix ActivityIndicator.IsRunning state (#4007) 2018-10-05 11:10:09 -07:00
Seungkeun Lee e8051310e3 Fix ScrollView Padding issue (#3685) 2018-08-31 12:33:30 +01:00
yourina 0d6559c31d Support the TitleView of NavigationPage (#3536) fixes #1716 2018-08-17 10:37:53 +01:00
flyofsky c46e5dc90d Add Caret position for Tizen (#3255) Fixes #1667. 2018-08-07 16:58:41 +01:00
sung-su.kim 13ab34ae23 [Tizen] Fix minor bugs on CarouselPage and ActivityIndicator (#3473)
* Fixed CarouselPage behavior

* Fixed ActivityIndicator.IsRunning condition
2018-08-06 19:45:53 +01:00
Alan Grgic 97d2f30f6b [Enhancement] Allow underline and strikethrough text decorations on labels and spans (#2221)
* Fixes #1632

* Allow underline and strikethrought text decorations on labels and spans

* revert some files

* pr feedback adjustments

* remove docs

* rename interface

* reorder enum

* clean up whitespace

* adjust tizen renderer

* add gallery demo for setting both underline and strike

* allow multiple values of enum to be set in xaml/css

* use normal null check

* use nameof

* include paragraph style

* tab alignment

* rebase from upstream

* pass control to update method on UWP

* correct text decorations type converter

* reset run text instead of label text on UWP when spans are used

* add tests for text decoration converter
2018-07-20 17:57:11 -06:00
Kangho 2cf3cf8b08 [Tizen] Rename EvasObjectWrapper to NativeViewWrapper (#3047) 2018-06-16 23:55:26 +01:00
shmin c5b97ce15e Refactoring SearchBar (#3013) 2018-06-12 09:55:10 -07:00
yourina 84b81154dc [Tizen] Enhancement serveral Rendereres for Watch on Tizen (#2970) 2018-06-07 10:54:46 -07:00
Kangho 4f9359a0ab [Tizen] Ensures various button styles work well on watch (#2967) 2018-06-07 00:53:54 -07:00
Kangho 81134f75c9 [Tizen] Remove legacy tizen specific available condition (#2878) 2018-06-05 14:43:39 -07:00
Seungkeun Lee c464e5214e [Tizen] Enhancement WebView Renderer (#2860)
- Support Focus
 - Support GestureRecognizers
2018-05-30 17:34:52 +01:00
Seungkeun Lee fcaee1dc5b [Tizen] Add Date/TimePickerRenderer for Watch idiom (#2862) 2018-05-30 12:16:09 +01:00
Seungkeun Lee 4df442f5fb [Tizen] Fix minor bugs (#2830)
- BoxView geometry issue
 - IsFocusAllowed platform specific issue
 - PropagateEvents Issue
2018-05-25 15:37:13 +01:00
Seungkeun Lee ea4badff2e [Tizen] Add PlaceHolder implementation on Editor (#2807) 2018-05-23 10:17:57 +02:00
Seungkeun Lee aa5bc30d87 [Tizen] Support LineHeight on Label,Span (#2808) 2018-05-23 10:17:32 +02:00
Seungkeun Lee 31c432c5dd [Tizen] Add CornerRadius implementation on BoxView (#2806) 2018-05-23 09:32:08 +02:00
Kangho 24dbbff104 [Tizen] ScaleX and ScaleY (#2622) 2018-05-08 11:34:54 +02:00
Kangho c320674f9a [Tizen] Supports Switch.OnColor to tizen (#2468) 2018-04-23 19:35:06 +01:00
Kangho Hur 8c551aaa2d Fix TabbedPage changing issue 2018-04-10 17:48:53 +09:00
Kangho Hur 1c30add8c8 Fix ScrollView padding issue
- ScorllView.Margin and Padding works correctly
2018-04-06 14:01:00 +09:00
Kangho Hur a032c251bb [Tizen] Support the ListView.SelectionMode property 2018-03-29 10:23:00 +09:00
Alan Grgic 578c0eb23a [Enhancement] Add EvaluateJavaScript method to WebView (#2140)
* Add EvaluateJavaScript method to return string result of js calls

* add docs

* account for some quirks between platforms

* cleanup

* edge cases, standardization, and error handling

* early escape

* add null check

* fix code styles

* clarify sort

* code styles adjustment and null check
2018-03-22 10:20:47 -07:00
Seungkeun Lee 8de76f45bc Enable Entry.IsTextPredicationEnabled property on Tizen 2018-03-22 10:43:19 +09:00
Kangho Hur cebb368a36 [Tizen] Change the appearance of Entry/Editor even better 2018-03-21 08:15:20 +09:00
Seungkeun Lee 09593fb923 Enable KeyboardFlags and IsSpellCheckEnabled in Tizen renderer 2018-03-16 13:10:07 +09:00
Rui Marinho 2f1f3e92e3
[Enhancement] Entry ReturnType (#2029)
* [Core] Add ReturnType to Entry

* [Controls] Add Entry ReturnType gallery

* [Android] Entry ReturnType implementation

* [iOS] Entry ReturnType implementation

* [Docs] Docs for ReturnType

* [UWP] Entry ReturnType implementation

* [Core] Make sure we respect command CanExecute fixes #1697

* [Docs] Fix docs

* [Tizen] Entry ReturnType implementation

* [Core] Add missing defaults to BP on entry

* [Tests]Add unit test to entry Returntype command

* [iOS,Android,Tizen,UWP] Better Exception for ReturnType

* [Android] Handle completed event with new return type

* [ControlGallery]Fix ReturnType example

* [UnitTests] Remove extra Test attribute
2018-03-15 10:29:08 +00:00
Kangho 4e902c67b4 Support to change color on Slider for tizen backend (#2072) 2018-03-12 09:42:11 +01:00
Kangho 1a00ac0b1d [Tizen] Refactor the GestureDetector (#2059) 2018-03-08 19:19:18 -08:00
Adam e42bd62fb5 [All] Bindable span (#1850)
* Bindable Text Property on Span

* Style applied to Span

* Added style property

* Unit tests added

* Minor fix and cleanup

* Cleanup of code after review

* Updated docs

* Set Parent and reduce calls to Text property

* OneTime Binding

* Allow OneTime Binding as a default

* Updated docs
2018-03-08 15:50:28 -08:00
Kangho 051700fd14 Enhance the button renderer of tizen backend (#1981) 2018-02-27 18:40:08 +00:00
Brian Macomber c96640d00c [Core, iOS, Android, UWP, WPF] Hide scroll view scroll bars (#1910)
* Initial Commit

* Initial Commit

Added setting the initial state of H and V Scroll bar visibility on Android

Added WPF support

Fixed a copy/paste of Upw that should be Wpf

Added GTK and MacOS.

Plus a minor addition to iOS

Added Tizen support

I am unable to test as I can not get Tizen working in my envrionment at the moment

* Added setting the initial state of H and V Scroll bar visibility on Android

* Added WPF support

* Fixed a copy/paste of Upw that should be Wpf

* Added GTK and MacOS.

Plus a minor addition to iOS

* Added Tizen support

I am unable to test as I can not get Tizen working in my envrionment at the moment

* Changes from review

* Update ScrollViewRenderer.cs

* add small WPF performance improvement

* add docs

* fix bad merge

* light refactor (macOS)

* spaces -> tabs

* more spaces -> tabs

* account for Android styles when setting default behavior
2018-02-26 13:20:39 -08:00
Kangho efe699907e Support CascadeInputTransparent to Tizen (#1916) 2018-02-21 18:03:45 +00:00
Gerald Versluis 1f770f6588 Implemented MaxLength property on Entry and Editor (#1880)
* Implemented UAP and WPF

* Revert "Implemented UAP and WPF"

This reverts commit e17a66236756021e2b66503281ee3c1cf463e5da.

* Started implementation of #1663

Added MaxLength property on InputView and implemented iOS and Android
Entry and Android Editor

* Implemented iOS Editor

* Improved Android MaxLength

First check to see if there is a LengthFilter in there already and
remove that first

* Implemented GTK naming enhancement for iOS

* Implemented UAP and WPF

* Implemented Tizen

* Removed Linq and implemented forgotten method 😅

* Fixed whitespaces -> tabs

Except GTK, seems everything is spaces there, so kept it for consistency

* Added null guard for iOS

* Implemented Mac OS

* Added samples to gallery

* Polished Tizen implementation

* Tizen EditorRenderer updated and converted more whitespaces to tabs

* Fixed spaces to tabs and usage of nameof

* Added trimming of current text when MaxLength is less than current value length

* Reference right Entry for Tizen

* Trimming on MaxLength change for Tizen

* Trimming on MaxLength change for GTK

* Removed redundant GetValue calls and whitespace fiesta

* And the ones I missed

* Updated the docs

* Revert "Updated the docs"

This reverts commit 416e28706ab921d72e72ebc6488d4b3c4651a384.

* Updated docs just for InputView
2018-02-19 14:27:27 -08:00
Francesco Bonacci 58d56d02c8 Add ProgressColor on ProgressBar (#1861) 2018-02-15 12:10:40 +00:00
Kangho 252adc3667 [Tizen] Slightly enhance tizen backend (#1800)
* Add IVisualElementRenderer.GetNativeContentGeometry

- GetNativeContentGeometry can be used to compute position of content.
- It can fix invalid layout by root content that is not placed in (0,0)

* Update focus policy explitly on MasterDetailPage

- IsPresentedChangedEventArgs has been added.

* Fixed renderer creation order

- Fixed an issue where the current page location of CarouselPage changes when changing device orientation

* Add static Forms.MainWindow Property

* Fix ScrollView.ScrollToAsync doens't work

* Fix MasterDetail crash issue

- When MasterBehaivor was changed, does not working anymore Because wrong property update
- Fix Layout issue when MasterBehavior was changed LayoutCallback was not called because geometry was not changed

* Allow to user can change MasterPage ratio

- To change the ration of MasterPage, use UpdateMasterPageRatio() in derrived renderer of MasterDetailPageRenderer.

* Fix ViewInitialized event processing

* Dispose modal renderer correctly

* Fixed issue the button's of Date/TimePicker can not be selected.

* Fix black scrren issue when application initialize

* Refactoring DeviceOrientation for tizen backend

- Use Device.Info.CurrentOrientation in MasterDetailPage
- Orientation was decided by device screen ratio
- PortraitXXX/LandscapeXXX was not used because it only defeind in iOS devices

* Fix Date&TimePicker to get focused on TV

- This commit includes the behavior change of Native.Editfield.
- Text Input is activated when user select the field when it has focus on.

* Fixed the Appearing / Disappearing Event Handling of Pages

- Fixed a problem where Focus is moved to a page other than the current Page of TabbedPage & CarouselPage
- Fixed an issue where Appearing & Disappearing Event of Master / Detail of MasterDetailPage was not called

* Fix MasterDetailPage crash issue

* Change API visibility of Forms's utility methods into public

* Remove VisualElementRenderer.DoLayout to avoid any confusion

* Refactor CellRenderer's implementation

* Fix Completed event routine for Entry & Editor

* Implement TizenPlatformServices.OpenUriAction

* Refactor Platform, Forms and FormsApplication in Tizen backend

* Refactor platform more flexible

* Add LightweightPlatform
2018-02-07 10:33:14 +00:00
Kangho 3490f61c65 Support Page embedding to Tizen backend (#1506) 2018-01-08 19:19:19 +00:00
Mohamed CHOUCHANE 66b6f9f482 [WPF, GTK, TIZEN] Replace obsolete OutlineColor by BorderColor (#1443) 2017-12-21 09:18:07 +01:00
Kangho be52bc6b12 Add Tizen backend (#1310) 2017-12-04 14:30:43 +00:00