我想实现这样的效果,请教下应该如何做:
其中原图 是:我想到的是在layout放一个textview,在textview的背景设置为 主要图片,这样可以写文字.问题是: 我暂时没有想好怎么把 "X"这个图标放到左上角去,请教下大家有什么好版本,谢谢了!
其中原图 是:我想到的是在layout放一个textview,在textview的背景设置为 主要图片,这样可以写文字.问题是: 我暂时没有想好怎么把 "X"这个图标放到左上角去,请教下大家有什么好版本,谢谢了!
解决方案 »
- 我要做一个“甩一甩”这样的应用,请问下这其中的传感器怎么设置呢?
- 一个关于addContentView()加进去的view的布局问题
- android程序产生随机数有问题
- 如和实现这样一个效果(透明悬浮)
- android正式发布产品的步骤
- Canvas.drawBitmap问题
- android端报:cannot find dispatch method,纠结了好几天了
- gallery android:targetSdkVersion view显示不同
- 怎么在tabhost 中添加一个listview
- 关于APP不同手机兼容性问题,新手,急
- 求高手,关于手机锁屏后Activity的运行?
- 关于安卓的PPP拨号
http://gundumw100.iteye.com/blog/896923
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" > <ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/main_channel_config"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp" /> <ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/main_delete"
android:layout_gravity="left|top"/>
</FrameLayout>呵呵,谢谢了,结贴!