Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: chrome/android/java/res/drawable/bottom_toolbar_shadow.xml

Issue 2780693002: [Home] Toolbar shadow v1 (Closed)
Patch Set: dfalcantara@ review Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/bottom_control_container.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/drawable/bottom_toolbar_shadow.xml
diff --git a/chrome/android/java/res/drawable/bottom_toolbar_shadow.xml b/chrome/android/java/res/drawable/bottom_toolbar_shadow.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e1a4e41026a9d5a244c363fae0e4adad95895b08
--- /dev/null
+++ b/chrome/android/java/res/drawable/bottom_toolbar_shadow.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<!-- ToolbarPhone uses this drawable to transition between shadows when
+ the omnibox focus changes. The bottom toolbar should not have a shadow
+ when the omnibox is unfocused so this TransitionDrawable uses an empty
+ shape for the focused drawable item.
+ TODO(twellington): Remove this after UX has a spec'ed out what the
+ bottom toolbar omnibox un/focus animations should look like. -->
+<transition xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape
+ android:shape="rectangle"
+ android:gravity="top|fill_horizontal" >
+ </shape>
+ </item>
+ <item>
+ <bitmap
+ android:src="@drawable/toolbar_shadow_focused"
+ android:gravity="top|fill_horizontal" />
+ </item>
+</transition>
« no previous file with comments | « no previous file | chrome/android/java/res/layout/bottom_control_container.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698