Fixed widget colors
This commit is contained in:
parent
9d1018c03c
commit
df21419b8b
13 changed files with 31 additions and 23 deletions
|
@ -2,8 +2,7 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/black">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/card"
|
||||
android:orientation="horizontal">
|
||||
android:backgroundTint="?attr/colorSurface"
|
||||
android:orientation="horizontal"
|
||||
android:theme="@style/Theme.AppWidget">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
@ -32,7 +34,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewBody1"
|
||||
android:textColor="@color/ate_primary_text_light"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:text="Title" />
|
||||
|
||||
<TextView
|
||||
|
@ -43,7 +45,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewCaption"
|
||||
android:textColor="@color/ate_secondary_text_light"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
tools:text="Text" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
android:id="@+id/content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/app_widget_classic_height"
|
||||
android:background="@color/md_black_1000"
|
||||
android:background="?attr/colorSurface"
|
||||
android:orientation="horizontal"
|
||||
android:theme="@style/Theme.AppWidget"
|
||||
tools:ignore="ContentDescription">
|
||||
|
||||
<ImageView
|
||||
|
@ -77,7 +78,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewSubtitle1"
|
||||
android:textColor="@color/ate_primary_text_dark"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:text="Title" />
|
||||
|
||||
<TextView
|
||||
|
@ -88,7 +89,7 @@
|
|||
android:paddingTop="4dp"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewNormal"
|
||||
android:textColor="@color/ate_secondary_text_dark"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
tools:text="Text" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/app_widget_md3_height"
|
||||
android:background="@drawable/app_widget_background"
|
||||
android:backgroundTint="@color/widget_md3_bg_color"
|
||||
android:backgroundTint="?attr/colorSurface"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="ContentDescription"
|
||||
android:theme="@style/Theme.Material3.DynamicColors.DayNight">
|
||||
android:theme="@style/Theme.AppWidget"
|
||||
tools:ignore="ContentDescription">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/card"
|
||||
android:backgroundTint="?attr/colorSurface"
|
||||
android:columnCount="2"
|
||||
android:gravity="top"
|
||||
android:rowCount="3">
|
||||
android:rowCount="3"
|
||||
android:theme="@style/Theme.AppWidget">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
@ -81,7 +83,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewBody2"
|
||||
android:textColor="@color/ate_primary_text_light"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:text="Title" />
|
||||
|
||||
<TextView
|
||||
|
@ -93,7 +95,7 @@
|
|||
android:paddingRight="4dp"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewBody1"
|
||||
android:textColor="@color/ate_secondary_text_light"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
tools:ignore="HardcodedText"
|
||||
tools:text="•" />
|
||||
|
||||
|
@ -104,7 +106,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextViewBody1"
|
||||
android:textColor="@color/ate_secondary_text_light"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
tools:text="Text" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue