没分了,请大家见谅
解决方案 »
- android下拉ListView效果,如何禁止,进来看看吧!
- android怎么连接网络获取网页内容和提交post?
- 关闭最近执行的APP的系统界面的实现
- android动态显示问题
- 关于mac地址的获取
- 执行ifconfig配置ip后系统死机?
- editText1的OnKey事件为什么执行两次Toast?怎么可以避免
- 为什么我加了log却在日志里面没找到对应的输出??
- 界面上有几种控件:一些Button ,一些TextView , 还有些TexEdit,它们的字体太小,一个一个设置太麻烦,有没有简单的代码可统一次设定?
- as更新后运行项目出现错误
- 异步任务 AsyncTask 问题
- 如何给一个Preference加上一个提示图形
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" > <TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
android:background="@android:drawable/edit_text"
android:layout_alignParentBottom="true"/></RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<!--首先要用RelativeLayout相对布局,因为线性布局不支持有些属性-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<!--第二将你要摆在屏幕最底下的控件设置属性android:layout_alignParentBottom="true",意思是将此控件位于父控件的底部,这个属性页可以加载布局layout中-->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
android:background="@android:drawable/edit_text"
android:layout_alignParentBottom="true"/></RelativeLayout>