Index: chrome/android/java/res/layout/eb_offline_pages_storage_space_header.xml |
diff --git a/chrome/android/java/res/layout/eb_promo_header.xml b/chrome/android/java/res/layout/eb_offline_pages_storage_space_header.xml |
similarity index 67% |
copy from chrome/android/java/res/layout/eb_promo_header.xml |
copy to chrome/android/java/res/layout/eb_offline_pages_storage_space_header.xml |
index 99169b8e1bbc0d6c6c996a418fdcee43df7e3bf0..0e147244d7fb50b0446e431f76a8486aeaf3f7a0 100644 |
--- a/chrome/android/java/res/layout/eb_promo_header.xml |
+++ b/chrome/android/java/res/layout/eb_offline_pages_storage_space_header.xml |
@@ -5,6 +5,7 @@ |
Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. |
--> |
+<!-- TODO(kkimlabs): Generalize and unify with eb_promo_header.xml --> |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:chrome="http://schemas.android.com/apk/res-auto" |
android:layout_width="match_parent" |
@@ -13,20 +14,18 @@ |
android:padding="16dp" > |
<TextView |
- android:id="@+id/title" |
android:layout_width="wrap_content" |
android:layout_height="wrap_content" |
- android:text="@string/enhanced_bookmark_sign_in_promo_title" |
+ android:text="@string/offline_pages_storage_space_title" |
android:textColor="@color/default_text_color" |
android:textSize="16sp" |
android:textStyle="bold" /> |
<TextView |
- android:id="@+id/description" |
+ android:id="@+id/storage_header_message" |
android:layout_width="wrap_content" |
android:layout_height="wrap_content" |
android:layout_marginTop="8dp" |
- android:text="@string/enhanced_bookmark_sign_in_promo_description" |
android:textColor="@color/default_text_color" |
android:textSize="14sp" /> |
@@ -39,24 +38,14 @@ |
android:orientation="horizontal" > |
<Button |
- android:id="@+id/no_thanks" |
+ android:id="@+id/storage_header_button" |
style="@style/ButtonCompatBorderless" |
android:layout_width="wrap_content" |
android:layout_height="wrap_content" |
- android:text="@string/enhanced_bookmark_sign_in_promo_no_thanks" |
+ android:text="@string/offline_pages_free_up_space_title" |
android:textAllCaps="true" |
android:textColor="@color/light_active_color" |
android:textSize="15sp" /> |
- |
- <org.chromium.ui.widget.ButtonCompat |
- android:id="@+id/sign_in" |
- android:layout_width="wrap_content" |
- android:layout_height="wrap_content" |
- android:text="@string/enhanced_bookmark_sign_in_promo_sign_in" |
- android:textAllCaps="true" |
- android:textColor="@android:color/white" |
- android:textSize="15sp" |
- chrome:buttonColor="@color/light_active_color" /> |
</LinearLayout> |
</LinearLayout> |