header_view_p_msg_audio.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="255dp"
  5. android:background="@color/white"
  6. android:orientation="vertical" >
  7. <FrameLayout
  8. android:id="@+id/play_frame"
  9. android:layout_width="match_parent"
  10. android:layout_height="245dp"
  11. android:descendantFocusability="beforeDescendants" >
  12. <ImageView
  13. android:id="@+id/thumb_img"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:contentDescription="@string/app_name"
  17. android:scaleType="fitCenter" />
  18. <ImageView
  19. android:id="@+id/start_img"
  20. android:layout_width="40dp"
  21. android:layout_height="40dp"
  22. android:layout_gravity="center"
  23. android:visibility="gone"
  24. android:background="@drawable/detail_gray_button"
  25. android:contentDescription="@string/app_name"
  26. android:padding="5dp"
  27. android:src="@drawable/feed_main_player_play" />
  28. <ProgressBar
  29. android:id="@+id/cache_progress_bar"
  30. style="@android:style/Widget.ProgressBar"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_gravity="center" />
  34. </FrameLayout>
  35. <com.xzjmyk.pm.activity.ui.circle.view.MediaControlView
  36. android:id="@+id/media_control_view"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_gravity="bottom" />
  40. </FrameLayout>