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="2"> 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="2"> 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="2"> 30 </TextView> 31 <TextView 32 android:id="@+id/logical_max" 33 android:layout_width="0dp" 34 android:layout_height="wrap_content" 35 android:textSize="20dp" 36 android:layout_weight="2"/> 37 <TextView 38 android:id="@+id/logical_volume" 39 android:layout_width="0dp" 40 android:layout_height="wrap_content" 41 android:textSize="20dp" 42 android:layout_weight="2"/> 43 <Button 44 android:id="@+id/volume_up" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:layout_marginLeft="20dp" 48 android:text="@string/volume_up_logical" /> 49 <Button 50 android:id="@+id/volume_down" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:text="@string/volume_down_logical" /> 54 <Button 55 android:id="@+id/request" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:text="@string/request" /> 59 </LinearLayout>