Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
android:dashWidth="4dp"
android:dashGap="4dp"
android:color="?attr/daxColorLines" />
<corners android:radius="@dimen/smallShapeCornerRadius" />
<corners android:radius="@dimen/mediumShapeCornerRadius" />
</shape>
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@
android:layout_height="@dimen/gridItemImageSize"
android:layout_gravity="center_horizontal"
app:cardBackgroundColor="?attr/daxColorSurface"
app:cardCornerRadius="@dimen/smallShapeCornerRadius"
app:cardCornerRadius="@dimen/mediumShapeCornerRadius"
tools:visibility="gone"
app:cardElevation="2dp">
app:cardElevation="0dp">

<ImageView
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/quickAccessFavicon"
android:layout_width="@dimen/gridItemImageSize"
android:layout_height="@dimen/gridItemImageSize"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/keyline_2"
android:layout_gravity="center"
app:shapeAppearanceOverlay="@style/Widget.DuckDuckGo.FavouritesItemFavicon"
android:importantForAccessibility="no" />

</com.google.android.material.card.MaterialCardView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@
<item name="android:layout_height">match_parent</item>
<item name="isExpandable">true</item>
</style>
<style name="Widget.DuckDuckGo.FavouritesItemFavicon">
<item name="cornerFamily">rounded</item>
<item name="cornerSize">@dimen/smallShapeCornerRadius</item>
</style>
</resources>
Loading