Chromium Code Reviews| 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> |