jmad_banner_container.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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="100dp"
  5. android:background="@drawable/jmad_banner_bg"
  6. android:orientation="horizontal">
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="horizontal">
  11. <com.Jcat.Adsdk.view.RoundImageView
  12. android:id="@+id/app_icon"
  13. android:layout_width="65dp"
  14. android:layout_height="65dp"
  15. android:layout_alignParentLeft="true"
  16. android:layout_centerVertical="true"
  17. android:layout_marginLeft="20dp"
  18. android:background="@drawable/bt_icon_bg"
  19. android:src="@drawable/jmad_img_placeholder"
  20. />
  21. <LinearLayout
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_centerVertical="true"
  25. android:layout_toRightOf="@+id/app_icon"
  26. android:layout_marginLeft="20dp"
  27. android:orientation="vertical">
  28. <TextView
  29. android:id="@+id/mainTitleView"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:text="奇迹MU"
  33. android:textColor="#000000"
  34. android:textSize="16sp"
  35. />
  36. <LinearLayout
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="5dp">
  40. <ImageView style="@style/jmad_star_style" />
  41. <ImageView style="@style/jmad_star_style" />
  42. <ImageView style="@style/jmad_star_style" />
  43. <ImageView style="@style/jmad_star_style" />
  44. <ImageView style="@style/jmad_star_style" />
  45. </LinearLayout>
  46. <TextView
  47. android:id="@+id/tv_starCount"
  48. android:layout_width="180dp"
  49. android:layout_height="wrap_content"
  50. android:layout_marginTop="5dp"
  51. android:singleLine="true"
  52. android:text="PC中的经典,强势回归"
  53. android:textColor="#646161"
  54. android:textSize="14sp" />
  55. </LinearLayout>
  56. <Button
  57. android:id="@+id/download_btn"
  58. android:layout_width="90dp"
  59. android:layout_height="36dp"
  60. android:background="@drawable/jmad_button_bg"
  61. android:text="立即下载"
  62. android:textColor="@color/jmfont_white"
  63. android:layout_alignParentRight="true"
  64. android:layout_centerVertical="true"
  65. android:layout_marginRight="20dp"
  66. android:textSize="14sp" />
  67. </RelativeLayout>
  68. </LinearLayout>