This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmpiricalFontSizePage : ContentPage | |
{ | |
Label label; | |
public EmpiricalFontSizePage() | |
{ | |
label = new Label(); | |
Padding = new Thickness(0, Device.OnPlatform(20, 0, 0), 0, 0); | |
ContentView contentView = new ContentView | |
{ | |
Content = label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FontCalc | |
{ | |
public FontCalc(Label label, double fontSize, double containerWidth) | |
: this() | |
{ | |
// Yazı tipi boyutunu kaydedin. | |
FontSize = fontSize; | |
// Label yüksekliğini yeniden hesaplayın. | |
label.FontSize = fontSize; | |
SizeRequest sizeRequest = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ErişebilirlikTestPage : ContentPage | |
{ | |
public ErişebilirlikTestPage() | |
{ | |
Label testLabel = new Label | |
{ | |
Text = "FontSize 20" + Environment.NewLine + "20 karakter arasında", | |
FontSize = 20, | |
HorizontalTextAlignment = TextAlignment.Center, | |
HorizontalOptions = LayoutOptions.Center, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection.Emit; | |
using System.Text; | |
using Xamarin.Forms; | |
namespace Clock | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TahminiFontSizePage : ContentPage | |
{ | |
Label label; | |
public TahminiFontSizePage() | |
{ | |
label = new Label(); | |
Padding = new Thickness(0, Device.OnPlatform(20, 0, 0), 0, 0); | |
ContentView contentView = new ContentView | |
{ | |
Content = label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/topLayout" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:keepScreenOn="true"> | |
<VisionSample.CameraSourcePreview | |
android:id="@+id/preview" | |
android:layout_width="match_parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Android.App; | |
using Android.Content; | |
using Android.OS; | |
using Android.Runtime; | |
using Android.Views; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FontSizesPage : ContentPage | |
{ | |
public FontSizesPage() | |
{ | |
BackgroundColor = Color.White; | |
StackLayout stackLayout = new StackLayout | |
{ | |
HorizontalOptions = LayoutOptions.Center, | |
VerticalOptions = LayoutOptions.Center | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MetricBoxViewPage : ContentPage | |
{ | |
public MetricBoxViewPage() | |
{ | |
Content = new BoxView | |
{ | |
Color = Color.Accent, | |
WidthRequest = 64, | |
HeightRequest = 160, | |
HorizontalOptions = LayoutOptions.Center, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BoyutuNePage : ContentPage | |
{ | |
Label label; | |
public BoyutuNePage() | |
{ | |
label = new Label | |
{ | |
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)), | |
HorizontalOptions = LayoutOptions.Center, | |
VerticalOptions = LayoutOptions.Center |
NewerOlder