Skip to content

Commit

Permalink
闪光灯有问题 暂时隐藏闪光灯按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhiqiang1993 committed Aug 25, 2017
1 parent 2d1f03c commit 5304bb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.google.zxing.Result;
import com.yzq.zxinglibrary.Consants;
import com.yzq.zxinglibrary.R;

import com.yzq.zxinglibrary.camera.CameraManager;
import com.yzq.zxinglibrary.view.ViewfinderView;

Expand Down Expand Up @@ -92,6 +93,7 @@ public void onCreate(Bundle icicle) {
inactivityTimer = new InactivityTimer(this);
beepManager = new BeepManager(this);


imageButton_back = (ImageButton) findViewById(R.id.capture_imageview_back);
flashLightIv = (ImageView) findViewById(R.id.flashLightIv);

Expand Down
1 change: 1 addition & 0 deletions zxinglibrary/src/main/res/layout/capture.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
android:layout_height="42dp"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:visibility="gone"
android:layout_alignTop="@+id/capture_imageview_back"
android:src="@drawable/open" />

Expand Down

0 comments on commit 5304bb3

Please sign in to comment.