android – 在EditText中插入多个图像

我正在为聋哑人制作应用程序,因此为应用程序创建了一个特定的键盘.现在,我想在EditText中设置图像,图像是聋哑人使用的符号,我想要这样的东西:
deaf-muet keyboard + EditText

在editText中,我只能设置它引用第一个字母的第一个符号,但我想为每个字母设置许多图像.
我使用了.setCompoundDrawablesWithIntrinsicBounds(),但它只给了我第一个字母.
如何在EditText或ViewText中设置多个图像?

解决方法:

试试这个,我希望它能帮助你

<EditText
    android:id="@+id/editText1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:drawableLeft="@drawable/icon">
</EditText>

您可以尝试同样的事情:

android:drawableRight
android:drawabletop
android:drawableBottom
android:drawablePadding

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...