Skip to content

Commit

Permalink
Fixed bug: app:srcCompat doesn't work for widget. Restored android:src.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Adams committed Jan 3, 2025
1 parent 97f6056 commit 804b0e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/src/main/res/layout/widget_tasks.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rl_widget_task_group_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">


<ImageView
android:layout_width="28dp"
android:layout_height="28dp"
Expand All @@ -15,7 +13,7 @@
android:layout_marginStart="12dp"
android:background="@drawable/border_img_view"
android:visibility="invisible"
app:srcCompat="@drawable/done"
android:src="@drawable/done"
android:id="@+id/widget_done"/>

<ImageView
Expand Down Expand Up @@ -50,7 +48,4 @@
android:background="@color/lightBlue"
android:layout_alignBottom="@id/tv_widget_task_name"/>




</RelativeLayout>

0 comments on commit 804b0e3

Please sign in to comment.