您的位置:首页 > 其它

文章标题

2015-03-05 13:37 176 查看
C 隐藏 collapseColumns=”0”隐藏某列 将第一个隐藏

S

S

orientation=”horizontal”= //方向=“水平的”

stretchColumns=”0” //拉伸 将第一个控件拉伸

shrinkColumns=”0” // 向下拉伸不占其他列 第一个

android:theme=”@android:style/Theme.NoTitleBar.Fullscreen” /* 主题没有标题栏全屏的*/

android:screenOrientation=”landscape” //屏幕横向

android:gravity=”center” 字体剧中

ctrl+f 提换

标题栏 星星 下theme下Theme.NoTitleBar.Fullscreen //没有标题栏屏幕是黑色的 HOLO.lithl 屏幕是白色的

//Drawable 用于垧 的处理 通过file方法将se卡的内容再放入Drawable

//img.setBackground(background);

//用程序自带的DRAWABLE文件夹下图片

//img.setBackgroundResource(R.drawable.a);

//存入一个Bitmap对象 例如照片在我们ANDROID中适用Bitmap来存的

// source t图像来源, x,y在屏幕的坐标 宽度 高度

// Bitmap bm=Bitmap.createBitmap(source, x, y, width, height));

// img.setImageBitmap()

img.setImageResource(R.drawable.a11) //SRC在底层 backgrout 在SRC的上面 img.setBackground(background);

运行时显示”onCreate() onStart() onResume() 退出时执行生命周期方法 void onPause()//暂停 onStop()//停止程序运行 onDestroy()//销毁程序 按HOME键执行的生命周期

设置主键标志

viewInit();//页面初始化方法


ctrl +d 删除某一行 ctrl+l 自动跳到某一行

//意图 启动组建携带数据

Intent intent=new Intent();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: