video_activity.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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="match_parent"
  5. android:background="@drawable/main_head"
  6. android:orientation="vertical" >
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:gravity="center_vertical"
  11. android:orientation="horizontal"
  12. android:padding="5dip" >
  13. <TextView
  14. android:id="@+id/txt_time"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_centerInParent="true"
  18. android:textColor="@color/txt_general_bg"
  19. android:textSize="18sp" />
  20. </RelativeLayout>
  21. <include
  22. android:layout_width="match_parent"
  23. android:layout_height="0dip"
  24. android:layout_weight="1"
  25. layout="@layout/video_session"
  26. android:gravity="center_vertical" />
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:gravity="center"
  31. android:orientation="horizontal" >
  32. <Button
  33. android:id="@+id/btn_endsession"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_weight="1"
  37. android:background="@drawable/end_session_bg"
  38. android:gravity="center"
  39. android:padding="10dip"
  40. android:text="@string/end_session"
  41. android:textColor="@color/dancen"
  42. android:textSize="18sp" />
  43. <ImageView
  44. android:id="@+id/img_switch"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_marginRight="8dip"
  48. android:layout_weight="1"
  49. android:background="@drawable/btn_switchvideo_background"
  50. android:src="@mipmap/switchvideo"
  51. android:visibility="invisible" />
  52. </LinearLayout>
  53. </LinearLayout>