blob: 3587e55b0b6fe8e787836d64e5c83f47f0ed7bac [file] [log] [blame]
Sanket Padawe0f596b92014-10-24 10:17:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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
Sanket Padawe0381f6c2014-11-12 12:41:35 -080017<!-- Layout of a single item for displaying sim cards. -->
Sanket Padawe0f596b92014-10-24 10:17:08 -070018<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:orientation="horizontal"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
Sanket Padawea8bd0252014-11-17 10:43:37 -080022 android:background="?android:attr/selectableItemBackground" >
Sanket Padawe0f596b92014-10-24 10:17:08 -070023
24 <ImageView android:id="@+id/icon"
25 android:layout_width="48dp"
26 android:layout_height="48dp"
27 android:scaleType="center" />
28
Sanket Padawe0381f6c2014-11-12 12:41:35 -080029 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
30 android:orientation="vertical"
31 android:layout_marginStart="15dip"
32 android:layout_marginEnd="6dip"
33 android:layout_marginTop="6dip"
34 android:layout_marginBottom="6dip"
35 android:layout_height="wrap_content"
Sanket Padawe0f596b92014-10-24 10:17:08 -070036 android:layout_width="0dp"
Sanket Padawe0381f6c2014-11-12 12:41:35 -080037 android:layout_weight="1" >
38 <TextView android:id="@+id/title"
39 android:textAppearance="?android:attr/textAppearanceLarge"
40 android:gravity="start|center_vertical"
41 android:layout_marginLeft="8dp"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
44 android:singleLine="true"
45 android:ellipsize="marquee"
46 android:fadingEdge="horizontal" />
47 <TextView android:id="@+id/summary"
48 android:textAppearance="?android:attr/textAppearanceSmall"
49 android:gravity="start|center_vertical"
50 android:layout_marginLeft="8dp"
51 android:layout_width="match_parent"
52 android:layout_height="wrap_content"
53 android:layout_below="@id/title"
54 android:textColor="?android:attr/textColorSecondary"
55 android:layout_alignStart="@id/title" />
56 </LinearLayout>
Sanket Padawe0f596b92014-10-24 10:17:08 -070057</LinearLayout>