CaptionText not showing
mahendraleo4 opened this issue · 3 comments
I am using v2.3.0 of signaturePadView fo native android project in xamarin.
My whole project in landscape mode .
on signaturePadView CaptionText and prompt not showing
my xml ->
<xamarin.controls.SignaturePadView
android:id="@+id/signatureTheripist"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="1dp"
android:background="@color/White" />
class code->
signaturePadView.SetBackgroundColor(Color.ParseColor(Resources.GetString(Resource.String.KEY_WHITE)));
signaturePadView.StrokeColor = Color.Black;
signaturePadView.ClearLabel.Text = "";
signaturePadView.StrokeWidth = 7;
signaturePadView.ClearLabel.SetBackgroundResource(Resource.Drawable.delete);
signaturePadView.ClearLabel.Visibility = ViewStates.Visible;
signaturePadView.CaptionText = "Sign here.";
signaturePadView.Caption.Visibility = ViewStates.Visible;
signaturePadView.SignaturePromptText = "X";
signaturePadView.ClearLabel.Click += ClearLabel_Click;
Try to update to latest
Thank you @Weldryn update SOLVE my issue.
@mahendraleo4 Please close the issue