| B站上有关于这个问题的教程,去搜一下。 |
麒麟软件 发表于 2026-1-22 21:41 谢谢!解决了 |
xiaoya 发表于 2026-1-21 11:43 你要的这个好像正常没有吧,就算有好像也不通用,肯定有版本限制!你可以使用图标设置试试实现 Drawable drawable = ContextCompat.getDrawable(this, R.drawable.ic_person); drawable.setBounds(0, 0, 40, 40); editText.setCompoundDrawables(drawable, null, null, null); // 设置图标和文字间距 editText.setCompoundDrawablePadding(10); 还有一点就是多用用AI,现在想要啥功能基本都能解决!然后嵌入代码就完事 |
先生 发表于 2026-1-21 15:50 。。。。。。 |
blackvolcano 发表于 2026-1-21 15:38 有没有可能是火山安卓,没有MFC界面 |
| 这种就不要用mfc了,exui或者exdui随便搞 |
创世魂 发表于 2026-1-21 11:39 android:drawableStart大佬,这个在火山里面是怎么用的 |
| 编辑框左边放一个图片框。 |
|Archiver|手机版|小黑屋|递归火山软件开发平台
( 鄂ICP备18029190号 )
GMT+8, 2026-3-19 01:53 , Processed in 0.086742 second(s), 23 queries .
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.