Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
- remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Mar 31, 2020
1 parent aaa6c97 commit 9f32fb6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Xamarin.Forms.Material.Android/MaterialEntryRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ protected override MaterialFormsTextInputLayout CreateNativeControl()
var view = inflater.Inflate(Resource.Layout.TextInputLayoutFilledBox, null);
_textInputLayout = (MaterialFormsTextInputLayout)view;
_textInputEditText = _textInputLayout.FindViewById<MaterialFormsEditText>(Resource.Id.materialformsedittext);

#if __ANDROID_29__
AndroidX.Core.Widget.TextViewCompat.SetAutoSizeTextTypeWithDefaults(_textInputEditText, (int)AutoSizeTextType.None);
#else
global::Android.Support.V4.Widget.TextViewCompat.SetAutoSizeTextTypeWithDefaults(_textInputEditText, (int)AutoSizeTextType.None);
#endif

//_textInputEditText.AutoSizeTextType = AutoSizeTextType.None;
return _textInputLayout;
}

Expand Down

0 comments on commit 9f32fb6

Please sign in to comment.