1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Layout for the customized MediaRouteControllerDialog -->
18
19<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent"
22    android:orientation="vertical">
23    <LinearLayout android:id="@+id/media_route_info"
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:layout_weight="1">
27        <ImageView
28            android:id="@+id/snapshot"
29            android:layout_width="100dp"
30            android:layout_height="100dp"
31            android:scaleType="centerCrop"/>
32        <TextView android:id="@+id/track_info"
33            android:layout_width="fill_parent"
34            android:layout_height="wrap_content"
35            android:padding="4dp"/>
36    </LinearLayout>
37    <LinearLayout
38        android:layout_width="match_parent"
39        android:layout_height="wrap_content"
40        android:layout_weight="0"
41        android:gravity="center">
42        <ImageButton android:id="@+id/pause_resume_button"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:minWidth="48dp"
46            android:minHeight="48dp"
47            android:background="@null"
48            android:src="@drawable/ic_media_pause" />
49        <ImageButton android:id="@+id/stop_button"
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:minWidth="48dp"
53            android:minHeight="48dp"
54            android:background="@null"
55            android:src="@drawable/ic_media_stop" />
56    </LinearLayout>
57
58</LinearLayout>
59