Skip to content

Commit

Permalink
- android draw fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prscms committed Dec 1, 2019
1 parent 3cc39a0 commit c18a948
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import android.view.WindowManager;

import com.ahmedadeltito.photoeditor.widget.SlidingUpPanelLayout;
import com.ahmedadeltito.photoeditorsdk.BrushDrawingView;
Expand Down Expand Up @@ -104,6 +105,8 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_photo_editor);

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);

selectedImagePath = getIntent().getExtras().getString("selectedImagePath");
if (selectedImagePath.contains("content:https://")) {
selectedImagePath = getPath(Uri.parse(selectedImagePath));
Expand Down

0 comments on commit c18a948

Please sign in to comment.