Android 02 Login

Source: Internet
Author: User

Activity_main.xml

<Relativelayoutxmlns: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">    <TextViewAndroid:id= "@+id/tvusername"Android:layout_margintop= "5DP"Android:layout_marginleft= "5DP"Android:layout_width= "Wrap_content"Android:layout_height= "Wrap_content"Android:text= "User name" />    <EditTextAndroid:id= "@+id/etusername"Android:layout_margintop= "5DP"spacing above the parent container android:layout_width= "Match_parent"The remaining position on the right is full android:layout_height= "Wrap_content"Android:layout_torightof= "@id/tvusername"Android:layout_alignbaseline= "@id/tvusername"Android:hint to the bottom of the text of the @id/tvusername control= "2-10 characters"/>Prompt Information<TextViewnon-editable android:id= "@+id/tvpassword"Android:layout_width= "Wrap_content"Android:layout_height= "Wrap_content"Android:text= "Password"Android:layout_marginleft= "5DP"Android:layout_margintop= "5DP"Android:layout_below= "@id/etusername"Android:layout_alignparentleft= "true"/>on the left side of the parent container<EditTextEditable Android:id= "@+id/etpassword"Android:layout_width= "Match_parent"Android:layout_height= "Wrap_content"Android:layout_below= "@id/etusername"Android:layout_torightof= "@id/tvpassword"Android:layout_margintop= "5DP"Android:hint= "2-10 Characters of text"Android:layout_alignbaseline= "@id/tvpassword"/></Relativelayout>

Android Mode Bridge adb-Android: Responsible for the eclips and simulator between the mode. Adb.exe is running in Task Manager. In D:\andriod\newfile\ad5_0\sdk\platform-tools, there is adb.exewindowns in cmd: ADB devices connection eclips and simulator, ADB kill --R f:\elts.apk: Install apkadb Uninstall package name: Uninstall software (also can be dragged and unloaded in the emulator)

Android 02 Login

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.