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,visibility属性
- mainfest文件中android属性
- Failed to fetch URL https://dl-ssl.google.com/android/reposi
- Android(安卓)单选按钮Radio的使用
- Android的数据库--sqlite(一)
- Android(安卓)读取和保存文件(手机内置存储器)
- Android控件及API说明(三)
- android系统定制从听说到入门二
- Android第一行代码笔记