mobile/android/base/resources/layout/media_casting.xml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <merge xmlns:android="http://schemas.android.com/apk/res/android">
michael@0 3
michael@0 4 <RelativeLayout android:id="@+id/media_controls"
michael@0 5 android:layout_width="wrap_content"
michael@0 6 android:layout_height="wrap_content"
michael@0 7 android:layout_centerInParent="true">
michael@0 8
michael@0 9 <ImageButton android:id="@+id/media_play"
michael@0 10 style="@style/FindBar.ImageButton"
michael@0 11 android:contentDescription="@string/media_play"
michael@0 12 android:src="@drawable/media_bar_play"
michael@0 13 android:visibility="gone"/>
michael@0 14
michael@0 15 <ImageButton android:id="@+id/media_pause"
michael@0 16 style="@style/FindBar.ImageButton"
michael@0 17 android:contentDescription="@string/media_pause"
michael@0 18 android:src="@drawable/media_bar_pause"/>
michael@0 19
michael@0 20 </RelativeLayout>
michael@0 21
michael@0 22 <TextView android:id="@+id/media_casting_to"
michael@0 23 android:layout_width="wrap_content"
michael@0 24 android:layout_height="wrap_content"
michael@0 25 android:layout_marginLeft="5dip"
michael@0 26 android:layout_marginRight="5dip"
michael@0 27 android:layout_alignParentLeft="true"
michael@0 28 android:layout_toLeftOf="@id/media_controls"
michael@0 29 android:layout_centerVertical="true"
michael@0 30 android:singleLine="true"
michael@0 31 android:ellipsize="end"
michael@0 32 android:textColor="#FFFFFFFF"
michael@0 33 android:contentDescription="@string/media_casting_to"/>
michael@0 34
michael@0 35 <ImageButton android:id="@+id/media_stop"
michael@0 36 style="@style/FindBar.ImageButton"
michael@0 37 android:contentDescription="@string/media_stop"
michael@0 38 android:layout_alignParentRight="true"
michael@0 39 android:src="@drawable/media_bar_stop"/>
michael@0 40
michael@0 41 </merge>

mercurial