Stabilisation du projet

master
cldupland 5 years ago
parent 5d0be44a68
commit 774bdb06b2

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="3" android:versionName="2.0" package="com.uca.thegameextreme" android:installLocation="auto">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="4" android:versionName="2.1" package="com.uca.thegameextreme" android:installLocation="auto">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
<application android:label="TheGameExtreme.Android" android:icon="@drawable/TrierImageB"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

@ -14,6 +14,8 @@ namespace TheGameExtreme.view
Dictionary<long, TouchManipulationInfo> touchDictionary = new Dictionary<long, TouchManipulationInfo>();
public CardVM Value;
public string display;
private float width = 0.01f * (float)DeviceDisplay.MainDisplayInfo.Width;
private float height = 0.01f * (float)DeviceDisplay.MainDisplayInfo.Width * 3f;
public TouchManipulationBitmap(SKPaint textPaint, CardVM value)
{
@ -59,7 +61,7 @@ namespace TheGameExtreme.view
textPaint.MeasureText(display, ref textBounds);
SKRoundRect card = new SKRoundRect(textBounds, 1f, 1f);
card.Inflate(0.01f * (float)DeviceDisplay.MainDisplayInfo.Width, 0.01f * (float)DeviceDisplay.MainDisplayInfo.Width * 5f);
card.Inflate(width, height);
canvas.DrawRoundRect(card, textPaint);
canvas.DrawText(display, 0, 0, textPaint);

Binary file not shown.
Loading…
Cancel
Save