use theme color for alt badge text

This commit is contained in:
sk
2023-07-20 23:39:11 +02:00
parent 67952ea98e
commit 996f0b22b9
3 changed files with 6 additions and 6 deletions

View File

@@ -33,7 +33,7 @@
android:layout_marginEnd="4dp"
android:importantForAccessibility="no"
android:textAppearance="@style/m3_label_large"
android:textColor="#FFF"
android:textColor="?colorM3DarkOnSurface"
android:gravity="center"
android:includeFontPadding="false"
android:background="@drawable/bg_image_alt_overlay"

View File

@@ -34,7 +34,7 @@
android:layout_marginEnd="4dp"
android:importantForAccessibility="no"
android:textAppearance="@style/m3_label_large"
android:textColor="#FFF"
android:textColor="?colorM3DarkOnSurface"
android:gravity="center"
android:includeFontPadding="false"
android:background="@drawable/bg_image_alt_overlay"

View File

@@ -22,7 +22,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/m3_label_large"
android:textColor="?colorGray25"
android:textColor="?colorM3DarkOnSurface"
android:gravity="center"
android:includeFontPadding="false"
android:paddingHorizontal="6dp"
@@ -36,7 +36,7 @@
android:layout_height="40dp"
android:layout_gravity="end|top"
android:src="@drawable/ic_baseline_close_24"
android:tint="#FFF"
android:tint="?colorM3DarkOnSurface"
android:background="?android:actionBarItemBackground"/>
<org.joinmastodon.android.ui.views.NestableScrollView
@@ -58,7 +58,7 @@
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:textAppearance="@style/m3_body_medium"
android:textColor="#FFF"
android:textColor="?colorM3DarkOnSurface"
tools:text="Alt text goes here"/>
<TextView
@@ -69,7 +69,7 @@
android:layout_marginEnd="8dp"
android:layout_marginStart="14dp"
android:textAppearance="@style/m3_label_large"
android:textColor="?colorGray25"
android:textColor="?colorM3DarkOnSurface"
android:text="@string/sk_no_alt_text"/>
</LinearLayout>