summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorVikram Aggarwal <viki@google.com>2013-03-15 10:41:03 -0700
committerVikram Aggarwal <viki@google.com>2013-03-15 15:18:26 -0700
commitbc462cadc2dcd11d27e7810e437aeef1505f4cb2 (patch)
tree8caf3caa8fd15064e05ffba0eb6ce73cad4e95de /res/layout-sw600dp
parent4c98320961677f547ab331a61fa34773f432e593 (diff)
downloadandroid_packages_apps_UnifiedEmail-bc462cadc2dcd11d27e7810e437aeef1505f4cb2.tar.gz
android_packages_apps_UnifiedEmail-bc462cadc2dcd11d27e7810e437aeef1505f4cb2.tar.bz2
android_packages_apps_UnifiedEmail-bc462cadc2dcd11d27e7810e437aeef1505f4cb2.zip
Single Actionbar: no more split
1. Use title/subtitle to show account and folder name. 2. Move "Show All Folders" in the overflow menu. 3. Remove the spinner and associated layouts 4. Remove existing spinner from the layouts. 5. Rely on actionbar's default view as much as possible. TODO: 1. Unread count. Bug: 8351542 Single action bar and new account selector Change-Id: Ia29c17d751ff0cb789838d32b1fb518efd789b52
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/account_switch_spinner_item.xml61
1 files changed, 0 insertions, 61 deletions
diff --git a/res/layout-sw600dp/account_switch_spinner_item.xml b/res/layout-sw600dp/account_switch_spinner_item.xml
deleted file mode 100644
index c6ee7c19b..000000000
--- a/res/layout-sw600dp/account_switch_spinner_item.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?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.
--->
-
-<!-- View shown in the navigation spinner in the actionbar. -->
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_height="match_parent"
- android:paddingLeft="0dip"
- android:layout_marginLeft="0dip"
- android:layout_width="match_parent">
-
- <LinearLayout
- android:layout_height="match_parent"
- android:id="@+id/account_spinner_container"
- android:orientation="vertical"
- android:gravity="center_vertical"
- android:background="@drawable/spinner_ab_holo_light"
- android:duplicateParentState="false"
- android:layout_alignParentLeft="true"
- android:focusable="true"
- android:focusableInTouchMode="false"
- style="@style/AccountSpinnerStyle">
- <TextView
- android:id="@+id/account_first"
- style="@style/AccountSpinnerAnchorTextPrimary"
- android:singleLine="true"
- android:ellipsize="end"
- android:includeFontPadding="false"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <TextView
- android:id="@+id/account_second"
- style="@style/AccountSpinnerAnchorTextSecondary"
- android:singleLine="true"
- android:ellipsize="end"
- android:includeFontPadding="false"
- android:layout_marginRight="4dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
-
- <TextView
- android:id="@+id/account_unread"
- android:layout_toRightOf="@id/account_spinner_container"
- style="@style/unreadCountActionBarTablet"/>
-</RelativeLayout>