| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2012 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="?attr/list_item_header_height" |
| android:layout_marginLeft="?attr/list_item_padding_left" |
| android:layout_marginRight="?attr/list_item_padding_right" |
| android:paddingBottom="4dip" |
| android:background="@drawable/list_section_divider_holo_custom" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/account_type" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:paddingLeft="?attr/list_item_header_text_indent" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textColor="@color/people_app_theme_color" |
| android:textStyle="bold" |
| android:textAllCaps="true" |
| android:singleLine="true"/> |
| |
| <!-- TODO: Should use correct color with a correct name (content should be same). |
| can use "?android:attr/textColorTertiary" --> |
| <TextView |
| android:id="@+id/account_name" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:paddingLeft="?attr/list_item_header_text_indent" |
| android:textColor="@color/contact_count_text_color" |
| android:textSize="12sp" |
| android:singleLine="true" |
| android:ellipsize="middle" /> |
| </LinearLayout> |