Change about icons to direct reference

This commit is contained in:
Wolf-Martell Montwé 2024-05-07 11:46:46 +02:00
parent 5b25f30228
commit 15682b7796
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
3 changed files with 7 additions and 31 deletions

View file

@ -47,7 +47,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutVersion" />
app:srcCompat="@drawable/ic_info" />
<LinearLayout
android:layout_width="match_parent"
@ -88,7 +88,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutAuthors" />
app:srcCompat="@drawable/ic_people" />
<LinearLayout
android:layout_width="match_parent"
@ -128,7 +128,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutSourceCode" />
app:srcCompat="@drawable/ic_code" />
<LinearLayout
android:layout_width="match_parent"
@ -168,7 +168,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutLicense" />
app:srcCompat="@drawable/ic_description" />
<LinearLayout
android:layout_width="match_parent"
@ -218,7 +218,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutWebsite" />
app:srcCompat="@drawable/ic_link" />
<LinearLayout
android:layout_width="match_parent"
@ -258,7 +258,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconUserForum" />
app:srcCompat="@drawable/ic_forum" />
<LinearLayout
android:layout_width="match_parent"
@ -298,7 +298,7 @@
android:layout_height="24dp"
android:layout_gravity="center"
android:contentDescription="@null"
app:srcCompat="?attr/iconAboutFediverse" />
app:srcCompat="@drawable/ic_mastodon" />
<LinearLayout
android:layout_width="match_parent"

View file

@ -54,14 +54,6 @@
<attr name="tintColorBulletPointNeutral" format="reference|color"/>
<attr name="tintColorBulletPointNegative" format="reference|color"/>
<attr name="iconAboutVersion" format="reference"/>
<attr name="iconAboutAuthors" format="reference"/>
<attr name="iconAboutSourceCode" format="reference"/>
<attr name="iconAboutLicense" format="reference"/>
<attr name="iconAboutWebsite" format="reference"/>
<attr name="iconAboutFediverse" format="reference"/>
<attr name="iconUserForum" format="reference"/>
<attr name="unencryptedAttachmentUnlock" format="reference|color" />
<attr name="openpgp_black" format="reference|color" />
<attr name="openpgp_orange" format="reference|color" />

View file

@ -123,14 +123,6 @@
<item name="tintColorBulletPointNegative">#dd2222</item>
<item name="tintColorBulletPointNeutral">#888</item>
<item name="iconAboutVersion">@drawable/ic_info</item>
<item name="iconAboutAuthors">@drawable/ic_people</item>
<item name="iconAboutSourceCode">@drawable/ic_code</item>
<item name="iconAboutLicense">@drawable/ic_description</item>
<item name="iconAboutWebsite">@drawable/ic_link</item>
<item name="iconUserForum">@drawable/ic_forum</item>
<item name="iconAboutFediverse">@drawable/ic_mastodon</item>
<item name="unencryptedAttachmentUnlock">@drawable/ic_visibility</item>
<item name="openpgp_black">#000</item>
<item name="openpgp_orange">#FF8800</item>
@ -267,14 +259,6 @@
<item name="tintColorBulletPointNegative">#dd2222</item>
<item name="tintColorBulletPointNeutral">#bbb</item>
<item name="iconAboutVersion">@drawable/ic_info</item>
<item name="iconAboutAuthors">@drawable/ic_people</item>
<item name="iconAboutSourceCode">@drawable/ic_code</item>
<item name="iconAboutLicense">@drawable/ic_description</item>
<item name="iconAboutWebsite">@drawable/ic_link</item>
<item name="iconUserForum">@drawable/ic_forum</item>
<item name="iconAboutFediverse">@drawable/ic_mastodon</item>
<item name="unencryptedAttachmentUnlock">@drawable/ic_visibility</item>
<item name="openpgp_black">#fff</item>
<item name="openpgp_orange">#ee7700</item>