diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:32:43 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:32:43 -0800 |
commit | 97196e67e000586b0db0b4646334f45925b33fff (patch) | |
tree | 586bb7c733c23ef6e76ad1566a449c9d4b45dfe9 /res/layout/account_view.xml | |
parent | 8420f0b2fed10209358ec58b244e16c51fb8cf7d (diff) | |
download | ImProvider-97196e67e000586b0db0b4646334f45925b33fff.tar.gz |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'res/layout/account_view.xml')
-rw-r--r-- | res/layout/account_view.xml | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/res/layout/account_view.xml b/res/layout/account_view.xml new file mode 100644 index 0000000..46bdecf --- /dev/null +++ b/res/layout/account_view.xml @@ -0,0 +1,92 @@ +<?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.providers.im.ProviderListItem + xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="fill_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="fill_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="fill_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:maxLines="1" + android:layout_weight="0" + android:ellipsize="marquee" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + <TextView android:id="@+id/conversations" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="@color/landing_page_text_secondary" + android:maxLines="1" + android:layout_weight="1" + 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:maxLines="1" + android:layout_width="fill_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.providers.im.ProviderListItem> |