OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2017 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 <!-- This widget automatically updates once per day, and whenever Chrome starts
up. --> |
6 <appwidget-provider | 7 <appwidget-provider |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 8 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:minWidth="250dp" | 9 android:minWidth="250dp" |
9 android:minHeight="56dp" | 10 android:minHeight="56dp" |
10 android:initialLayout="@layout/search_widget_template" | 11 android:initialLayout="@layout/search_widget_template" |
| 12 android:previewImage="@drawable/widget_preview" |
11 android:resizeMode="horizontal" | 13 android:resizeMode="horizontal" |
12 android:updatePeriodMillis="86400000"> <!-- Once per day --> | 14 android:updatePeriodMillis="86400000" |
13 </appwidget-provider> | 15 android:widgetCategory="home_screen|searchbox" /> |
OLD | NEW |