blob: 24dfb30eabc281478decc38db2eca98d923bcf08 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2011 Google Inc.
Licensed to 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.
-->
<!-- This layout shows the header in the dropdown list of folders. This header is non-clickable. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="32dip"
android:layout_gravity="center_vertical"
style="?android:attr/listSeparatorTextViewStyle"
android:background="@+drawable/list_section_divider_holo_light"
android:paddingLeft="@dimen/folder_list_heading_padding_side"
android:paddingRight="@dimen/folder_list_heading_padding_side">
<TextView
android:textAllCaps="true"
android:textSize="14sp"
android:textColor="@color/folder_list_heading_text_color"
android:textStyle="bold"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/recent_folders"/>
<!-- This is the name of the account. -->
<TextView
android:id="@+id/account_spinner_header_account"
android:ellipsize="end"
android:singleLine="true"
android:textSize="14sp"
android:textColor="@color/folder_list_heading_text_color"
android:layout_height="wrap_content"
android:layout_width="0dip"
android:layout_weight="1"
android:gravity="center_vertical|right" />
</LinearLayout>