就是把一个画布和linelayout一块显示在屏幕上
解决方案 »
- ScrollView 和 OnDraw()的问题
- moto手机上的摩托罗拉手机门户,可以在手机构建一个web页面从电脑上访问,请问是怎么实现的呢?
- 求教SQLiteDatabase初始化的问题
- 请教:屏幕显示图片错乱
- apktool反编译时出现arrayindexoutofboundsexception
- android seekbar垂直
- 怎么得到ViewPager里的ListView
- AsyncHttpClient 上传两个以上文件出错 急!
- pull解析xml的问题,为什么解析出来是null
- LBS教程---如何使用Android SDK进行开发
- 查询天气,返回失败
- 蛋疼贴:Android的框架糟透了
android:layout_height="fill_parent" android:layout_width="fill_parent" android:orientation="vertical" android:background="@color/screen_background_black"><com.view.MyView android:id="@+view/MyView" android:layout_width="fill_parent" android:layout_height="fill_parent" /><ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/ImageButton" /></LinearLayout>
注意,在你的myView类中必须要继承 MyView(Context context, AttributeSet attrs) 这个构造函数