OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> |
| 5 |
| 6 <!-- ToolbarPhone uses this drawable to transition between shadows when |
| 7 the omnibox focus changes. The bottom toolbar should not have a shadow |
| 8 when the omnibox is unfocused so this TransitionDrawable uses an empty |
| 9 shape for the focused drawable item. |
| 10 TODO(twellington): Remove this after UX has a spec'ed out what the |
| 11 bottom toolbar omnibox un/focus animations should look like. --> |
| 12 <transition xmlns:android="http://schemas.android.com/apk/res/android"> |
| 13 <item> |
| 14 <shape |
| 15 android:shape="rectangle" |
| 16 android:gravity="top|fill_horizontal" > |
| 17 </shape> |
| 18 </item> |
| 19 <item> |
| 20 <bitmap |
| 21 android:src="@drawable/toolbar_shadow_focused" |
| 22 android:gravity="top|fill_horizontal" /> |
| 23 </item> |
| 24 </transition> |
OLD | NEW |