Remove icon/logo from action bar on android

Add the following code in your action bar styles: <item name=”android:displayOptions”>showHome|homeAsUp|showTitle</item> <item name=”displayOptions”>showHome|homeAsUp|showTitle</item> <item name=”android:icon”>@android:color/transparent</item> <!– This does the magic! –> PS: I’m using Actionbar Sherlock and this works just fine.

How to set different label for launcher rather than activity title?

Apparently <intent-filter> can have a label attribute. If it’s absent the label is inherited from the parent component (either Activity or Application). So using this, you can set a label for the launcher icon, while still having the Activity with it’s own title. Note that, while this works on emulators, it might not work on … Read more

How to hide the title bar for an Activity in XML with existing custom theme

Do this in your onCreate() method. //Remove title bar this.requestWindowFeature(Window.FEATURE_NO_TITLE); //Remove notification bar this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); //set content view AFTER ABOVE sequence (to avoid crash) this.setContentView(R.layout.your_layout_name_here); this refers to the Activity.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)