Android sqlite
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" android:orientation="vertical" >
<RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <EditText android:id="@+id/bookname" android:layout_width="fill_parent" android:layout_height="50dp" android:layout_alignBottom="@+id/btn" android:layout_marginRight="70dp" android:background="@android:color/white" android:ems="10" android:hint="enter new note" android:textColorHint="#238745" /> <Button android:id="@+id/btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/btn" android:text="add" android:layout_alignParentTop="true" android:layout_alignParentRight="true" /> </RelativeLayout> <ListView android:id="@+id/bookslist" android:layout_width="match_parent" android:layout_height="wrap_content" > </ListView>
</LinearLayout>
更多相关文章
- Android布局属性全面剖析
- android 布局边框
- android 布局简括
- android 表单布局 左右布局
- Android 读取和保存文件(手机内置存储器)
- Android常用布局之LinearLayout(线性布局)仿酷狗登录界面
- 线性布局控件间的布局设置
- android的布局属性(转)
- Android中的相对布局