首页 > 移动平台 > 详细

Android sqlite

时间:2015-04-28 18:16:40      阅读:227      评论:0      收藏:0      [点我收藏+]

布局文件

<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 sqlite

原文:http://www.cnblogs.com/wenxz0060/p/4463536.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!