diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-02-08 10:17:28 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-04-24 13:36:54 +0900 |
commit | 84180f9380d5e14f17d26d46ec0287695737539e (patch) | |
tree | ba0397a3d912847b40bc63c085e258a04c05d433 /Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj | |
parent | 70b9f6ce1612ad7060a6b0c910a77d86ccadfc31 (diff) | |
download | xamarin-forms-84180f9380d5e14f17d26d46ec0287695737539e.tar.gz xamarin-forms-84180f9380d5e14f17d26d46ec0287695737539e.tar.bz2 xamarin-forms-84180f9380d5e14f17d26d46ec0287695737539e.zip |
Support density independent pixel
- Support Enable/Disable of this feature
- By default, it was disabled. if you want enabling DP support feature,
Use Forms.Init(FormsApplication application, bool useDeviceIndependentPixel) API
- Hard-coded pixel value was changed to DP units
- If you deal with native coordinate, use Forms.ConvertToScaledPixel / Forms.ConvertToScaledDP
- If you convert hard-coded DP to pixels, use Forms.ConvertToPixel
- Update font size convert formula
Change-Id: I345115551e1c37d27b8a7152af5ef847d035c9a4
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj index 0096bc47..c51c4e78 100644 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj +++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj @@ -51,6 +51,7 @@ <Compile Include="Extensions\PlatformConfigurationExtensions.cs" /> <Compile Include="Extensions\ColorExtensions.cs" /> <Compile Include="Extensions\KeyboardExtensions.cs" /> + <Compile Include="Extensions\DensityIndependentPixelExtensions.cs" /> <Compile Include="Extensions\LayoutExtensions.cs" /> <Compile Include="Extensions\NativeBindingExtensions.cs" /> <Compile Include="Extensions\ScrollToPositionExtensions.cs" /> |