File tree 5 files changed +60
-0
lines changed
5 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?><!--
2
+ ~ Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
3
+ -->
4
+
5
+ <shape xmlns : android =" http://schemas.android.com/apk/res/android" >
6
+ <solid android : color =" @color/primaryColor" />
7
+ <corners android : radius =" 15dp" />
8
+ <padding android : left =" 0dp" android : top =" 0dp" android : right =" 0dp" android : bottom =" 0dp" />
9
+ </shape >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?><!--
2
+ ~ Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
3
+ -->
4
+
5
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
6
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
7
+ android : orientation =" vertical"
8
+ android : layout_width =" 30dp"
9
+ android : layout_height =" 30dp"
10
+ android : layout_gravity =" center"
11
+ android : background =" @drawable/shape_rounded_primary" >
12
+
13
+ <ImageView
14
+ android : layout_width =" match_parent"
15
+ android : layout_height =" match_parent"
16
+ android : contentDescription =" @string/widget_sync_all_accounts"
17
+ android : src =" @drawable/ic_sync"
18
+ android : padding =" 4dp"
19
+ app : tint =" @android:color/white" />
20
+
21
+ </LinearLayout >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?><!--
2
+ ~ Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
3
+ -->
4
+
5
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
6
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
7
+ android : orientation =" horizontal"
8
+ android : layout_width =" 150dp"
9
+ android : layout_height =" 30dp"
10
+ android : layout_gravity =" center"
11
+ android : gravity =" center_vertical"
12
+ android : background =" @drawable/shape_rounded_primary" >
13
+
14
+ <ImageView
15
+ android : layout_width =" 24dp"
16
+ android : layout_height =" match_parent"
17
+ android : contentDescription =" @string/widget_sync_all_accounts"
18
+ android : src =" @drawable/ic_sync"
19
+ android : padding =" 4dp"
20
+ app : tint =" @android:color/white" />
21
+
22
+ <TextView
23
+ android : layout_width =" fill_parent"
24
+ android : layout_height =" wrap_content"
25
+ android : textColor =" @android:color/white"
26
+ android : text =" @string/widget_sync_all" />
27
+
28
+ </LinearLayout >
Original file line number Diff line number Diff line change 7
7
android : targetCellWidth =" 1"
8
8
android : targetCellHeight =" 1"
9
9
android : resizeMode =" none"
10
+ android : previewLayout =" @layout/widget_preview_icon_sync_button"
10
11
android : description =" @string/widget_icon_sync_description"
11
12
tools : ignore =" UnusedAttribute" >
12
13
</appwidget-provider >
Original file line number Diff line number Diff line change 9
9
android : maxResizeWidth =" 250dp"
10
10
android : maxResizeHeight =" 30dp"
11
11
android : resizeMode =" horizontal"
12
+ android : previewLayout =" @layout/widget_preview_labeled_sync_button"
12
13
android : description =" @string/widget_labeled_sync_description"
13
14
tools : ignore =" UnusedAttribute" >
14
15
</appwidget-provider >
You can’t perform that action at this time.
0 commit comments