Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / subscription_item_layout.xml
blobaa835f4abf6913537de426d3d58cf0b8b5636b3f
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 **
5 ** Copyright (C) 2014 MediaTek Inc.
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
11 **     http://www.apache.org/licenses/LICENSE-2.0
13 ** Unless required by applicable law or agreed to in writing, software
14 ** distributed under the License is distributed on an "AS IS" BASIS,
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ** See the License for the specific language governing permissions and
17 ** limitations under the License.
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="match_parent"
22     android:layout_height="wrap_content"
23     android:minHeight="?android:attr/listPreferredItemHeight"
24     android:gravity="center_vertical"
25     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
26     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" >
27     <RelativeLayout
28         android:layout_width="48dip"
29         android:layout_height="32dip"
30         android:id="@+id/sub_color"
31         android:layout_marginEnd="6dip"
32         android:layout_centerVertical="true">
33     <TextView
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:id="@+id/sub_short_number"
37             android:layout_marginBottom="2dip"
38             android:layout_marginEnd="4dip"
39             android:layout_alignParentEnd="true"
40             android:layout_alignParentBottom="true"
41             android:textSize="12sp"
42             android:singleLine="true"
43             android:textColor="@android:color/white"
44             android:includeFontPadding="false"/>
45     </RelativeLayout>
46     <RelativeLayout
47         android:layout_width="0dip"
48         android:layout_height="wrap_content"
49         android:layout_weight="1"
50         android:layout_centerVertical="true">
51         <TextView
52             android:layout_width="wrap_content"
53             android:layout_height="wrap_content"
54             android:id="@+id/sub_name"
55             android:singleLine="true"
56             android:ellipsize="none"
57             android:textAppearance="?android:attr/textAppearanceMedium"/>
58         <TextView
59             android:layout_width="wrap_content"
60             android:layout_height="wrap_content"
61             android:id="@+id/sub_number"
62             android:layout_below="@+id/sub_name"
63             android:layout_alignStart="@+id/sub_name"
64             android:singleLine="true"
65             android:ellipsize="none"
66             android:textAppearance="?android:attr/textAppearanceSmall"
67             android:textColor="?android:attr/textColorSecondary"/>
68     </RelativeLayout>
69 </LinearLayout>