Is there any nuget for Rounded Entry Borders in Xamarin Forms ?

Endrit14Endrit14 Member ✭✭✭

I tried all the tutorials with custom renderer and I always have errors like constructor is version 2.5 etc ... Is there any other way to do rounded entry borders ?

Answers

  • seanydaseanyda GBMember ✭✭✭✭✭

    You could try this
    https://www.nuget.org/packages/Xam.Plugins.Forms.RoundedBoxView/

    but its easy enough to fix that error, You just need to edit the constructor line to this
    public RoundedBoxViewRenderer(Context context) : base(context)

  • AndreiMisiukevich_AndreiMisiukevich_ USMember ✭✭✭✭

    Put you entry into Frame (Padding = 0)

  • Endrit14Endrit14 Member ✭✭✭

    @seanyda said:
    You could try this
    https://www.nuget.org/packages/Xam.Plugins.Forms.RoundedBoxView/

    but its easy enough to fix that error, You just need to edit the constructor line to this
    public RoundedBoxViewRenderer(Context context) : base(context)

    Can you explain me more in detail what ?

  • seanydaseanyda GBMember ✭✭✭✭✭

    @Endrit14 said:

    @seanyda said:
    You could try this
    https://www.nuget.org/packages/Xam.Plugins.Forms.RoundedBoxView/

    but its easy enough to fix that error, You just need to edit the constructor line to this
    public RoundedBoxViewRenderer(Context context) : base(context)

    Can you explain me more in detail what ?

    Add this below line 22
    public CustomEntryRenderer(Context context) : base(context) { }

  • Endrit14Endrit14 Member ✭✭✭
    edited July 2018

    I fixed it , Thank you !

  • hudhud3101hudhud3101 Member ✭✭

    @seanyda said:

    @Endrit14 said:

    @seanyda said:
    You could try this
    https://www.nuget.org/packages/Xam.Plugins.Forms.RoundedBoxView/

    but its easy enough to fix that error, You just need to edit the constructor line to this
    public RoundedBoxViewRenderer(Context context) : base(context)

    Can you explain me more in detail what ?

    Add this below line 22
    public CustomEntryRenderer(Context context) : base(context) { }

    I am getting these errors

    Severity    Code    Description Project File    Line    Suppression State
    Error       The "ResolveLibraryProjectImports" task failed unexpectedly.
    System.IO.FileNotFoundException: Could not load assembly 'WeHelp.iOS.exe, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
    File name: 'WeHelp.iOS.exe.dll'
       at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
       at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
       at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments)
       at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() WeHelp.Android          
    

    And this

    Severity    Code    Description Project File    Line    Suppression State
    Error   NU1201  Project WeHelp.iOS is not compatible with monoandroid80 (MonoAndroid,Version=v8.0). Project WeHelp.iOS supports: xamarinios10 (Xamarin.iOS,Version=v1.0)    WeHelp.Android  C:\Users\HH-PC\Documents\Source\Repos\WeHelp\WeHelp\WeHelp\WeHelp.Android\WeHelp.Android.csproj
    
Sign In or Register to comment.