File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
common/common-ui/src/main/res/drawable
saved-sites/saved-sites-impl/src/main/res Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 20
20
android : dashWidth =" 4dp"
21
21
android : dashGap =" 4dp"
22
22
android : color =" ?attr/daxColorLines" />
23
- <corners android : radius =" @dimen/smallShapeCornerRadius " />
23
+ <corners android : radius =" @dimen/mediumShapeCornerRadius " />
24
24
</shape >
Original file line number Diff line number Diff line change 29
29
android : layout_height =" @dimen/gridItemImageSize"
30
30
android : layout_gravity =" center_horizontal"
31
31
app : cardBackgroundColor =" ?attr/daxColorSurface"
32
- app : cardCornerRadius =" @dimen/smallShapeCornerRadius "
32
+ app : cardCornerRadius =" @dimen/mediumShapeCornerRadius "
33
33
tools : visibility =" gone"
34
- app : cardElevation =" 2dp " >
34
+ app : cardElevation =" 0dp " >
35
35
36
- <ImageView
36
+ <com .google.android.material.imageview.ShapeableImageView
37
37
android : id =" @+id/quickAccessFavicon"
38
- android : layout_width =" @dimen/gridItemImageSize"
39
- android : layout_height =" @dimen/gridItemImageSize"
38
+ android : layout_width =" match_parent"
39
+ android : layout_height =" match_parent"
40
+ android : padding =" @dimen/keyline_2"
40
41
android : layout_gravity =" center"
42
+ app : shapeAppearanceOverlay =" @style/Widget.DuckDuckGo.FavouritesItemFavicon"
41
43
android : importantForAccessibility =" no" />
42
44
43
45
</com .google.android.material.card.MaterialCardView>
Original file line number Diff line number Diff line change 21
21
<item name =" android:layout_height" >match_parent</item >
22
22
<item name =" isExpandable" >true</item >
23
23
</style >
24
+ <style name =" Widget.DuckDuckGo.FavouritesItemFavicon" >
25
+ <item name =" cornerFamily" >rounded</item >
26
+ <item name =" cornerSize" >@dimen/smallShapeCornerRadius</item >
27
+ </style >
24
28
</resources >
You can’t perform that action at this time.
0 commit comments