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 |