In android we can hide the Title Bar. As you have seen there is not Title Bar in many game apps like Temple Run, Subway Surf etc.
Here is the code you need to write in your Activity.
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main);
}
}
See the snapshot, there is not title bar.
Here is the code you need to write in your Activity.
public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_main);
}
}
See the snapshot, there is not title bar.
Hi Can we hide the webviwe title bar from aspx pages.
ReplyDeleteThe tech goliath has put applications into various classifications. The classes incorporate portable photography,Subway surfer hack
ReplyDeleteAivivu chuyên vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ
đăng ký từ mỹ về việt nam
bay từ anh về việt nam
chuyến bay từ Pairs về TpHCM
vé từ nhật bản về việt nam
gia ve may bay tu han quoc ve viet nam
Thank yoou for this
ReplyDelete