目录
全屏
标题栏
横竖屏
全屏
方式一:在manifest中设置theme为NoTitleBar.Fullscreen
方式二:在Activity 中写入以下两句话,注意要写在setContentView之前
标题栏
方式一:在manifest中写入
方式二:在activity中写入
横竖屏
横竖屏设置利用screenOrientation属性,在manifest中进行设置
横屏
竖屏
全屏
标题栏
横竖屏
方式一:在manifest中设置theme为NoTitleBar.Fullscreen
方式二:在Activity 中写入以下两句话,注意要写在setContentView之前
方式一:在manifest中写入
方式二:在activity中写入
横竖屏设置利用screenOrientation属性,在manifest中进行设置
上一篇:关于Android开发者的简历
下一篇:Activity的2种启动方式
设计模式-适配器模式
Android程序要在不同尺寸的手机上运行,界面常常变形,有没有什么好的办法可以使程序适应不同尺寸的手机,图片又可以保持原样。 hdpi: 72 x 72mdpi: 48 x 48ldpi: 36 x 36在一些解压出的apk包里面,一般ldp
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M