123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/player_controller_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:background="@color/translucent_background">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/player_back"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_gravity="center|left"
- android:paddingLeft="20dp"
- android:src="@drawable/player_back" />
- <TextView
- android:id="@+id/player_name"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center|left"
- android:paddingLeft="20dp"
- android:textColor="@color/white"
- android:textSize="18sp" />
- </LinearLayout>
- </FrameLayout>
- <Space
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="6"></Space>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1.3"
- android:background="@color/translucent_background">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/player_little_icon"
- android:layout_width="0dp"
- android:layout_height="24dp"
- android:layout_gravity="center"
- android:layout_weight="0.5"
- android:src="@drawable/player_little_icon_pause" />
- <SeekBar
- android:id="@+id/player_seekbar"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginLeft="5dp"
- android:layout_marginRight="5dp"
- android:layout_weight="5"
- android:focusable="false"
- android:maxHeight="5dp"
- android:minHeight="5dp"
- android:progressDrawable="@drawable/player_seekbar_list"
- android:thumb="@drawable/seekbar_thumb"
- android:thumbOffset="0dp" />
- <TextView
- android:id="@+id/player_current"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:gravity="center"
- android:text="00:00"
- android:textColor="@color/white"
- android:textSize="16sp" />
- </LinearLayout>
- </FrameLayout>
- </LinearLayout>
-
- <FrameLayout
- android:id="@+id/player_other_frame"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center">
- <ImageView
- android:id="@+id/player_status"
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:layout_gravity="center"
- android:src="@drawable/edufound_player_play"
- android:visibility="gone" />
- <ImageView
- android:id="@+id/player_loading"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginBottom="5dp" />
- </FrameLayout>
- </FrameLayout>
|