bdp_view_controller_cashierdesk.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="@drawable/bdp_bg_round_fcfcfc"
  6. android:orientation="vertical" >
  7. <!-- 标题 -->
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="50dp"
  11. android:gravity="center_vertical" >
  12. <ImageView
  13. android:id="@+id/imgBack"
  14. android:layout_width="20dp"
  15. android:layout_height="20dp"
  16. android:layout_marginLeft="13dp"
  17. android:contentDescription="@string/bdp_image"
  18. android:src="@drawable/bdp_paycenter_btn_back_selector"
  19. android:visibility="visible" />
  20. <View
  21. android:layout_width="0dip"
  22. android:layout_height="1dip"
  23. android:layout_weight="1" />
  24. <!-- 百度登录 -->
  25. <RelativeLayout
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:gravity="center" >
  29. <ImageView
  30. android:id="@+id/img_top"
  31. android:layout_width="25dp"
  32. android:layout_height="25dp"
  33. android:layout_centerVertical="true"
  34. android:contentDescription="@string/bdp_image"
  35. android:scaleType="fitXY"
  36. android:src="@drawable/bdp_icon_baidu"
  37. android:visibility="gone" />
  38. <TextView
  39. android:id="@+id/txtTitle"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_centerVertical="true"
  43. android:layout_marginLeft="5dp"
  44. android:layout_toRightOf="@+id/img_top"
  45. android:text="@string/bdp_account_login_title_baidu_long"
  46. android:textColor="#FF333333"
  47. android:textSize="16sp" />
  48. </RelativeLayout>
  49. <View
  50. android:layout_width="0dip"
  51. android:layout_height="1dip"
  52. android:layout_weight="1" />
  53. <!-- 关闭按钮 -->
  54. <ImageView
  55. android:id="@+id/imgClose"
  56. android:layout_width="20dp"
  57. android:layout_height="20dp"
  58. android:layout_marginRight="15dp"
  59. android:contentDescription="@string/bdp_image"
  60. android:src="@drawable/bdp_paycenter_btn_close_selector" />
  61. </LinearLayout>
  62. <View
  63. android:layout_width="match_parent"
  64. android:layout_height="0.5dp"
  65. android:background="#FFD8D8D8" />
  66. <!-- 子视图 -->
  67. <LinearLayout
  68. android:id="@+id/linView"
  69. android:layout_width="match_parent"
  70. android:layout_height="250dp"
  71. android:orientation="vertical" />
  72. </LinearLayout>