-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCommit.java
More file actions
30 lines (22 loc) · 794 Bytes
/
Commit.java
File metadata and controls
30 lines (22 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.vivek.github.basic;
import com.vivek.github.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;
import android.webkit.WebView;
public class Commit extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
String com = "file:///android_asset/commit.html";
String comm = "file:///android_asset/commitm.html";
super.onCreate(savedInstanceState);
setContentView(R.layout.commit);
WebView commit = (WebView)findViewById(R.id.commit);
commit.loadUrl(com);
WebView commitmm = (WebView)findViewById(R.id.commit2);
commitmm.loadUrl(comm);
}
}