SDP 1.0.0

Xamarin Android Binding for Scalable dp

Install-Package SDP -Version 1.0.0
dotnet add package SDP --version 1.0.0
<PackageReference Include="SDP" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SDP --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SDP, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SDP as a Cake Addin
#addin nuget:?package=SDP&version=1.0.0

// Install SDP as a Cake Tool
#tool nuget:?package=SDP&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

XA-SDP

Scalable-DP Binding for Xamarin.Android

It provides a new size unit - sdp (scalable dp). This size unit scales with the screen size. It can help Android developers with supporting multiple screens.

How to download

you can download with Nuget Package Manager

Install-Package SDP -Version 1.0.0

How to Use

In your .axml file use as like in the following

<TextView android:id="@+id/give_us_a_review_landmine_text_2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:text="★★★★★"
          android:textColor="#747474"
          android:textSize="@dimen/_22sdp"
          android:textStyle="bold" />

Here, sdp is a size unit and use like here @dimen/_22sdp

XA-SDP

Scalable-DP Binding for Xamarin.Android

It provides a new size unit - sdp (scalable dp). This size unit scales with the screen size. It can help Android developers with supporting multiple screens.

How to download

you can download with Nuget Package Manager

Install-Package SDP -Version 1.0.0

How to Use

In your .axml file use as like in the following

<TextView android:id="@+id/give_us_a_review_landmine_text_2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:text="★★★★★"
          android:textColor="#747474"
          android:textSize="@dimen/_22sdp"
          android:textStyle="bold" />

Here, sdp is a size unit and use like here @dimen/_22sdp

Release Notes

Xamarin Android Binding for Scalable dp

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 1,956 6/25/2017