source: internals/2016/screencastmultiplayergame_control/trunk/SampleApps/CastRemoteDisplay-android/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/23.4.0/res/layout/mr_volume_control.xml @ 16435

Last change on this file since 16435 was 16435, checked in by jesteves, 3 years ago

Added Cast sample app. Not sure if all files were added successfully

File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:layout_width="fill_parent"
19        android:layout_height="wrap_content"
20        android:minHeight="48dp"
21        android:gravity="center_vertical"
22        android:paddingLeft="24dp"
23        android:paddingRight="12dp">
24    <ImageView
25            android:layout_width="24dp"
26            android:layout_height="24dp"
27            android:src="?attr/mediaRouteAudioTrackDrawable"
28            android:gravity="center"
29            android:scaleType="center"/>
30    <!-- Since dialog's top layout mr_expandable_area is clickable, it propagates pressed state
31         to its non-clickable children. Specify android:clickable="true" to prevent volume slider
32         from having false pressed state. -->
33    <android.support.v7.app.MediaRouteVolumeSlider
34            android:id="@+id/mr_volume_slider"
35            android:layout_width="0dp"
36            android:layout_height="wrap_content"
37            android:minHeight="48dp"
38            android:maxHeight="48dp"
39            android:layout_weight="1"
40            android:clickable="true" />
41    <android.support.v7.app.MediaRouteExpandCollapseButton
42            android:id="@+id/mr_group_expand_collapse"
43            android:layout_width="48dp"
44            android:layout_height="48dp"
45            android:padding="12dp"
46            android:background="?attr/selectableItemBackgroundBorderless"
47            android:visibility="gone"/>
48</LinearLayout>
Note: See TracBrowser for help on using the repository browser.