信仰

猛图www.omeng.org

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年3月9日

摘要: 这是很常见的布局内容,讲解如下: android:layout_below="@id/label"/>将当前控件放置于id为label 的控件下方。 android:layout_alignParentRight="true"使当前控件的右端和父控件的右端对齐。这里属性值只能为true或false,默认false。android:layout_marginLeft="10dip"使当前控件左边空出相应的空间。 android:layout_toLeftOf="@id/ok"使当前控件置于id为ok的控件的左边 阅读全文
posted @ 2012-03-09 18:31 信仰123 阅读(139) 评论(0) 推荐(0) 编辑

摘要: ImageView iv1 = (ImageView) findViewById(R.id.iv1); Animation animation = (AnimationSet) AnimationUtils.loadAnimation(this, R.anim.rotary_magnify); iv1.startAnimation(animation);<?xml version="1.0" encoding="utf-8"?><set xmlns:android="http://schemas.android.com/apk 阅读全文
posted @ 2012-03-09 11:08 信仰123 阅读(186) 评论(0) 推荐(0) 编辑

摘要: requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 编辑器加载中... 阅读全文
posted @ 2012-03-09 10:52 信仰123 阅读(114) 评论(0) 推荐(0) 编辑

摘要: android:screenOrientation="portrait"禁止横向屏幕 阅读全文
posted @ 2012-03-09 10:44 信仰123 阅读(143) 评论(0) 推荐(0) 编辑

猛图