Skip to content

Commit

Permalink
Fix tools:src not working for WidgetImageView
Browse files Browse the repository at this point in the history
This broke when WidgetImageView was changed to no longer be derived from
ImageView in #3787. Since WidgetImageView passes all view attributes to
its internal ImageView instance, let the framework know that this is the
case.

Signed-off-by: Danny Baumann <[email protected]>
  • Loading branch information
maniac103 committed Aug 16, 2024
1 parent dfa4b57 commit b177f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mobile/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<enum name="scaleToFitWithViewAdjustment" value="2" />
<enum name="scaleToFitWithViewAdjustmentDownscaleOnly" value="3" />
</attr>
<attr name="android:src" />
</declare-styleable>

<declare-styleable name="ItemAndTogglePreference">
Expand Down

0 comments on commit b177f67

Please sign in to comment.