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

Unified Diff: chrome/android/java/res/layout/location_bar.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/layout/location_bar_google_g.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/location_bar.xml
diff --git a/chrome/android/java/res/layout/location_bar.xml b/chrome/android/java/res/layout/location_bar.xml
index 246255d4aa2394f468321b0760da8481a86f0f92..586368f62e81791696711b7900cee3eb93366461 100644
--- a/chrome/android/java/res/layout/location_bar.xml
+++ b/chrome/android/java/res/layout/location_bar.xml
@@ -5,25 +5,11 @@
<!-- The location bar also know as URL bar -->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
- <!-- The container for the Google G is kept at a fixed width to make the horizonal translation
- calculations work. The contents are end-aligned, so when the location bar expands,
- the space in the start margin will be pushed out, creating the effect of both margins
- shrinking simultaneously. -->
- <FrameLayout android:id="@+id/google_g_container"
+ <ViewStub
+ android:id="@+id/google_g_container_stub"
android:layout_width="@dimen/location_bar_google_g_container_width"
- android:layout_height="match_parent" >
-
- <ImageView android:id="@+id/google_g"
- style="@style/LocationBarButton"
- android:layout_width="@dimen/location_bar_google_g_width"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/location_bar_google_g_margin"
- android:layout_gravity="end"
- android:scaleType="fitCenter"
- android:src="@drawable/googleg"
- android:contentDescription="@null" />
-
- </FrameLayout>
+ android:layout_height="match_parent"
+ android:layout="@layout/location_bar_google_g" />
<ImageView android:id="@+id/incognito_badge"
style="@style/LocationBarButton"
« no previous file with comments | « no previous file | chrome/android/java/res/layout/location_bar_google_g.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698