| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| * Copyright 2009, 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="fill_parent" |
| android:layout_height="wrap_content" |
| android:minHeight="?android:attr/listPreferredItemHeight" |
| android:orientation="horizontal" |
| android:paddingLeft="9dip" |
| android:gravity="center_vertical" |
| > |
| |
| <LinearLayout |
| android:layout_width="0dip" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:layout_marginLeft="5dip" |
| android:orientation="vertical" |
| android:paddingTop="5dip" |
| android:paddingBottom="7dip" |
| android:gravity="center_vertical" |
| > |
| |
| <TextView android:id="@android:id/text1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textAppearance="?android:attr/textAppearanceLarge" |
| /> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| > |
| |
| <TextView android:id="@android:id/text2" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| /> |
| |
| <ImageView android:id="@+id/primary_icon" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:paddingLeft="3dip" |
| android:src="@drawable/ic_default_number" |
| /> |
| |
| </LinearLayout> |
| |
| <TextView |
| android:id="@+id/footer" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:visibility="gone" /> |
| |
| </LinearLayout> |
| |
| <ImageView android:id="@+id/presence_icon" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="5dip" |
| android:gravity="center" |
| android:scaleType="centerInside" |
| /> |
| |
| <ImageView android:id="@+id/action_icon" |
| android:layout_width="30dip" |
| android:layout_height="30dip" |
| android:layout_marginLeft="14dip" |
| android:layout_marginRight="14dip" |
| android:gravity="center" |
| android:scaleType="centerInside" |
| /> |
| |
| <View android:id="@+id/divider" |
| android:layout_width="1px" |
| android:layout_height="fill_parent" |
| android:layout_marginTop="5dip" |
| android:layout_marginBottom="5dip" |
| android:background="@drawable/divider_vertical_dark" |
| /> |
| |
| <ImageView android:id="@+id/secondary_action_button" |
| android:layout_width="wrap_content" |
| android:layout_height="fill_parent" |
| android:layout_centerVertical="true" |
| android:paddingLeft="14dip" |
| android:paddingRight="14dip" |
| android:gravity="center" |
| android:scaleType="center" |
| android:background="@android:drawable/list_selector_background" |
| /> |
| |
| </LinearLayout> |