security_image.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <com.tencent.mm.sdk.uikit.applet.SecurityImage xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="wrap_content"
  5. android:gravity="center"
  6. android:orientation="vertical" >
  7. <LinearLayout style="@style/MMBody" >
  8. <!-- SecImg -->
  9. <LinearLayout
  10. style="@style/MMLine"
  11. android:gravity="bottom"
  12. android:padding="5dp" >
  13. <FrameLayout
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:background="#000000"
  17. android:minHeight="40dp"
  18. android:padding="1dp" >
  19. <ImageView
  20. android:id="@+id/authcode_iv"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:minHeight="40dp"
  24. android:minWidth="100dp" />
  25. <ProgressBar
  26. android:id="@+id/refresh_mini_pb"
  27. style="?android:attr/progressBarStyleSmall"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_gravity="center"
  31. android:visibility="invisible" />
  32. </FrameLayout>
  33. <View style="@style/MMSplit" />
  34. <Button
  35. android:id="@+id/authcode_change_btn"
  36. style="@style/HyperText"
  37. android:minHeight="40dp"
  38. android:singleLine="true"
  39. android:text="@string/applet_secimg_change" />
  40. </LinearLayout>
  41. <View style="@style/MMSplit" />
  42. <!-- SecCode -->
  43. <EditText
  44. android:id="@+id/authcode_et"
  45. style="@style/MMLineEditText"
  46. android:hint="@string/applet_secimg_title" />
  47. </LinearLayout>
  48. </com.tencent.mm.sdk.uikit.applet.SecurityImage>