xamarin中文本框末尾的图像自动完成
成功添加自动文本,如何根据文本框末尾的文本动态添加图像?xamarin中文本框末尾的图像自动完成,xamarin,autocomplete,android-image,Xamarin,Autocomplete,Android Image,成功添加自动文本,如何根据文本框末尾的文本动态添加图像? 在autocomplete中添加图像和文本的方法是什么 TextView editText=findviewbyd(Resource.Id.toStation);//设置左侧、顶部、右侧和底部的可绘制内容-发送0 for nothing editText.SetCompoundDrawableSwithinInstructBounds(0,0,Resource.Drawable.FavoritesIcon,0); // S
在autocomplete中添加图像和文本的方法是什么
TextView editText=findviewbyd(Resource.Id.toStation);//设置左侧、顶部、右侧和底部的可绘制内容-发送0 for nothing editText.SetCompoundDrawableSwithinInstructBounds(0,0,Resource.Drawable.FavoritesIcon,0);
// Set drawables for left, top, right, and bottom - send 0 for nothing
editText.SetCompoundDrawablesWithIntrinsicBounds(0,0,Resource.Drawable.FavoritesIcon, 0);