Skip to content

Commit

Permalink
Merge pull request #1 from SonoIo/master
Browse files Browse the repository at this point in the history
Added "${mypackage}" to MainActivity.java
  • Loading branch information
ReallySmallSoftware authored Aug 10, 2018
2 parents b3b7a93 + 101b90c commit 6842c50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/android/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Licensed to the Apache Software Foundation (ASF) under one
under the License.
*/

package uk.co.reallysmall.leaveyouregosatthedoor;
package ${mypackage};

/** extends CordovaActivity */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ public View getContentView() {
}

public void setContentView(View contentView) {
this.contentView = contentView;
FrameLayout frame = new FrameLayout(this.getActivity().getBaseContext());
frame.addView(contentView);
this.contentView = frame;
}

@Override
Expand Down

0 comments on commit 6842c50

Please sign in to comment.