Questions tagged [titlebar]

An area of a window in a graphical user interface (GUI), normally located at the top, that commonly displays the name of the application, options for manipulating the window, and other important information about the application.

744 questions
912
votes
37 answers

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

I want to hide the titlebar for some of my activities. The problem is that I applied a style to all my activities, therefore I can't simply set the theme to @android:style/Theme.NoTitleBar. Using the NoTitleBar theme as a parent for my style would…
Janusz
  • 176,216
  • 111
  • 293
  • 365
273
votes
8 answers

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

This question has been asked before - but with no satisfying answer at all! So I'm trying it again. I want to give my application launcher icon (the one that is displayed on the startscreen!) a different, shorter caption. It seems the launcher takes…
Zordid
  • 10,239
  • 11
  • 38
  • 57
147
votes
18 answers

Remove icon/logo from action bar on android

I've been trying to find some way of removing the icon/logo from the action bar but the only thing I've found after an hour of searching SO, Android's documentation and Google is how to remove the title bar in whole. That is not what I want. Only…
Hrafn
  • 2,709
  • 3
  • 23
  • 34
124
votes
26 answers

Android - Back button in the title bar

In many apps (Calendar, Drive, Play Store) when you tap a button and enter a new activity, the icon in the title bar turns into a back button, but for the app I am making, it doesn't do that. How do I make that icon take you back to the previous…
Drew
  • 9,858
  • 10
  • 52
  • 88
106
votes
13 answers

Set title background color

In my android application I want the standard/basic title bar to change color. To change the text color you have setTitleColor(int color), is there a way to change the background color of the bar?
Thizzer
  • 14,949
  • 26
  • 90
  • 134
73
votes
9 answers

Android activity as dialog, but without a title bar

I have an activity that has the following set as theme: android:theme="@android:style/Theme.Dialog" However, there is a title bar in the activity-dialog that appears, that uses up the little available space that I have. How can I remove it?
Shade
  • 9,366
  • 5
  • 54
  • 81
70
votes
17 answers

Remove Android App Title Bar

I understand that these properties in the manifest: android:theme="@android:style/Theme.NoTitleBar" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" can remove the title bar. However, I constantly check the Graphical Layout when I am…
Harrison Tran
  • 1,373
  • 3
  • 11
  • 25
67
votes
7 answers

How do you change the text in the Titlebar in Windows Forms?

I am trying to set a condition that would change the writing inside the title bar... But how do I change the title bar text?
Dmitry Makovetskiyd
  • 6,522
  • 27
  • 97
  • 156
67
votes
12 answers

Using Tkinter in python to edit the title bar

I am trying to add a custom title to a window but I am having troubles with it. I know my code isn't right but when I run it, it creates 2 windows instead, one with just the title tk and another bigger window with "Simple Prog". How do I make it so…
Dan
  • 7,343
  • 16
  • 47
  • 51
51
votes
5 answers

How to make title bar disappear in WPF window?

I know this has been asked before but I've tried answers: How to create a WPF Window without a border that can be resized via a grip only? How to remove the title bar from a window but keep the border and neither work, the title bar text sits…
Stewart Stoakes
  • 639
  • 1
  • 8
  • 13
51
votes
3 answers

Changing WPF title bar background color

I have a WPF Windows application. I need to change the background color of the title bar. How can I do that?
Emad Gabriel
  • 3,557
  • 7
  • 34
  • 47
48
votes
4 answers

Changing the color of the title bar in WinForm

Is it possible to change the color of the title bar of a WinForm in C#? __________________________ [Form1_______________-|[]|X] <- I want to change the color of this | | | …
Aravind
  • 887
  • 2
  • 10
  • 15
45
votes
4 answers

Frameless window with controls in electron (Windows)

I want my app to have no title bar but still be closeable, draggable, minimizable, maximizable, and resizable like a regular window. I can do this in OS X since there is a [titleBarStyle] 1 option called hidden-inset that I can use but…
nakamin
  • 658
  • 1
  • 7
  • 13
40
votes
7 answers

Xcode & Swift - Window without title bar but with close, minimize and resize buttons

I am currently using Swift in Xcode 6, Beta 5. I am trying to remove the title bar, or any visible difference between the title bar and the actual content. If I enable "Unified title and toolbar" in the Attributes Inspector on a Window, nothing…
Isaiah
  • 1,703
  • 4
  • 22
  • 41
38
votes
9 answers

How can I remove just the Maximize button from a JFrame?

I have a JFrame and want to remove the maximize button from that. I wrote the code below, but it removed maximize, minimize, and close from my JFrame. JFrame frame = new…
Mahdi_Nine
  • 11,985
  • 25
  • 78
  • 112
1
2 3
49 50