亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

android實戰(zhàn):密碼箱二

系統(tǒng) 1817 0

本文博客鏈接: http://blog.csdn.net/jdh99 ,作者:jdh,轉(zhuǎn)載請注明.


源代碼:

AndroidManifest.xml

    <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mimaxiang"
      android:versionCode="1"
      android:versionName="1.0">


    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:label="@string/app_name" android:name=".login">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".mimaxiang">
            <intent-filter>
                <action android:name="android.intent.action.DEFAULT"></action>
            </intent-filter>
        </activity>
        <activity android:name=".edit_mima">
            <intent-filter>
                <action android:name="android.intent.action.DEFAULT"></action>
            </intent-filter>
        </activity>
        <activity android:name=".new_pwd">
            <intent-filter>
                <action android:name="android.intent.action.DEFAULT"></action>
            </intent-filter>
        </activity>

    </application>
</manifest>
  

登錄界面login.xml:

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/s">
    <TextView android:id="@+id/textView1" android:layout_height="wrap_content" android:text="密碼箱 by jdh" android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:textSize="24px"></TextView>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout1">
        <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="18px" android:text="密碼:  "></TextView>
        <EditText android:id="@+id/editText1" android:layout_width="fill_parent" android:layout_height="wrap_content"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2">
        <Button android:id="@+id/button1" android:layout_height="wrap_content" android:text="確定 " android:layout_width="wrap_content" android:layout_weight="1"></Button>
        <Button android:id="@+id/button2" android:text="退出 " android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1"></Button>
    </LinearLayout>
</LinearLayout>

  
android實戰(zhàn):密碼箱二


主界面main.xml:

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/s">
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout1">
        <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="ID:    "></TextView>
        <EditText android:id="@+id/editText1" android:layout_width="fill_parent" android:layout_height="wrap_content"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2">
        <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="密碼: "></TextView>
        <EditText android:id="@+id/editText2" android:layout_width="fill_parent" android:layout_height="wrap_content"></EditText>
    </LinearLayout>
    <TextView android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="說明:"></TextView>
    <EditText android:id="@+id/editText3" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"></EditText>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout3">
        <Button android:id="@+id/button1" android:text="上一個 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"></Button>
        <Button android:id="@+id/button2" android:text="下一個 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"></Button>
        <Button android:id="@+id/button3" android:text="刪除 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"></Button>
        <Button android:id="@+id/button4" android:text="新建 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"></Button>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout4">
        <Button android:id="@+id/button5" android:text="修改密碼 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="0.7"></Button>
        <Button android:id="@+id/button6" android:text="退出 " android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"></Button>
    </LinearLayout>
</LinearLayout>

  
android實戰(zhàn):密碼箱二


修改密碼界面edit_mima.xml:

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/s">
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout1">
        <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="原密碼:    "></TextView>
        <EditText android:id="@+id/editText1" android:layout_height="wrap_content" android:layout_width="fill_parent"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2">
        <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="新密碼:    "></TextView>
        <EditText android:id="@+id/editText2" android:layout_height="wrap_content" android:layout_width="fill_parent"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout3">
        <TextView android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="再次輸入: "></TextView>
        <EditText android:id="@+id/editText3" android:layout_height="wrap_content" android:layout_width="fill_parent"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout4">
        <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="確認(rèn) "></Button>
        <Button android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="放棄修改 " android:layout_weight="0.8"></Button>
    </LinearLayout>
</LinearLayout>

  
android實戰(zhàn):密碼箱二


新帳戶密碼記錄界面new_pwd.xml:

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/s">
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout1">
        <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="ID:   "></TextView>
        <EditText android:layout_width="fill_parent" android:id="@+id/editText1" android:layout_height="wrap_content"></EditText>
    </LinearLayout>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2">
        <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="密碼:"></TextView>
        <EditText android:id="@+id/editText2" android:layout_height="wrap_content" android:layout_width="fill_parent"></EditText>
    </LinearLayout>
    <TextView android:id="@+id/textView3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="說明:"></TextView>
    <EditText android:layout_width="fill_parent" android:id="@+id/editText3" android:layout_height="wrap_content" android:layout_weight="1"></EditText>
    <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout3">
        <Button android:layout_weight="1" android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="確定 "></Button>
        <Button android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="放棄修改 " android:layout_weight="0.7"></Button>
    </LinearLayout>
</LinearLayout>

  
android實戰(zhàn):密碼箱二




android實戰(zhàn):密碼箱二


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲图欧美日韩色综合图 | 国产精品全国探花泡良大师 | 欧美乱理伦另类视频 | 性感毛片 | 国产a免费| 欧美成人午夜视频免看 | 99视频在线看 | 国产91在线九色 | 99国内精品久久久久久久 | 717影院理论午夜伦八戒 | 狠狠色噜噜狠狠色综合久 | 日本一级片免费观看 | 久草视屏 | 久热精品在线 | 国产亚洲精品国产一区 | 一级片视频网站 | 老司机福利精品 | 香蕉精品在线 | 青草免费视频 | 狠狠色婷婷综合天天久久丁香 | 天天弄 | 亚洲一区二区在线免费观看 | 手机看片福利日韩国产 | 激情综合五月 | 国产精品欧美一区二区三区不卡 | 亚洲免费小视频 | 亚洲精品二三区伊人久久 | 国产日产欧产麻豆精品精品推荐 | 人成在线免费视频 | 国产欧美一区二区另类精品 | 免费观看毛片视频 | 国产毛片女人18水多 | 色久网站 | 天天操综| www天天干 | 亚洲国产精品久久久久婷婷软件 | 亚洲一区在线免费观看 | xxx中国毛茸茸 | 久久婷婷综合在线视频观看6 | 欧美激情久久久久久久大片 | 99精品免费久久久久久久久日本 |