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

Side by Side Diff: chrome/android/java/res/layout/location_bar_google_g.xml

Issue 2806753003: 🔍 Hide the Google G by default (Closed)
Patch Set: 🔍 Hide the Google G by default Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698