activity_add_buddy.xml 1008 B

123456789101112131415161718192021222324252627282930
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:paddingTop="30dp"
  6. android:paddingLeft="16dp"
  7. android:paddingRight="16dp"
  8. android:orientation="vertical"
  9. tools:context="com.shuishuo.app.test.AddBuddyActivity">
  10. <EditText
  11. android:id="@+id/account_editor"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:hint="输入帐号"/>
  15. <EditText
  16. android:id="@+id/nick_editor"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:hint="输入昵称"/>
  20. <Button
  21. android:id="@+id/add_button"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:text="添加"
  25. android:onClick="onClick"/>
  26. </LinearLayout>