Skip to content

Commit

Permalink
Merge pull request #7664 from ashcoding/TIMOB-19769_Master
Browse files Browse the repository at this point in the history
[TIMOB-19769] Android: Fix for fullscreen behavior in Camera
  • Loading branch information
sriks committed Feb 2, 2016
2 parents c21ea65 + 625eef2 commit 9777bca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.view.WindowManager;
import android.widget.FrameLayout;

@SuppressWarnings("deprecation")
Expand Down Expand Up @@ -134,7 +135,8 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
@Override
public void onCreate(Bundle savedInstanceState)
{
setFullscreen(true);
// setting Fullscreen
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

super.onCreate(savedInstanceState);

Expand Down

0 comments on commit 9777bca

Please sign in to comment.