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

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

Issue 1307753002: [Offline pages] Adding capability to free up space used by Offline pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Converting jlongarray to std::vector<int64> Created 5 years, 4 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkItemsAdapter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkItemsAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698