你的位置:首页 > 软件开发 > 操作系统 > 安卓第二天笔记

安卓第二天笔记

发布时间:2016-02-21 23:00:14
安卓第二天笔记--数据保存1.保存数据私有文件 <LinearLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.android.com/tools& ...

安卓第二天笔记

安卓第二天笔记--数据保存

1.保存数据私有文件

 

安卓第二天笔记

<LinearLayout ="http://schemas.android.com/apk/res/android"  ="http://schemas.android.com/tools"  android:layout_width="match_parent"  android:layout_height="match_parent"  android:orientation="vertical"  tools:context=".MainActivity" >  <ImageView    android:background="#0090CA"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:src='/images/loading.gif' data-original="@drawable/qq"/>    <!--号码 -->  <EditText     android:id="@+id/et_qqNumber"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:inputType="number"    android:hint="请输入qq号码"/>  <!--密码 -->  <EditText     android:id="@+id/et_qqPwd"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:inputType="textPassword"    android:hint="请输入qq密码"/>  <!--记住密码复选框 -->  <CheckBox    android:id="@+id/cb_remember"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:text="记住密码"/><!--登录按键 -->  <Button     android:id="@+id/btn_login"    android:layout_width="match_parent"    android:layout_height="wrap_content"    android:background="#09A3DC"    android:textSize="20sp"    android:textColor="#fff"    android:text="登录"/></LinearLayout>

原标题:安卓第二天笔记

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录