findViewById(R.id.display_title_hide).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
getSupportActionBar().setDisplayShowTitleEnabled(false);
}
});
findViewById(R.id.display_title_hide).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
getSupportActionBar().setDisplayShowTitleEnabled(false);
}
});
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"/>
</LinearLayout>