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

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

Issue 1845853003: Split the footer in ClearBrowsingDataPreferences into two paragraphs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed icons, added annotation. Created 4 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/text_message_with_link_and_icon_preference.xml
diff --git a/chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml b/chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml
new file mode 100644
index 0000000000000000000000000000000000000000..cb7a765925a1809a422c71289a11e679cd1e7ecb
--- /dev/null
+++ b/chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2016 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<!-- Layout used by the TextMessageWithLinkAndIconPreference. -->
+
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/PreferenceLayout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <ImageView
+ android:id="@+android:id/icon"
+ android:contentDescription="@null"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top" />
+
+ <org.chromium.ui.widget.TextViewWithClickableSpans
+ android:id="@+android:id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toEndOf="@android:id/icon"
+ android:layout_alignTop="@android:id/icon"
+ android:layout_marginStart="16dp"
+ style="@style/PreferenceTitle" />
+
+ <org.chromium.ui.widget.TextViewWithClickableSpans
+ android:id="@+android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@android:id/title"
+ android:layout_toEndOf="@android:id/icon"
+ android:layout_marginStart="16dp"
+ style="@style/PreferenceSummary" />
+
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698