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

Unified Diff: chrome/android/java/res/layout/new_tab_page.xml

Issue 1398423002: Add progressbar to animated doodle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: chrome/android/java/res/layout/new_tab_page.xml
diff --git a/chrome/android/java/res/layout/new_tab_page.xml b/chrome/android/java/res/layout/new_tab_page.xml
index 7ffd32276eadc2a1dfb4e06545fa33a43da0497e..20415ed3439f377417a970b96fab7edcc5a184ca 100644
--- a/chrome/android/java/res/layout/new_tab_page.xml
+++ b/chrome/android/java/res/layout/new_tab_page.xml
@@ -43,15 +43,27 @@
android:visibility="invisible" />
<!-- Search provider logo -->
- <org.chromium.chrome.browser.ntp.LogoView
- android:id="@+id/search_provider_logo"
+ <FrameLayout
android:layout_width="wrap_content"
- android:layout_height="@dimen/ntp_logo_height"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp"
- android:layout_marginTop="26dp"
- android:layout_marginBottom="30dp"
- android:src="@drawable/google_logo" />
+ android:layout_height="wrap_content" >
+
+ <org.chromium.chrome.browser.ntp.LogoView
newt (away) 2015/10/13 05:24:59 You could just make the LogoView extend FrameLayou
Ian Wen 2015/10/26 22:45:37 Done.
+ android:id="@+id/search_provider_logo"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/ntp_logo_height"
+ android:layout_marginBottom="30dp"
+ android:layout_marginEnd="16dp"
+ android:layout_marginStart="16dp"
+ android:layout_marginTop="26dp"
+ android:src="@drawable/google_logo" />
+
+ <org.chromium.chrome.browser.widget.LoadingView
newt (away) 2015/10/13 05:24:59 don't you need to add a ProgressBar inside the Loa
Ian Wen 2015/10/26 22:45:37 Done.
+ android:id="@+id/loading_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center" />
+
+ </FrameLayout>
<!-- Search box -->
<LinearLayout

Powered by Google App Engine
This is Rietveld 408576698