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

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

Issue 2809923003: [Home] Add a Chrome Home specific incognito NTP (Closed)
Patch Set: [Home] Add a Chrome Home specific incognito NTP 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
Index: chrome/android/java/res/layout/chrome_home_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_new_tab_page.xml
index 082e7a696a9a2be14e6ea72ba0e1f0402e4ad884..559617f5681eb3797ad7345c4bd817fb23e5aec4 100644
--- a/chrome/android/java/res/layout/chrome_home_new_tab_page.xml
+++ b/chrome/android/java/res/layout/chrome_home_new_tab_page.xml
@@ -16,7 +16,7 @@
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"
@@ -25,7 +25,8 @@
<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"
@@ -42,13 +43,13 @@
</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>

Powered by Google App Engine
This is Rietveld 408576698