gn_account_sdk_date_picker.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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:layout_gravity="center_horizontal"
  6. android:gravity="center"
  7. android:orientation="vertical" >
  8. <LinearLayout
  9. android:id="@+id/amigo_pickers"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_weight="1"
  13. android:gravity="center"
  14. android:orientation="horizontal" >
  15. <!-- Gionee <zhangxx><2013-04-10> modify for CR00795646 begin -->
  16. <LinearLayout
  17. android:id="@+id/amigo_month_day_layout"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_weight="1"
  21. android:orientation="horizontal" >
  22. <!-- Month -->
  23. <com.gionee.account.sdk.core.view.GnAccountNumberPicker
  24. android:id="@+id/amigo_month"
  25. android:layout_width="fill_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_weight="1"
  28. android:focusable="true"
  29. android:focusableInTouchMode="true"
  30. android:minHeight="120dp" />
  31. <!-- Day -->
  32. <com.gionee.account.sdk.core.view.GnAccountNumberPicker
  33. android:id="@+id/amigo_day"
  34. android:layout_width="fill_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_weight="1"
  37. android:focusable="true"
  38. android:focusableInTouchMode="true"
  39. android:minHeight="120dp" />
  40. </LinearLayout>
  41. <!-- Year -->
  42. <com.gionee.account.sdk.core.view.GnAccountNumberPicker
  43. android:id="@+id/amigo_year"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:focusable="true"
  47. android:focusableInTouchMode="true"
  48. android:minHeight="120dp" />
  49. <!-- Gionee <zhangxx><2013-04-10> modify for CR00795646 end -->
  50. </LinearLayout>
  51. <RelativeLayout
  52. android:id="@+id/amigo_lunar_mode_rl"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:layout_marginBottom="10dp"
  56. android:layout_marginLeft="30dp"
  57. android:layout_marginRight="30dp"
  58. android:layout_marginTop="-10dp" >
  59. <TextView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_alignParentLeft="true"
  63. android:layout_centerVertical="true"
  64. android:textSize="16sp" />
  65. <CheckBox
  66. android:id="@+id/amigo_lunar_mode_cb"
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:layout_alignParentRight="true" />
  70. </RelativeLayout>
  71. <!-- calendar view -->
  72. <CalendarView
  73. android:id="@+id/amigo_calendar_view"
  74. android:layout_width="245dip"
  75. android:layout_height="280dip"
  76. android:layout_weight="1"
  77. android:focusable="true"
  78. android:focusableInTouchMode="true" />
  79. </LinearLayout>