Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

1.1.0 Pre Release 5

Pre-release
Pre-release
Compare
Choose a tag to compare
@rookiejava rookiejava released this 12 Mar 03:39
· 12 commits to master since this release
8dd7971

Nuget

  • Common UIControls
    • Nuget package here.
  • TV.UIControls
    • Nuget package here.

Important Notice 📢

  • Introduce to Tizen.Theme.Common (Common UI) 🎉
    • The Tizen.Theme.Common has been newly added to provide advanced UI controls (such as ContentButton, ContentPopup, ShadowFrame and so on) that can be used in common (not present in the UX of a specific product).
    • For this reason, the common UI controls that were provided in the existing TV.UIControls are deprecate and can be used through the Tizen.Theme.Common. See below for detailed changes.

Getting Started with Tizen.Theme.Common

  1. How to Init
    It is same as initializing the Tizen.TV.UIControls.
CommonUI.Init(app);

// Or, you can use InitOptions as followings. 
// Make sure that Tizen.Theme.Common.InioOptions. (not Tizen.TV.UIControls.InitOptions)
CommonUI.Init(new InitOptions(app));
  1. Load the common theme
    If you want each control to be applied in the look & feel defined in the common theme file, load it as below.
CommonUI.AddCommonThemeOverlay();

⚠️ To make it work properly, CommonUI.AddCommonThemeOverlay() should be called after other's Init including Forms.Init() and UIControls.Init().

⚠️ If you want the look and feel of the basic control to be defined according to the platform/product theme rather than the common theme, you can omit CommonUI.AddCommonThemeOverlay().

Deprecated APIs Migration Guide ⚡ ⚡ ⚡

The following classes are deprecate from Tizen.TV,UIControls 1.1.0, and no longer be supported in the future.
Instead, these are provided through the Tizen.Theme.Common. Please refer to the migration guide below for details.

  • Tizen.TV.UIControls.Forms.AnimatablePageTizen.Theme.Common.AnimatablePage
  • Tizen.TV.UIControls.Forms.AnimatedContentPageTizen.Theme.Common.AnimatedContentPage
  • Tizen.TV.UIControls.Forms.AnimatedNavigationPageTizen.Theme.Common.AnimatedNavigationPage
  • Tizen.TV.UIControls.Forms.ContentButtonTizen.Theme.Common.ContentButton
  • Tizen.TV.UIControls.Forms.ContentPopupTizen.Theme.Common.ContentPopup
  • Tizen.TV.UIControls.Forms.ContentPopupManagerTizen.Theme.Common.ContentPopupManager
  • Tizen.TV.UIControls.Forms.EmbeddingControlsTizen.Theme.Common.EmbeddingControls
  • Tizen.TV.UIControls.Forms.EmbeddingControlsConverterTizen.Theme.Common.EmbeddingControlsConverter
  • Tizen.TV.UIControls.Forms.FileMediaSourceTizen.Theme.Common.FileMediaSource
  • Tizen.TV.UIControls.Forms.FileMediaSourceConverterTizen.Theme.Common.FileMediaSourceConverter
  • Tizen.TV.UIControls.Forms.FocusFrameTizen.Theme.Common.FocusFrame
  • Tizen.TV.UIControls.Forms.GridViewTizen.Theme.Common.GridView
  • Tizen.TV.UIControls.Forms.GridViewItemFocusedEventArgsTizen.Theme.Common.GridViewItemFocusedEventArgs
  • Tizen.TV.UIControls.Forms.IContentPopupRendererTizen.Theme.Common.IContentPopupRenderer
  • Tizen.TV.UIControls.Forms.IGridViewControllerTizen.Theme.Common.IGridViewController
  • Tizen.TV.UIControls.Forms.IPlatformMediaPlayerTizen.Theme.Common.IPlatformMediaPlayer
  • Tizen.TV.UIControls.Forms.IVideoOutputTizen.Theme.Common.IVideoOutput
  • Tizen.TV.UIControls.Forms.MediaPlayerTizen.Theme.Common.MediaPlayer
  • Tizen.TV.UIControls.Forms.MediaSourceTizen.Theme.Common.MediaSource
  • Tizen.TV.UIControls.Forms.MediaSourceConverterTizen.Theme.Common.MediaSourceConverter
  • Tizen.TV.UIControls.Forms.MediaViewTizen.Theme.Common.MediaView
  • Tizen.TV.UIControls.Forms.OverlayMediaViewTizen.Theme.Common.OverlayMediaView
  • Tizen.TV.UIControls.Forms.OverlayPageTizen.Theme.Common.OverlayPage
  • Tizen.TV.UIControls.Forms.PlaybackStateTizen.Theme.Common.PlaybackState
  • Tizen.TV.UIControls.Forms.UriMediaSourceTizen.Theme.Common.UriMediaSource

New Controls 🎉

[CommonUI] ShadowFrame (#87)

  • ShadowFrame is a Frame that allows you to customize the border and shadow related properties.
Property Description Remark
CornerRadius Each individual corner's radius. Frame.CornerRadius is ignored.
BorderWidth The width of frame border. The default value is 1.0.
ShadowColor The color of shadow. The default value is #3E000000.
ShadowOpacity The opacity of shadow. The default value is 0.24.
ShadowBlurRadius The radius of shadow blur effect. The default value is 10.0.
ShadowOffsetX The x-axis offset of shadow. The default value is 0.0.
ShadowOffsetX The x-axis offset of shadow. The default value is 8.0.

⚠️ Make sure that in order to use ShadowFrame, you must set UseSkiaSharp to true when Forms.Init().

var option = new InitializationOptions(app)
{
     //Using DP without device scaling mode
    DisplayResolutionUnit = DisplayResolutionUnit.DP(),
    UseSkiaSharp = true
};
Forms.Init(option);

ShadowFrame

Enhancements

  • [CommonUI] Added the ShadowFrame (#87)
  • [CommonUI] Allows Pressed Visual sTate to ContentButton (#86)
  • [Common UI] Added Tizen.Theme.Common project (#83)
  • [TV UI] Supports IsPreviousPageVisible to AnimatedNavigationPage (#82)
  • [TV UI] Remove unused GridViewOrientation (#81)