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

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

Issue 1412423007: Modify Physical Web Nearby URLs list to resemble search results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/physical_web_list_item_nearby_url.xml
diff --git a/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml b/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml
new file mode 100644
index 0000000000000000000000000000000000000000..44b5dcee2ea06d6b2f0459af9d52ef7123dc3ffb
--- /dev/null
+++ b/chrome/android/java/res/layout/physical_web_list_item_nearby_url.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
agrieve 2015/10/22 18:53:07 Might be worth seeing if a RelativeLayout would al
+ android:orientation="vertical"
+ android:paddingStart="18dp"
+ android:paddingEnd="18dp"
+ android:paddingTop="18dp"
+ android:paddingBottom="18dp"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="#FFFFFF">
+
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:baselineAligned="false">
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_weight="11">
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textSize="20sp"
+ android:fontFamily="sans-serif"
+ android:textColor="@color/nearby_urls_header_color"
+ android:maxLines="1"
+ android:ellipsize="end">
+ </TextView>
+ <TextView
+ android:id="@+id/url"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textSize="14sp"
+ android:fontFamily="sans-serif"
+ android:textColor="@color/nearby_urls_url_color"
+ android:maxLines="1"
+ android:ellipsize="end">
+ </TextView>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_weight="1"
+ android:gravity="end">
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_marginTop="6dp"
+ android:contentDescription="@string/physical_web_favicon_content_description">
+ </ImageView>
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+ <TextView
+ android:id="@+id/description"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text=""
+ android:textSize="14sp"
+ android:fontFamily="arial-sans-serif"
+ android:textColor="@color/nearby_urls_description_color"
+ android:lines="2"
+ android:ellipsize="end"
+ android:lineSpacingExtra="1.5dp">
+ </TextView>
+ </LinearLayout>
+
+
+
+</LinearLayout>

Powered by Google App Engine
This is Rietveld 408576698