Index: chrome/android/java/res/layout/chrome_home_incognito_new_tab_page.xml |
diff --git a/chrome/android/java/res/layout/chrome_home_new_tab_page.xml b/chrome/android/java/res/layout/chrome_home_incognito_new_tab_page.xml |
similarity index 64% |
copy from chrome/android/java/res/layout/chrome_home_new_tab_page.xml |
copy to chrome/android/java/res/layout/chrome_home_incognito_new_tab_page.xml |
index 082e7a696a9a2be14e6ea72ba0e1f0402e4ad884..346a5869fce228dab6b1581bd60fd5b4f3c375c9 100644 |
--- a/chrome/android/java/res/layout/chrome_home_new_tab_page.xml |
+++ b/chrome/android/java/res/layout/chrome_home_incognito_new_tab_page.xml |
@@ -10,45 +10,46 @@ |
android:layout_height="match_parent" |
android:focusable="true" |
android:focusableInTouchMode="true" |
- android:background="@android:color/white" > |
+ android:background="@color/ntp_bg_incognito" > |
<org.chromium.chrome.browser.widget.TintedImageButton |
android:id="@+id/close_button" |
android:layout_width="40dp" |
android:layout_height="40dp" |
- android:layout_gravity="top|start" |
+ android:layout_gravity="top|end" |
android:src="@drawable/btn_close" |
android:scaleType="center" |
android:background="@android:color/transparent" |
- chrome:tint="@color/dark_mode_tint" /> |
+ chrome:tint="@color/light_mode_tint" /> |
<LinearLayout |
android:layout_width="match_parent" |
android:layout_height="match_parent" |
- android:orientation="vertical" > |
+ android:orientation="vertical" |
+ android:clipChildren="false" > |
<FrameLayout |
android:layout_width="match_parent" |
android:layout_height="0dp" |
- android:layout_weight="0.5" > |
+ android:layout_weight="0.5" |
+ android:layout_marginTop="10dp" > |
- <org.chromium.chrome.browser.ntp.LogoView |
- android:id="@+id/search_provider_logo" |
- android:layout_width="match_parent" |
- android:layout_height="@dimen/ntp_logo_height" |
- android:layout_marginStart="16dp" |
- android:layout_marginEnd="16dp" |
- android:layout_gravity="center" /> |
+ <ImageView |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:contentDescription="@null" |
+ android:layout_gravity="center" |
+ android:src="@drawable/incognito_splash"/> |
</FrameLayout> |
- <!-- This extra empty frame layout is used to ensure the FrameLayout above |
- is half of the parent view's height. --> |
+ <!-- This extra empty frame layout is used to ensure the FrameLayout |
+ above is half of the parent view's height. --> |
<FrameLayout |
android:layout_width="match_parent" |
android:layout_height="0dp" |
android:layout_weight="0.5" |
- android:background="@android:color/white" /> |
+ android:background="@android:color/transparent" /> |
</LinearLayout> |