Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Tizen] Support to Layout Compression #13218

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

rookiejava
Copy link
Collaborator

Description of Change

With this PR, Layout Compression, which is only available on iOS and Android platforms, can also be available on Tizen.

The usage is also the same.

In XAML, layout compression can be enabled by setting the CompressedLayout.IsHeadless attached property to true on a layout class:

<StackLayout CompressedLayout.IsHeadless="true">
  ...
</StackLayout>   

Alternatively, it can be enabled in C# by specifying the layout instance as the first argument to the CompressedLayout.SetIsHeadless method:

CompressedLayout.SetIsHeadless(stackLayout, true);

Please visit here for more information on a Layout Compression.

Issues Resolved

None

API Changes

None

Platforms Affected

  • Tizen

Behavioral/Visual Changes

None

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@rmarinho
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rmarinho rmarinho merged commit 124efe1 into xamarin:5.0.0 Dec 23, 2020
@samhouts samhouts added this to the 5.0.0 milestone Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants