Skip to content

Commit

Permalink
1.扫描界面增加闪光灯,如果设备不支持闪光灯,则自动隐藏闪光灯按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhiqiang1993 committed Jul 31, 2017
1 parent 0c6735b commit ba660cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zxinglibrary/src/main/res/layout/capture.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
android:textSize="20sp" />

<ImageView
android:scaleType="fitCenter"
android:id="@+id/flashLightIv"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/capture_imageview_back"
Expand Down

0 comments on commit ba660cc

Please sign in to comment.