2010-11-09 23:20:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2010 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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
2011-08-09 18:27:47 +00:00
|
|
|
The list items for the account spinner drop down.
|
2011-11-10 00:12:13 +00:00
|
|
|
Popup width is set at runtime from @dimen/account_dropdown_dropdownwidth
|
2010-11-09 23:20:02 +00:00
|
|
|
-->
|
2011-11-09 23:33:10 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
style="?android:attr/spinnerDropDownItemStyle"
|
|
|
|
android:layout_height="48dip"
|
2011-02-10 00:47:56 +00:00
|
|
|
android:layout_width="match_parent"
|
2011-11-09 23:33:10 +00:00
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<RelativeLayout
|
2011-08-09 18:27:47 +00:00
|
|
|
android:layout_height="wrap_content"
|
2011-11-09 23:33:10 +00:00
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_weight="1">
|
2011-02-10 00:47:56 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/display_name"
|
2011-11-09 23:33:10 +00:00
|
|
|
android:singleLine="true"
|
2011-02-10 00:47:56 +00:00
|
|
|
android:layout_height="wrap_content"
|
2011-11-09 23:33:10 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:ellipsize="end"
|
|
|
|
style="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"/>
|
|
|
|
|
2011-02-10 00:47:56 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/email_address"
|
|
|
|
android:layout_height="wrap_content"
|
2011-11-09 23:33:10 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:layout_below="@id/display_name"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
style="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content">
|
|
|
|
<View
|
|
|
|
android:id="@+id/color_chip"
|
|
|
|
android:layout_width="32dip"
|
|
|
|
android:layout_height="6dip"
|
|
|
|
android:layout_marginBottom="2dip"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginLeft="8dip"
|
|
|
|
android:background="@android:color/black"
|
2011-02-10 00:47:56 +00:00
|
|
|
/>
|
2011-11-09 23:33:10 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/unread_count"
|
|
|
|
style="@style/unreadCount"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|