| 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 <!-- The container for the Google G is kept at a fixed width to make the horizon
tal translation | |
| 7 calculations work. The contents are end-aligned, so when the location bar e
xpands, | |
| 8 the space in the start margin will be pushed out, creating the effect of bo
th margins | |
| 9 shrinking simultaneously. --> | |
| 10 <FrameLayout | |
| 11 xmlns:android="http://schemas.android.com/apk/res/android" | |
| 12 android:layout_width="@dimen/location_bar_google_g_container_width" | |
| 13 android:layout_height="match_parent" > | |
| 14 | |
| 15 <ImageView android:id="@+id/google_g" | |
| 16 style="@style/LocationBarButton" | |
| 17 android:layout_width="@dimen/location_bar_google_g_width" | |
| 18 android:layout_height="match_parent" | |
| 19 android:layout_marginEnd="@dimen/location_bar_google_g_margin" | |
| 20 android:layout_gravity="end" | |
| 21 android:scaleType="fitCenter" | |
| 22 android:src="@drawable/googleg" | |
| 23 android:contentDescription="@null" /> | |
| 24 | |
| 25 </FrameLayout> | |
| OLD | NEW |