History log of /frameworks/base/core/java/android/widget/Toolbar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
18b886e8b2fa9d02869132a2e8f1eca997b22f6f 15-Feb-2017 Evan Rosky <erosky@google.com> Allow cluster navigation to jump into touchscreenBlocksFocus

Adds an exception to touchscreenBlocksFocus ViewGroups which
are also keyboardNavigationClusters. The behavior we want is
that cluster navigation can jump into touchscreenBlocksFocus
clusters but normal keyboard navigation can't. Once focus is
in a touchscreenBlocksFocus cluster; however, we allow focus
navigation to move freely within that cluster. It remains in
that cluster until a subsequent cluster navigation brings it
back out.

Adds back the touchscreenBlocksFocus attributes to Toolbar
and actionbar so that they behave like they did before.

Bug: 34363323
Test: Added CTS test. Verified desired behavior in a test app

Change-Id: I555bf5570b16a57f0d4c8a020ae509a1e1b33910
(cherry picked from commit aee802f3bc3da699315a7040728e5483483099ff)
/frameworks/base/core/java/android/widget/Toolbar.java
1abe85c867f552a5cdf50fba3f60d796284c2102 07-Jan-2017 Vadim Tryshev <vadimt@google.com> Converting action bars to clusters.

ActionBar keyboard navigation logic is now implemented via clusters.
Old implementation using setTouchscreenBlocksFocus and Ctrl+Shift+<
shortcut is removed.

Looking at the code, I can’t rule out existence of all 3 categories
(1) action bars with a nested toolbar, (2) action bars without a
nested toolbar and (3) Toolbars outside of action bars.
Because of this, I set “cluster” attribute both on action bar and
toolbar, and have code to avoid nested clusters in case (1).

Support lib’s action/tool bars aren’t converted, however, they
didn’t regress since Ctrl+Shift+< never worked for them. Will be
done after feature freeze.

Bug: 32151632
Test: Manual checks.
Change-Id: Ieb93980088c0fb385a9bc8a5d218ffc269b94dc5
/frameworks/base/core/java/android/widget/Toolbar.java
8053117a3d750779340a29abc2d2328c31350d6b 28-Jun-2016 Chris Banes <chrisbanes@google.com> Make Toolbar ignore its minHeight if larger than height

Currently Toolbar lays out all children based on its
minHeight (if set). If that minHeight is larger than
the Toolbar height, then the children are laid out larger
than the Toolbar and clipped.

This CL fixes it back by capping the alignment height.

BUG: 29049143

Change-Id: Ia3389a906b132bb0a2ae41b27116c00744d0ddf4
/frameworks/base/core/java/android/widget/Toolbar.java
3b925c1ab092cf63329845ecad73aa58db24c86d 20-Jun-2016 Chris Banes <chrisbanes@google.com> Fix NPE in Toolbar - framework edition

Caused by super constructor calling non-final methods
which Toolbar overrides, and then tries to reference
final variables.

BUG: 28806107
Change-Id: Ieaf5f7611dbbf954e49c31e604aa2f7627248615
/frameworks/base/core/java/android/widget/Toolbar.java
67960a0a555808eaf512454f0a344c672c398292 04-Apr-2016 Kirill Grouchnikov <kirillg@google.com> Add a hidden test-only API to get Toolbar's navigation view.

Change-Id: I15d4d9ac7ea77ff260bccdfb9d82c85a7bafdfab
/frameworks/base/core/java/android/widget/Toolbar.java
679be2d6c423d1d2c8f7d94901ddcffcb9510619 28-Mar-2016 Adam Powell <adamp@google.com> Add contentInsetStartWithNavigation/EndWithActions

Allow developers to set different content insets on toolbars and
action bars to be used when navigation buttons or menu actions are
present. Set the default values for these according to the material
spec.

Bug 19317855

Change-Id: I13e04e1f19f0982bf551a3027eb70904d6b4674c
/frameworks/base/core/java/android/widget/Toolbar.java
5190f1737f6eab674262c650b9685aa1f220d706 13-Jan-2016 Alan Viverette <alanv@google.com> Apply menu callbacks to existing Toolbar menu view

Bug: 25872174
Change-Id: I44f4fad27e5e48a8ecdf0c63e135fbf566517cea
/frameworks/base/core/java/android/widget/Toolbar.java
28a8468995c71ba3fbba12557d143e7599db38d8 04-Jan-2016 Alan Viverette <alanv@google.com> Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder

Also adds annotations to accurately reflect nullability.

Bug: 26318920
Change-Id: Ia3b170dd301edfc0088a11ee5764c24bab2f10aa
/frameworks/base/core/java/android/widget/Toolbar.java
4610eeff9c6c4789705b6550a57333150d39e970 03-Dec-2015 Chet Haase <chet@google.com> Revert "Add support for partial view layouts"

This reverts commit c55d5072ac52cee1811b52406419228fa81119ce.

There were several bugs related to incorrect handling of various
layout issues (layout not being run on containers/views that needed
it), reverting to take another run at it outside of master.

Issue #25980198 requestLayout() sometimes doesn't result in measure/layout for view

Change-Id: Ic0e159cbcf6171652d8fd1bee9ae44a3977cea04
/frameworks/base/core/java/android/widget/Toolbar.java
c55d5072ac52cee1811b52406419228fa81119ce 19-Dec-2014 Adam Powell <adamp@google.com> Add support for partial view layouts

Traditionally, when a view called requestLayout it would force
recursive requestLayout calls for all parent views up the
hierarchy. This meant that there was no way to determine at traversal
time whether a parent view itself needed layout, or if just one of its
descendants did.

Add a ViewParent method requestPartialLayoutForChild(View). This lets
a caller state that a particular child of a given parent needs a
remeasure and relayout at its current measured size and position
within that parent. This can help prevent the full-tree relayout often
caused by otherwise trivial changes. Partial layouts are processed
after any pending "full" relayout during ViewRoot traversals, but
before drawing.

Add a ViewGroup method requestLayoutForChild(View). This lets a
ViewGroup decide whether it is more appropriate to request a
traditional relayout or a partial layout for itself or just the child
that changed.

Add a ViewParent method findDependentLayoutAxes. This allows a caller
to check if the ViewParent's layout is dependent on a specific direct
child view along one or both axes. Called recursively, this can be
used to determine if a change in a child view can be isolated to a
partial layout, even if its direct parent's own layout is tied to its
other ancestors. (e.g. MATCH_PARENT, LinearLayout weights)

Implement ViewGroup#requestPartialLayoutForChild to call new
ViewParent method findDependentLayoutAxes and based on the result,
either request a full layout for itself or a partial layout for the
child in question.

Implement findDependentLayoutAxes for common framework ViewGroups. A
private implementation in ViewGroup is available for use by framework
classes that will deal with basic LayoutParams. These implementations
specifically check for derived LayoutParams classes and abort the
optimization if they find something beyond their expected parameter
types.

Change-Id: I0a1a9b79293d17d4fae8d9892b96d3586f9401ae
/frameworks/base/core/java/android/widget/Toolbar.java
4db9d1b48b49ffc43f1c2d46660ca67a88d673f4 15-Sep-2015 Alan Viverette <alanv@google.com> Add accessor methods for Toolbar title margins

Also adds missing attrs to public.xml so they can be documented, adds
attr refs to Toolbar class docs. Many accessor methods still missing,
but those can be added in subsequent CLs.

Bug: 23719889
Change-Id: I09eeef65141d4af77c8813e8fac5f89bead47597
/frameworks/base/core/java/android/widget/Toolbar.java
074c340420105e04791bfd083aa36249a4f9362a 17-Jun-2015 Adam Powell <adamp@google.com> Merge "Add matching xml attributes for existing Toolbar properties" into mnc-dev
6b3fc9a9035c87a23828c8f481732cb3213302a4 17-Jun-2015 Adam Powell <adamp@google.com> Add matching xml attributes for existing Toolbar properties

Bug 21010256

Change-Id: I3ac9491d86dd502f7572e37a3c9b70ffb8957ced
/frameworks/base/core/java/android/widget/Toolbar.java
5f6228454de9bc18847a28e7c21e8fb9bab3d6ac 15-Jun-2015 Adam Powell <adamp@google.com> Fully remove Toolbar children when action views expand

The previous implementation of toggling visibility resulted
developer-set child visibility getting stomped. Fully detach child
views that shouldn't be shown instead. This is more consistent with
the coming and going of other system child views.

Bug 18156260

Change-Id: I8469d45eeb950dc0232f703efe8401233241c657
/frameworks/base/core/java/android/widget/Toolbar.java
a41b78973db3dfde159f7d641f794f462ad323d3 09-Jun-2015 Chris Banes <chrisbanes@google.com> API council review feedback for ActionMenuView

Reverts "MenuItem, navigation and overflow icon tinting" CL,
and adds getter and setter for the overflow icon to ActionMenuView
and Toolbar.

BUG: 21571899

Change-Id: I591f43650356443fa3256e4d74e28b6ddd8c2b33
/frameworks/base/core/java/android/widget/Toolbar.java
bb98ebd6b15f4cf942b156892988801c95601f2f 09-May-2015 Alan Viverette <alanv@google.com> Replace usages of deprecated version of TextView.setTextAppearance()

Change-Id: Ie501affe2e3a275d3172ce8ed584ba1cd5494da8
/frameworks/base/core/java/android/widget/Toolbar.java
417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 11-Mar-2015 Tor Norbye <tnorbye@google.com> Add resource type annotations to some APIs

Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
/frameworks/base/core/java/android/widget/Toolbar.java
80756e38882720860db52f1fcc21fa1505a02abf 02-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate ARGB integer parameters with @ColorInt

Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/widget/Toolbar.java
9cc36ca1b520c06f882e84b909f3a2b75d303a06 23-Feb-2015 Chris Banes <chrisbanes@google.com> MenuItem, navigation and overflow icon tinting

- iconTint and iconTintMode attrs for MenuItem, with
associated setters.
- navigationTint and navigationTintMode attrs for Toolbar
with associated setters.
- overlflowTint and overflowTintMode attrs for Toolbar
with associated setters.

BUG: 18126050
BUG: 19148351
BUG: 19305408

Change-Id: Ibd1fae7cdbc7a7c42809e52541fae5d8beb18e92
/frameworks/base/core/java/android/widget/Toolbar.java
a1ac6a09252a8a615230f08767ab6153bd23a165 24-Jan-2015 Svetoslav <svetoslavganov@google.com> Accessibility: Ignore overlapping siblings when computing a click location

To click a view we were computing a click location by ignoring overlapping
views that are actionable. However, detection whether a view is actionable
is not always possible as the view may handle touch events directly. This
leads to unhandled edge cases. We are taking a conservative approach and
ignore all overlapping siblings regardless if clickable. This is also has
limitations but hopefully less frequent edge cases.

bug:18889611

Change-Id: Icea0b7b3e2d4ed53e50e01cb6a99b880be560b14
/frameworks/base/core/java/android/widget/Toolbar.java
41fceb462b6eefbaa3a4d4e56b962fdb2910a6f5 23-Jan-2015 Svetoslav <svetoslavganov@google.com> Accessibilty: Cannot click on views in a scrollable container covered by the toolbar.

In accessibility mode we calculate a point where to click in the accessibility
focused view as a bridge-gap solution before switching to accessibility click
actions. We cannot detect whether a view is covered by another one that consumes
all touch events, and therefore we may click on the wrong target. This was the
case with the toolbar. As a result a partially scrolled view in a scrollable
container covered by a toolbar cannot be activated and this is not an edge case.

bug:18986806

Change-Id: Ib41470c39806cec13e9b00b319879cd7f3412ab5
/frameworks/base/core/java/android/widget/Toolbar.java
5ad076396c43b2d26f9c020f0914623972cadd0e 04-Nov-2014 Deepanshu Gupta <deepanshu@google.com> am cd5f3bab: Merge "Use the right layout for inflating Action Bar." into lmp-dev automerge: 84a89ed

* commit 'cd5f3bab37ef1dc041489f53f565416d295916d9':
Use the right layout for inflating Action Bar.
0bffc736e1f260724764d31f7499cbc09471a535 27-Oct-2014 Deepanshu Gupta <deepanshu@google.com> Use the right layout for inflating Action Bar.

The choice of Action Bar layout depends on the theme. This also affects
the widget used to render the Action Bar.

Bug: http://b.android.com/77853
Change-Id: I6219a02853b4cd207a6125a5ed96fa5d16699460
/frameworks/base/core/java/android/widget/Toolbar.java
85085343b378f00a34448b69e582226fa584b005 29-Oct-2014 Alan Viverette <alanv@google.com> Add content description to Toolbar collapse button

BUG: 17722111
Change-Id: If6caa8bc61b0d178648952c419591380f4edf4ba
/frameworks/base/core/java/android/widget/Toolbar.java
157afde397f817e0a3a21c5d47011db462b6fff6 14-Oct-2014 Alan Viverette <alanv@google.com> Document Toolbar's vertical alignment strategy

BUG: 17526065
Change-Id: I78fdd8da225c33971985d3941f54624b20248409
/frameworks/base/core/java/android/widget/Toolbar.java
61d15b98561ab500ccaec5d21d98c8c0ea3ae47f 12-Sep-2014 Adam Powell <adamp@google.com> Make Toolbars eat touch events

Just like action bars, toolbars shouldn't allow touches to fall
through to sibling views that they overlap.

Bug 17483356

Change-Id: I9068e1f9cf3c4226000e0058c371283a997b1bd0
/frameworks/base/core/java/android/widget/Toolbar.java
e3cb7baeb9563cd78fecbd84f9ab43be62d25013 12-Sep-2014 Alan Viverette <alanv@google.com> Vertically align toolbar child views with similar gravities

Also fixes Body1 text size, action bar title size on sw600dp-land.

BUG: 17266152
Change-Id: Ib686dd6e80dfcdad920c922a532f4f5d6252fa19
/frameworks/base/core/java/android/widget/Toolbar.java
c46125042493e66f7dfdccec24e3b0739600b194 05-Sep-2014 Adam Powell <adamp@google.com> Menu callbacks for ToolbarActionBars, part 2

Pass through the menu mode change events and make sure Activities get
prepare/open/close events properly.

Bug 17326424

Change-Id: I0ac2f56e4d0054ef01720b2ff1c41ded053750c7
/frameworks/base/core/java/android/widget/Toolbar.java
04c0d4607897157f01c908475fa0c6d7301cf7e5 05-Sep-2014 Adam Powell <adamp@google.com> Dispatch more menu events to window callbacks from ToolbarActionBar

Wire through the callbacks that result in onPrepareOptionsMenu being
called properly when an activity overflow menu is opened.

Bug 17326424

Change-Id: Ifc5b67af0d215f210bb00326f82f60ba55a36d52
/frameworks/base/core/java/android/widget/Toolbar.java
12b0321c0b400f105cad40568a1f572020ba6336 03-Sep-2014 Adam Powell <adamp@google.com> Automatically supply a content description for ToolbarActionBar nav

If the developer hasn't set a navigation content description on the
Toolbar assigned to be an action bar or a home-action content
description via the ActionBar interface, use the framework default
"navigate up" string.

Also make sure that the default Up description is supplied in the
screen_toolbar window decor layout and that it is parsed properly in
all toolbars, even if we don't have an icon set during construction.

Bug 17298370

Change-Id: Ie2f9e34f92046d4d4ffb9a07e38fa89581891f7b
/frameworks/base/core/java/android/widget/Toolbar.java
d760249623a57d35dc0b4e57972eb9a72934d500 29-Aug-2014 Adam Powell <adamp@google.com> Doc improvements for new Toolbar changes, now with attributes.

Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947
/frameworks/base/core/java/android/widget/Toolbar.java
4c9765a654f7db15091d373f989908da54bfd155 29-Aug-2014 Adam Powell <adamp@google.com> Don't add title margins during to Toolbar layout if titles don't fit

When all space is consumed in a Toolbar by other views the special
shared title/subtitle margins shouldn't be added to the running
position during layout.

Bug 17253638

Change-Id: I179fcbf286fa68fd8df6e25bb1879bccbf1532ed
/frameworks/base/core/java/android/widget/Toolbar.java
7c13bc2a7090544a04fc93813794a8b97bc86ff7 29-Aug-2014 Adam Powell <adamp@google.com> Add xml attributes to Toolbar for navigation icon

...to match the existing setters/getters.

Change-Id: I9814c5d7f2aa0559c93fbb74881e29064473f186
/frameworks/base/core/java/android/widget/Toolbar.java
31c91c81798802f62d55f8bccb6d4071471c1aa4 23-Aug-2014 Adam Powell <adamp@google.com> Add state save/restore for Toolbar

Save and restore the menu state for Toolbars. This will make sure that
we remember expanded action views and opened overflow menus across
state save/restore.

Remove an extra event post involved in the initial population of
action bar menus. Apparently at some point an extra level of this was
added that isn't necessary. Process any pending menu invalidations
immediately when we perform window state restoration. This makes sure
individual bits of state in action views, etc. are also restored
properly.

Bug 12005461

Change-Id: Icf905698576b11a59641bc319adc62300857906f
/frameworks/base/core/java/android/widget/Toolbar.java
e88700a2ad69e9b99824f2de3d8ba3d44054b24c 25-Jul-2014 Alan Viverette <alanv@google.com> Remove duplicate Toolbar method for setting content description

Also moves the setNavigationIcon(int) method closer to the one that
takes a Drawable.

BUG: 16491458
Change-Id: Ia02f05e6270c9d420f61f7ab34117b4c7e6548ec
/frameworks/base/core/java/android/widget/Toolbar.java
77e5037d8125b94e524264dc1890ab9b6b7df0af 23-Jul-2014 Alan Viverette <alanv@google.com> Update spinner asset, fix default popup context and elevation

BUG: 15985882
Change-Id: Ica8c2597c35bd3012da11e315a93bbd1df2f3f38
/frameworks/base/core/java/android/widget/Toolbar.java
22a117d1b60869ed36d125796396f190b4b002fb 22-Jul-2014 Alan Viverette <alanv@google.com> Add popupTheme attr, propagate from ActionBar to ToolBar

BUG: 16347549
Change-Id: I934ec2469f8c136f750e2e2cf9b333e229393ac3
/frameworks/base/core/java/android/widget/Toolbar.java
2aa09a94dd540650d3ebad7363e4fb3aab2ebc95 20-Jul-2014 Adam Powell <adamp@google.com> Don't apply the ActionBar style to a Toolbar as a result of setActionBar

While this is a convenient idea, it effectively means that any styling
directly applied to a Toolbar in a layout gets stomped by the
theme-global ActionBar style. Obey the more local, specific styling
from the Toolbar instead.

Change-Id: Ief6a7cb90052bdced87f1dc0925c1dfbc0df4792
/frameworks/base/core/java/android/widget/Toolbar.java
b606a3a312fe6d69d97c66d76803eb2412d8329a 19-Jul-2014 Adam Powell <adamp@google.com> Measure Toolbar titles last

Give the maximum amount of room to "real" content views before taking
up space for the title and subtitle of a toolbar.

Bug 16039951

Change-Id: I10da9cdc39e84e6fb3975ee40958c57031002dd5
/frameworks/base/core/java/android/widget/Toolbar.java
c80f95228560e5912e97886ed637f4d538e87c70 19-Jul-2014 Adam Powell <adamp@google.com> Fix Toolbar title layout in RTL mode

Welp, that one was embarrassing.

Bug 16192193

Change-Id: I4e94e71ef34b4b08b5dd4c7b7f0dfb22e834ca19
/frameworks/base/core/java/android/widget/Toolbar.java
eb97f473fc075c91760c2b657a7014681cd6f3ce 19-Jul-2014 Adam Powell <adamp@google.com> Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand

When Toolbar is acting in the role of an action bar it needs to handle
the case where app code calls setLayoutParams on a custom view with an
ActionBar.LayoutParams instance. Run the newly set LayoutParams
through the check/generate routine normally performed when adding a
child view whenever LayoutParams are set on an existing child to
correct for it.

This might not be a bad thing to generalize someday but it would make
for very confusing compatibility behavior when running code that
was written to expect it on older platform versions.

Bug 16219488

Change-Id: I568a335fe8ebbbaa666690d1f0e95f313abd2f1e
/frameworks/base/core/java/android/widget/Toolbar.java
3d0f21dab8d891b9aebdd5277348d549eeb843e6 11-Jul-2014 Alan Viverette <alanv@google.com> API for inflating action bar menus against a different theme

BUG: 16162344
Change-Id: I5bf9f133de56a1830028bca6326cc2c50888a052
/frameworks/base/core/java/android/widget/Toolbar.java
b3e411458cd7b96bb308e2de3086efc4da10d64d 02-Jul-2014 Adam Powell <adamp@google.com> Fix a copy/paste bug in Toolbar.

Bug 15868762

Change-Id: Ie2a0c492f9d7baa05d520cd2fee652245ab4b61b
/frameworks/base/core/java/android/widget/Toolbar.java
d76008352eeb246af76ba4a81eaeb4901ca4ef7f 02-Jul-2014 Adam Powell <adamp@google.com> Remove ActionBar.LayoutParams MarginLayoutParams constructor

Adding this for L caused some fun issues with source compatibility.
Apps that previously passed another MarginLayoutParams subclass to
ActionBar.LayoutParams' constructor started statically linking to a
constructor overload that did not exist on older platform changes with
no other source changes. In the interests of avoiding these headaches
for developers, remove it.

Bug 15933193

Change-Id: I01cf8dfa2341b9d9629331639433b59352e7e15a
/frameworks/base/core/java/android/widget/Toolbar.java
7901b2a54981b769bf27852c41ce612871a8e019 25-Jun-2014 Adam Powell <adamp@google.com> Set the default content description for Toolbars acting as action bars

Bug 15814044

Change-Id: I07c20de1349cb07f21eaf0db718da94c0ba7043d
/frameworks/base/core/java/android/widget/Toolbar.java
1a264ce3d915b187b71101436bec3328c76288b0 24-Jun-2014 Adam Powell <adamp@google.com> Add Toolbar methods to set title text colors

Bug 15836670

Change-Id: If62da4104853c772790597be44f7a1efde2505ef
/frameworks/base/core/java/android/widget/Toolbar.java
360c1d89227570510de7bb11195c986300488464 12-Jun-2014 Adam Powell <adamp@google.com> Enable collapsing empty Toolbar-based ActionBars above tabs

Fixes a regression where Toolbar ActionBars would hold empty space
when previous platform versions would collapse to tabs-only.

Bug 15573337

Change-Id: I6da379d2ed58e8ba8cadcd727606c7fc160ecf91
/frameworks/base/core/java/android/widget/Toolbar.java
e002c2fb39f9df1db38a7412832882ae622660d4 04-Jun-2014 Adam Powell <adamp@google.com> Implement action bar tab mode for Toolbar-based decor action bars

Coordinate between the stacked row, etc. Also fix a silly bug in
Toolbar child views with Gravity.BOTTOM.

Bug 15332084

Change-Id: Ie91b7d5255c63d9befcc65d7939c1523e018809f
/frameworks/base/core/java/android/widget/Toolbar.java
07a74548ae5c1e064508cb1c79ac34de1142b240 31-May-2014 Adam Powell <adamp@google.com> Further implementation for ToolbarActionBar

Integrate activity options menu and inline Toolbars. Fix a series of
small associated bugs.

Activities now (privately) offer several menu-related events directly
to the associated ActionBar. In the future this should help us
untangle some of the menu-based pasta in PhoneWindow.

Bug 15344598

Change-Id: I76211ad17d2bcbb58cf1d88914e855416d084ded
/frameworks/base/core/java/android/widget/Toolbar.java
7a32401c2a62f778da7056cc9aa65bd1489aa153 31-May-2014 Adam Powell <adamp@google.com> Collapse contentInsets and View margins in Toolbars

As content insets are meant to help line up the edges of views with
the content in adjacent ViewGroups, collapse individual view margins
with the insets to preserve this property. Margins still define a
minimum spacing between adjacent sibling views or the edges of the
Toolbar container.

Bug 15328526

Change-Id: I786ccdbed6b40930250fa22e2a6d0376d759f2d2
/frameworks/base/core/java/android/widget/Toolbar.java
ebba5d4edd763b19124b715a0f084d2f00c84a47 31-May-2014 Adam Powell <adamp@google.com> Fix action bar title TextAppearance usage for Toolbar decor

Pass through the appropriate action bar styles for title/subtitle
TextAppearance.

Bug 15345937

Change-Id: I93c648cf60b4a63498d127dbd6eac2c1fae33aa7
/frameworks/base/core/java/android/widget/Toolbar.java
8e5372fe93ee2ee3bf20baab9054b39b4c5043ce 29-May-2014 Adam Powell <adamp@google.com> Fix for setting Toolbar content descriptions

Allow resid 0 as a null content description.

Change-Id: I0663feac229a77d5efffece2bd686de4ee99d840
/frameworks/base/core/java/android/widget/Toolbar.java
e021e6ed8931a0a8296af182fc9b0c76b64fb0c4 24-May-2014 Adam Powell <adamp@google.com> Toolbar factoring and ActionBar functionality integration

Toolbars now can act in the role of ActionBar with the exception of
navigation modes. Expandable action views are now supported as well as
populating menu items from a host window.

Change-Id: If477db9c7ad9f95723f28cf73cbf03a07ce9d6ad
/frameworks/base/core/java/android/widget/Toolbar.java
76d8f968059d27ef8500cabf7690c18552c22d5a 15-May-2014 Adam Powell <adamp@google.com> Add content insets to Toolbar

Content insets allow a Toolbar to define horizontal gridlines for the
start/end or left/right edges of major content (not counting the
navigation button or menu). This allows apps to align their layout
content above or below a Toolbar with the title and other contents of
the bar by using app-defined measurements.

Change-Id: Ibd7e0810bf81070eb5f59a42ad3257f35bc0156a
/frameworks/base/core/java/android/widget/Toolbar.java
7a8a284d46c740e8b2cd1ccd088c0ba41e020642 15-May-2014 Adam Powell <adamp@google.com> Fix layout positioning for Toolbar

Fix a bug where the starting position was not properly updated for the
previous view's measured width.

Bug 14900794

Change-Id: I6064c5353abc83159cd4c7d6ccfce64640735791
/frameworks/base/core/java/android/widget/Toolbar.java
e43340c80dc66c45edc793ecd0343774aa34d108 18-Mar-2014 Adam Powell <adamp@google.com> android.widget.Toolbar

Add the new Toolbar widget for use in app layouts.

ActionBar can now be used as a point of control for either a
traditional window decor action bar or for a Toolbar that appears
inline in an Activity's layout.

ToolbarActionBar is currently WIP.

Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
/frameworks/base/core/java/android/widget/Toolbar.java