Android Application တစ္ခုကို Create လုပ္ရင္ ေအာက္မွာျပထားတဲ့ပံုအတိုင္းပဲ Application Title ပါတက္ပါတယ္…
တစ္ခ်ိဳ႕ကၾကိဳက္သလို တစ္ခ်ိဳ႕ကေတာ့ မၾကိဳက္ပါဘူး…. ဒါကို ဘယ္လိုေဖ်ာက္ရမလဲဆိုေတာ့…
ဒီ Package ေလးကို Import လုပ္ေပးျပီ….
import android.view.Window;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//—hides the title bar—
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
Log.d(tag, “In the onCreate() event”);
}
//—hides the title bar—
import android.view.Window;
requestWindowFeature(Window.FEATURE_NO_TITLE);
ဒီစာေၾကာင္းေလးထည့္ေပးလိုက္ရံုပါပဲ….
Credit to: http://computerandmobiletech.com
တစ္ခ်ိဳ႕ကၾကိဳက္သလို တစ္ခ်ိဳ႕ကေတာ့ မၾကိဳက္ပါဘူး…. ဒါကို ဘယ္လိုေဖ်ာက္ရမလဲဆိုေတာ့…
ဒီ Package ေလးကို Import လုပ္ေပးျပီ….
import android.view.Window;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//—hides the title bar—
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.main);
Log.d(tag, “In the onCreate() event”);
}
//—hides the title bar—
import android.view.Window;
requestWindowFeature(Window.FEATURE_NO_TITLE);
ဒီစာေၾကာင္းေလးထည့္ေပးလိုက္ရံုပါပဲ….
Credit to: http://computerandmobiletech.com
No comments:
Post a Comment