fragment_sales_revenue_rank.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_marginStart="@dimen/common_padding"
  11. android:layout_marginTop="@dimen/common_padding_large"
  12. android:layout_marginEnd="@dimen/common_padding"
  13. android:orientation="horizontal">
  14. <TextView
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_gravity="center"
  18. android:text="@string/year_select"
  19. android:textSize="@dimen/text_size_medium" />
  20. <TextView
  21. android:id="@+id/year"
  22. android:layout_width="0dp"
  23. android:layout_height="wrap_content"
  24. android:layout_marginStart="@dimen/common_padding"
  25. android:layout_weight="1"
  26. android:gravity="end"
  27. android:hint="@string/please_select"
  28. android:singleLine="true"
  29. android:textColorHint="@color/hint_text_color"
  30. android:textSize="@dimen/text_size_medium" />
  31. </LinearLayout>
  32. <View
  33. android:layout_width="match_parent"
  34. android:layout_height="@dimen/line"
  35. android:layout_margin="@dimen/common_padding"
  36. android:background="@color/line_color" />
  37. <TextView
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_margin="@dimen/common_padding"
  41. android:gravity="center"
  42. android:text="@string/seller_rank"
  43. android:textColor="@color/text_color"
  44. android:textSize="@dimen/text_size_large"
  45. android:textStyle="bold" />
  46. <com.bin.david.form.core.SmartTable
  47. android:id="@+id/rank_table"
  48. android:layout_width="match_parent"
  49. android:layout_height="match_parent"
  50. android:layout_gravity="center_horizontal"
  51. android:layout_margin="@dimen/common_padding"/>
  52. </LinearLayout>