<?xml version="1.0" encoding="utf-8"?> <!-- /* * Copyright (C) 2008 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. */ --> <com.android.im.app.ProviderListItem xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="?android:attr/listPreferredItemHeight"> <ImageView android:id="@+id/providerIcon" android:layout_gravity="center_vertical" android:scaleType="fitXY" android:paddingLeft="5dip" android:paddingRight="2dip" android:layout_width="39dip" android:layout_height="32dip"/> <LinearLayout android:id="@+id/underBubble" android:orientation="horizontal" android:layout_weight="1" android:layout_width="0dip" android:layout_height="match_parent"> <LinearLayout android:orientation="vertical" android:layout_weight="1" android:layout_width="0dip" android:layout_height="wrap_content" android:layout_gravity="center_vertical"> <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:id="@+id/providerName" android:textColor="@color/landing_page_text" android:textAppearance="?android:attr/textAppearanceLarge" android:textStyle="bold" android:singleLine="true" android:layout_weight="1.0" android:ellipsize="marquee" android:layout_width="match_parent" android:layout_height="wrap_content" /> <TextView android:id="@+id/conversations" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/landing_page_text_secondary" android:singleLine="true" android:paddingRight="3dip" android:paddingLeft="5dip" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout> <TextView android:id="@+id/loginName" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/landing_page_text" android:ellipsize="marquee" android:singleLine="true" android:layout_width="match_parent" android:layout_height="wrap_content"/> </LinearLayout> <ImageView android:id="@+id/statusIcon" android:scaleType="fitXY" android:paddingRight="6dip" android:paddingLeft="6dip" android:layout_weight="0" android:layout_gravity="center_vertical" android:layout_width="30dip" android:layout_height="18dip"/> </LinearLayout> </com.android.im.app.ProviderListItem>