-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathBranch.java
More file actions
31 lines (21 loc) · 739 Bytes
/
Branch.java
File metadata and controls
31 lines (21 loc) · 739 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
31
package com.vivek.github.basic;
import com.vivek.github.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.webkit.WebView;
public class Branch extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
String bran = "file:///android_asset/branch.html";
super.onCreate(savedInstanceState);
setContentView(R.layout.branch);
WebView branc = (WebView)findViewById(R.id.branch);
branc.loadUrl(bran);
}
}