Update default favicon drawable

This commit is contained in:
Koitharu
2023-07-01 17:44:16 +03:00
parent a726b4f499
commit 55fdd6b7b1
7 changed files with 87 additions and 21 deletions

View File

@@ -18,8 +18,11 @@
android:layout_height="72dp"
android:background="?colorControlHighlight"
android:labelFor="@id/textView_title"
android:padding="1dp"
android:scaleType="fitCenter"
app:shapeAppearance="?shapeAppearanceCornerMedium"
app:strokeColor="?colorOutline"
app:strokeWidth="1dp"
tools:src="@tools:sample/avatars" />
<TextView

View File

@@ -116,9 +116,16 @@
<attr name="shapeAppearance" />
<attr name="shapeAppearanceOverlay" />
<attr name="cardBackgroundColor" />
<attr name="strokeWidth"/>
<attr name="strokeWidth" />
<attr name="strokeColor" />
<attr name="elevation" />
</declare-styleable>
</declare-styleable>
<declare-styleable name="FaviconFallbackDrawable">
<attr name="backgroundColor" />
<attr name="strokeColor" />
<attr name="strokeWidth" />
<attr name="cornerSize" />
</declare-styleable>
</resources>

View File

@@ -287,7 +287,7 @@
<item name="android:selectable">false</item>
</style>
<!-- Progress drawable -->
<!-- Drawable -->
<style name="ProgressDrawable">
<item name="android:fillAlpha">1</item>
@@ -299,4 +299,19 @@
<item name="autoFitTextSize">true</item>
</style>
<style name="FaviconDrawable">
<item name="backgroundColor">?colorBackgroundFloating</item>
<item name="strokeColor">?colorOutline</item>
</style>
<style name="FaviconDrawable.Small">
<item name="strokeWidth">1dp</item>
<item name="cornerSize">8dp</item>
</style>
<style name="FaviconDrawable.Large">
<item name="strokeWidth">1dp</item>
<item name="cornerSize">12dp</item>
</style>
</resources>