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