summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/media_casting.xml
blob: 008cf36a0fbb61cd78327c55dabce21df48ff91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">

    <RelativeLayout android:id="@+id/media_controls"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true">

        <ImageButton android:id="@+id/media_play"
                     style="@style/FindBar.ImageButton"
                     android:contentDescription="@string/media_play"
                     android:src="@drawable/media_bar_play"
                     android:visibility="gone"/>

        <ImageButton android:id="@+id/media_pause"
                     style="@style/FindBar.ImageButton"
                     android:contentDescription="@string/media_pause"
                     android:src="@drawable/media_bar_pause"/>

    </RelativeLayout>

    <TextView android:id="@+id/media_sending_to"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginLeft="5dip"
              android:layout_marginRight="5dip"
              android:layout_alignParentLeft="true"
              android:layout_toLeftOf="@id/media_controls"
              android:layout_centerVertical="true"
              android:singleLine="true"
              android:ellipsize="end"
              android:textColor="#FFFFFFFF"
              android:contentDescription="@string/media_sending_to"/>

    <ImageButton android:id="@+id/media_stop"
                 style="@style/FindBar.ImageButton"
                 android:contentDescription="@string/media_stop"
                 android:layout_alignParentRight="true"
                 android:src="@drawable/media_bar_stop"/>

</merge>