OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <ListView xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 android:id="@+id/bookmarks_list" |
7 android:layout_width="match_parent" | 8 android:layout_width="match_parent" |
8 android:layout_height="match_parent" > | 9 android:layout_height="match_parent" |
9 | 10 android:background="#ddffffff" |
10 <GridView | 11 android:divider="@null" |
11 android:id="@+id/bookmarks_list" | 12 android:drawSelectorOnTop="true" |
12 android:layout_width="match_parent" | 13 android:listSelector="@drawable/bookmark_widget_list_selector" /> |
13 android:layout_height="match_parent" | |
14 android:background="@drawable/bg_bookmarks_widget_holo" | |
15 android:columnWidth="@dimen/widget_column_width" | |
16 android:drawSelectorOnTop="true" | |
17 android:horizontalSpacing="@dimen/widget_horizontal_spacing" | |
18 android:listSelector="@drawable/bookmark_widget_thumb_selector" | |
19 android:numColumns="auto_fit" | |
20 android:stretchMode="columnWidth" | |
21 android:verticalSpacing="@dimen/widget_vertical_spacing" /> | |
22 | |
23 <ImageButton | |
24 android:id="@+id/app_shortcut" | |
25 android:layout_width="wrap_content" | |
26 android:layout_height="wrap_content" | |
27 android:layout_alignParentBottom="true" | |
28 android:layout_alignParentEnd="true" | |
29 android:layout_marginBottom="4dp" | |
30 android:layout_marginEnd="4dp" | |
31 android:background="@drawable/bookmark_widget_thumb_selector" | |
32 android:padding="4dp" | |
33 android:src="@mipmap/app_icon" | |
34 android:contentDescription="@string/accessibility_bookmark_widget_thumb_
launch_chrome" /> | |
35 | |
36 </RelativeLayout> | |
OLD | NEW |