diff options
author | Andy Huang <ath@google.com> | 2014-07-09 16:58:18 -0700 |
---|---|---|
committer | Andy Huang <ath@google.com> | 2014-08-01 23:32:51 +0000 |
commit | f58e4c3c942033fce12b5f75f9e4d9e708c9ea6a (patch) | |
tree | 178af5cda782c668fa93c4cf857787429f2195f9 /res/values-ldrtl-sw600dp-port | |
parent | 3df312385775e959ba7068d315035566cf605028 (diff) | |
download | android_packages_apps_UnifiedEmail-f58e4c3c942033fce12b5f75f9e4d9e708c9ea6a.tar.gz android_packages_apps_UnifiedEmail-f58e4c3c942033fce12b5f75f9e4d9e708c9ea6a.tar.bz2 android_packages_apps_UnifiedEmail-f58e4c3c942033fce12b5f75f9e4d9e708c9ea6a.zip |
mini-drawer. new tablet UI.
New MiniDrawerView class for a minimized drawer UI with shortcuts to the
main drawer logic to switch accounts and folders. The "drawer" is now
always visible except in portrait conversation view.
Can't easily use an actual DrawerLayout because:
-drawers usually occlude other views, they don't push
-we have that omnipresent 'mini' version
-we want custom control over dragging to trigger a fancy animation (not
just edge swipe!)
(I'll revisit this later.)
Even ActionBarDrawerToggle alone can't be used w/o DrawerLayout, so for
now, all of this drawer logic (dragging not yet implemented) is from
scratch.
TwoPaneLayout no longer "shifts" its panes to transition from TL->CV in
landscape; the panes are now fixed in position. Not yet implemented is a
'conversation-visible-but-not-marked-read' state necessary to avoid the
initial gray expanse there right now.
Bug: 16147175
Change-Id: I021aaff15afebb76db6722265e2a592213674405
Diffstat (limited to 'res/values-ldrtl-sw600dp-port')
-rw-r--r-- | res/values-ldrtl-sw600dp-port/styles.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/res/values-ldrtl-sw600dp-port/styles.xml b/res/values-ldrtl-sw600dp-port/styles.xml new file mode 100644 index 000000000..b328aac19 --- /dev/null +++ b/res/values-ldrtl-sw600dp-port/styles.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<resources> + <style name="TwoPaneConversationList"> + <item name="android:paddingEnd">@dimen/two_pane_tl_side</item> + <item name="android:paddingTop">@dimen/two_pane_tl_top</item> + </style> +</resources> |