Good Day,
Kindly help with the issue below:
I implemented RadAutoCompleteView in my Xamarin.forms application.
It works fine on Android phones and Android tablets.
it works fine on the IOS tablets but failed on ios phones.
The entry input is displayed on IOS phones but the SuggestionItemTemplate does not display.
Kindly help on this issue as below is the name of the package i installed.
Telerik.UI..for,Xamarin.Lite
Hi,
I was trying to replace the 'X' image in 'CloseButton' for the Token, but I cannot remove the original image
This is my code inside of TKAutoCompleteDelegate class:
public class TKAutoCompleteDelegateWrap : TKAutoCompleteDelegate
{
//public List<UserAndGroupResult> UserToSendList { get; set; }
public override void DidAddToken(TKAutoCompleteTextView autocomplete, TKAutoCompleteToken token)
{
var t = ((TKSuggestionListView)autocomplete.WeakSuggestionView).SelectedIndexPath;
var tt = t.Row;
var tt1 = (TKAutoCompleteTokenWrap)token;
Console.Write(tt1.Id);
((TKListView)autocomplete.WeakSuggestionView).ScrollToItem(((TKSuggestionListView)autocomplete.WeakSuggestionView).SelectedIndexPath, UICollectionViewScrollPosition.Top, true);
}
public override void DidSelectToken(TKAutoCompleteTextView autocomplete, TKAutoCompleteToken token)
{
Console.WriteLine();
}
public override void DidAutoComplete(TKAutoCompleteTextView autocomplete, TKAutoCompleteToken token)
{
}
public override void DidRemoveToken(TKAutoCompleteTextView autocomplete, TKAutoCompleteToken token)
{
}
public override TKAutoCompleteTokenView ViewForToken(TKAutoCompleteTextView autocomplete, TKAutoCompleteToken token)
{
TKAutoCompleteTokenView tokenView = new TKAutoCompleteTokenView(token);
tokenView.BackgroundColor = GlobalUI.LABEL_TEXT_COLOR_DARK;
tokenView.TextLabel.Font = UIFont.FromName(GlobalUI.FONT_NEXT, 15);
tokenView.TextLabel.TextColor = StyleKit.White;
tokenView.Layer.CornerRadius = 5;
tokenView.ImageView.Layer.CornerRadius = 3;
TKAutoCompleteTokenRemoveButton _closeBtn = (TKAutoCompleteTokenRemoveButton)tokenView.RemoveButton;
_closeBtn.SetImage(StyleKit.ImageOfX_Ico_White(new CGSize(10,10)), UIControlState.Normal);
return tokenView;
}
}
So, The attached file is showing that I am getting two images over one other.
how can I do to fix that?
Thanks.
the autocomplete textfield seems to come with a border (or margin... or padding...)
looks like a 1 pixel space between the autocomplete control and whatever control comes next under it
how can i get rid of it?
also the clear (x) button of the textfield isnt in the proper location (far right), seems like the textfield is not as wide as the autocomplete control itself...
how would i change it to be full width?
i attached a small picture showing the gaps... the autocomplete control is where "General hospital" is showing
thanks in advance