Skip to content

Commit

Permalink
解决三方包attr命名冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
lyz committed Mar 23, 2023
1 parent d6ee39c commit 4b06ecd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions picture_library/src/main/res/values/values.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
<enum name="centerCrop" value="0" />
<enum name="centerInside" value="1" />
</attr>
<attr name="lensFacing" format="enum">
<attr name="PictureSelector_lensFacing" format="enum">
<enum name="none" value="0" />
<enum name="front" value="1" />
<enum name="back" value="2" />
</attr>
<attr name="captureMode" format="enum">
<attr name="PictureSelector_captureMode" format="enum">
<enum name="image" value="0" />
<enum name="video" value="1" />
<enum name="mixed" value="2" />
</attr>
<attr name="flash" format="enum">
<attr name="PictureSelector_flash" format="enum">
<enum name="auto" value="1" />
<enum name="on" value="2" />
<enum name="off" value="4" />
</attr>

<attr name="pinchToZoomEnabled" format="boolean" />
<attr name="PictureSelector_pinchToZoomEnabled" format="boolean" />
</declare-styleable>
<declare-styleable name="PreviewView">
<attr name="implementationMode" format="enum">
<attr name="PictureSelector_implementationMode" format="enum">
<enum name="surfaceView" value="0" />
<enum name="textureView" value="1" />
</attr>
Expand Down

0 comments on commit 4b06ecd

Please sign in to comment.