10/22/2015

Xóa title bar android studio (remove title bar android studio)


If you have "import android.support.v7.app.ActionBarActivity;" and your class extends ActionBarActivity then use this at your OnCreate:
android.support.v7.app.ActionBar AB=getSupportActionBar();
AB.hide();


Dịch thêm thư viện này vào main_activity
import android.support.v7.app.ActionBarActivity;
Sau đó chèn code vào sau setContentView(R.layout.activity_main);
code
android.support.v7.app.ActionBar AB=getSupportActionBar();
AB.hide();

chúc các bạn làm được

No comments:

Post a Comment