1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright 2016 Google Inc. All Rights Reserved. --> 3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 4 android:orientation="horizontal" 5 android:layout_width="match_parent" 6 android:layout_height="match_parent"> 7 <TextView 8 android:id="@+id/stream_id" 9 android:layout_width="0dp" 10 android:layout_height="wrap_content" 11 android:textSize="20sp" 12 android:layout_weight="1"> 13 </TextView> 14 <TextView 15 android:id="@+id/volume_limit" 16 android:layout_width="0dp" 17 android:layout_height="wrap_content" 18 android:layout_marginLeft="10dp" 19 android:gravity="center" 20 android:textSize="20sp" 21 android:layout_weight="1"> 22 </TextView> 23 <TextView 24 android:id="@+id/current_volume" 25 android:layout_width="0dp" 26 android:layout_height="wrap_content" 27 android:layout_marginLeft="10dp" 28 android:textSize="20sp" 29 android:layout_weight="1"> 30 </TextView> 31 <ToggleButton 32 android:id="@+id/volume_mute" 33 android:layout_width="150dp" 34 android:layout_height="wrap_content" 35 android:text="@string/volume_unmute" 36 android:textOff="@string/volume_mute" 37 android:textOn="@string/volume_unmute"/> 38 <Button 39 android:id="@+id/volume_up" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:layout_marginLeft="20dp" 43 android:text="@string/volume_up_logical" /> 44 <Button 45 android:id="@+id/volume_down" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:text="@string/volume_down_logical" /> 49 <Button 50 android:id="@+id/request" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:text="@string/request" /> 54</LinearLayout> 55