media_route_list_item.xml revision 70e11e50eecfc8f1dfb76316d099e4331ebd28f7
13839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o<?xml version="1.0" encoding="utf-8"?>
23839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o<!-- Copyright (C) 2012 The Android Open Source Project
33839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
4efc6f628e15de95bcd13e4f0ee223cb42115d520Theodore Ts'o     Licensed under the Apache License, Version 2.0 (the "License");
521c84b71e205b5ab13f14343da5645dcc985856dTheodore Ts'o     you may not use this file except in compliance with the License.
621c84b71e205b5ab13f14343da5645dcc985856dTheodore Ts'o     You may obtain a copy of the License at
721c84b71e205b5ab13f14343da5645dcc985856dTheodore Ts'o
8543547a52a20cb7e69d74921b2f691078fd55d83Theodore Ts'o          http://www.apache.org/licenses/LICENSE-2.0
9543547a52a20cb7e69d74921b2f691078fd55d83Theodore Ts'o
1021c84b71e205b5ab13f14343da5645dcc985856dTheodore Ts'o     Unless required by applicable law or agreed to in writing, software
113839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o     distributed under the License is distributed on an "AS IS" BASIS,
123839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o     See the License for the specific language governing permissions and
141d2ff46ae7533ffd038534b189f272d2a4122e4eTheodore Ts'o     limitations under the License.
153839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o-->
161d2ff46ae7533ffd038534b189f272d2a4122e4eTheodore Ts'o
17f3db3566b5e1342e49dffc5ec3f418a838584194Theodore Ts'o<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18b5abe6fac9c9e7caf4710501d1657d30e4857ef6Theodore Ts'o              android:layout_width="match_parent"
193839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o              android:layout_height="?android:attr/listPreferredItemHeight"
203839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o              android:background="?android:attr/activatedBackgroundIndicator"
21f3db3566b5e1342e49dffc5ec3f418a838584194Theodore Ts'o              android:gravity="center_vertical">
223839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
233839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o    <ImageView android:layout_width="56dp"
243839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o               android:layout_height="56dp"
253839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o               android:scaleType="center"
263839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o               android:id="@+id/icon"
273839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o               android:visibility="gone" />
2850e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o
2950e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o    <LinearLayout android:layout_width="0dp"
3050e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                  android:layout_height="match_parent"
313839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                  android:layout_weight="1"
323839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                  android:orientation="vertical"
3380af12e180bdea9ed391a0aee58e31cee7641709Theodore Ts'o                  android:gravity="left|center_vertical"
343839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                  android:paddingLeft="?android:attr/listPreferredItemPaddingLeft"
3550e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                  android:paddingRight="?android:attr/listPreferredItemPaddingRight">
3650e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o
373839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o        <TextView android:id="@android:id/text1"
3850e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                  android:layout_width="match_parent"
3950e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                  android:layout_height="wrap_content"
407004b4af6e52ce8985e45bf37bde813df4d509ffTheodore Ts'o                  android:textAppearance="?android:attr/textAppearanceMedium" />
413839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
423839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o        <TextView android:id="@android:id/text2"
433839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                  android:layout_width="match_parent"
443839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                  android:layout_height="wrap_content"
4580af12e180bdea9ed391a0aee58e31cee7641709Theodore Ts'o                  android:textAppearance="?android:attr/textAppearanceSmall" />
463839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o    </LinearLayout>
4750e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o
4850e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o    <!-- TODO Make this not glow when pressed from above, and give it a divider. -->
493839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o    <ImageButton android:layout_width="56dp"
5050e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                 android:layout_height="56dp"
5150e1e10fa0ac12a3e2a9d20a75ee9041873cda96Theodore Ts'o                 android:id="@+id/group_button"
527004b4af6e52ce8985e45bf37bde813df4d509ffTheodore Ts'o                 android:background="?android:attr/selectableItemBackground"
533839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                 android:scaleType="center"
543839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o                 android:visibility="gone" />
553839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o
563839e65723771b85975f4263102dd3ceec4523cTheodore Ts'o</LinearLayout>
5780af12e180bdea9ed391a0aee58e31cee7641709Theodore Ts'o