I have used custom rendering for entry cell in xamarin forms for IOS and android. How can I set left and right padding for the entry cell.
My custom entry cell in PCl :
<local:MyEntryCell Placeholder="Placeholder" PlaceholderColor="Grey" TextColor="Black"/>
MyEntryCell is the custom name of my entry cell.
In my PCL I have:
public class MyEntryCell:Entry
{
}
In IOS:
namespace CustomEntry.IOS
{
public class MyEntryCellRenderer:EntryRenderer
{
// override onElementChanged
}
}
In Android :
namespace CustomEntry.Droid
{
public class MyEntryCellRenderer:EntryRenderer
{
// override onElementChanged
}
}