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 openhab#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 14, 2024
1 parent a783be8 commit 10788cc
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 10788cc

Please sign in to comment.