1
A
回答
1
在XML中,
<RelativeLayout android:id="@+id/container">*
<TextView ...></TextView> <!-- Your A text -->
</RelativeLayout>
在代码中,
RelativeLayout container = (Rel...) findViewById(R.id.container);
ImageView imgView = new ImageView(this);
// Set Image View params and image and add it programmatically
container.addView(imgView);
+0
感谢的要求,我想有它的一个按钮。 – user1611248 2013-05-13 15:27:07
相关问题
- 1. 安卓图像按钮
- 2. 按钮图像排列交叉图案顶部的文本?
- 3. 安卓双按钮提交
- 4. 安卓后退按钮错误
- 5. 按钮在安卓
- 6. 安卓:错误:(20,51)错误:无法找到符号变量MESSAGE_TEXT
- 7. 错误上按一下按钮在安卓
- 8. 安卓视图用按钮查看
- 9. 安卓:更改按钮插图
- 10. 安卓:错误
- 11. 设置按钮看起来像默认的安卓按钮
- 12. 自定义按钮安卓像媒体播放器按钮
- 13. 图像交换按钮(jquery)
- 14. 提交按钮图像
- 15. 安卓与Eclipse按钮
- 16. 安卓按钮问题
- 17. 安卓幻灯片按钮
- 18. 钛:安卓选项按钮
- 19. 安卓按钮里面PopupWindow
- 20. 画布和安卓按钮
- 21. 在按钮点击(安卓)上更改两个图像
- 22. 安卓工具栏图像居中与导航抽屉按钮
- 23. 错误交叉域
- 24. 安卓尽快添加一个按钮,得到错误
- 25. 安卓GPS次活动错误时,点击下一步按钮
- 26. 科尔多瓦4安卓后退按钮错误
- 27. 长按安卓事件的错误
- 28. 安卓alertdialog错误
- 29. 图像按钮Xml和活动错误
- 30. 按钮图像更改错误
添加一个TextView和ImageView的一个FrameLayout里内 – JiTHiN 2013-05-08 11:59:29