Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
xamarin中文本框末尾的图像自动完成_Xamarin_Autocomplete_Android Image - Fatal编程技术网

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);