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

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

Issue 1100283002: Add connection info popup within Page Info on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 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/connection_info.xml
diff --git a/chrome/android/java/res/layout/connection_info.xml b/chrome/android/java/res/layout/connection_info.xml
new file mode 100644
index 0000000000000000000000000000000000000000..78d3c9b21c78c49e5a4722de5b821442994b6baa
--- /dev/null
+++ b/chrome/android/java/res/layout/connection_info.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2015 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.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/connection_info_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@null" />
+
+ <LinearLayout
+ android:id="@+id/connection_info_text_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingStart="@dimen/connection_info_padding_thin" >
+
+ <TextView
+ android:id="@+id/connection_info_headline"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/connection_info_padding_thin"
+ android:textStyle="bold"
+ android:textColor="@color/connection_info_popup_text" />
+
+ <TextView
+ android:id="@+id/connection_info_description"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@color/connection_info_popup_text" />
+ </LinearLayout>
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698