titlebar

how to hide / collapse title bar in a UWP app?

此生再无相见时 提交于 2019-12-03 04:23:31
Is there a way to somehow hide / collapse / make temporarily invisible (but not fully disable) titlebar in a UWP app? I know that it is possible to make app fullscreen after which title bar automatically collapses, but I need to implement it in a resizable desktop window. I also know that you can customize appearance of titlebar, like color, etc. Reason: I have an application with a lot of windows and need to save screen space and have more room for client area of windows. I've read different sources, but couldn't find an answer: MSDN docs ApplicationViewTitleBar , CoreApplicationViewTitleBar

How to change Eclipse window title?

Deadly 提交于 2019-12-03 02:34:49
How to change the title (last part of it) of a running Eclipse? I am speaking about Eclipse distribution itself, not about my program written for Eclipse. Currently I have the the following title: 1 this part is set in Window -> Preferences -> General -> Workspace -> Workspace name . Other parts are autogenerated. I want to change part 2 which is now Eclipse . I have several Eclipses installed and want to refer them here. UPDATE I found file plugin.xml inside ./plugins/org.eclipse.epp.package.standard_XXXXX and found it containing a setting <property name="appName" value="Eclipse"> </property>

Change Spinner DropDown width

那年仲夏 提交于 2019-12-03 01:26:31
I need resize this part size to full display. How can i do this? My adapter: String[] navigations = getResources().getStringArray(R.array.actionBar); ArrayAdapter<String> adapter = new ArrayAdapter<String>( getBaseContext(), R.layout.custom_spinner_title_bar, android.R.id.text1, navigations); adapter.setDropDownViewResource(R.layout.custom_spinner_title_bar); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST); actionBar.setListNavigationCallbacks(adapter, navigationListener); custom_spinner_title_bar.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http:/

Modifying Window Button Colors in Mac OS X

最后都变了- 提交于 2019-12-02 21:07:40
How can I modify the red/yellow/green window buttons for close/minimize/zoom in Mac OS X? There must be an editable resource or plist somewhere. Here are the buttons I'm talking about: For red/green colorblind individuals, those colors can be maddening. I wish they chose the actual bluish shade of green used in a traffic light instead of the puke grass green. That grassy green is indeterminable from the red. Changing the theme to graphite is a poor alternative, so any other method is much preferred. Okay, after a long and seemingly endless research cycle, I've located where the window buttons

Android Gradient Application Title Bar [duplicate]

和自甴很熟 提交于 2019-12-02 13:41:32
Possible Duplicate: How do I programmatically set the background color gradient on a Custom Title Bar? I want to use gradient color in application title bar. How can I do it? Thanks in advance. All people are trying to use Custom title for this requirement. I achieved this without using custom title. Just use below code in your activity's onCreate() after setContentView(). GradientDrawable gd = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] {Color.RED,Color.GREEN}); View title = getWindow().findViewById(android.R.id.title); View titleBar = (View) title.getParent();

Customizing title bar in Android. Getting Exception You need to use a Theme.AppCompat theme

我与影子孤独终老i 提交于 2019-12-02 08:30:22
Search a lot but nothing found useful. I am creating a simple app with my customized Title bar but not getting so far from days. I am using this https://developer.android.com/training/basics/actionbar/styling.html . Manifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.title" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="17" /> <application android:theme="@style/CustomActionBarTheme"//title bar android:allowBackup="true" android:icon="

Move a window by clicking an internal widget instead of title bar

允我心安 提交于 2019-12-02 07:41:28
In Windows when I create a QMainWindow I can move it around the screen by clicking the title bar and dragging it. In my application I've hidden the title bar by using setWindowFlags(Qt::CustomizeWindowHint) and I'm trying to build a custom title bar using a widget and setting it in the menu space with setMenuWidget(myWidget) . Now I want to reproduce the original behaviour: I want to click on my MyWidget widget inside the QMainWindow and, while mouse is pressed, dragging the mouse moves the window. Is there a way to do it? This is an example on how to implement a fake title bar, that has

how to hide the title bar(top bar) in iphone from a view [duplicate]

隐身守侯 提交于 2019-12-02 04:12:26
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Hide the status bar on iPhone on a single view? I want to hide the title bar in iphone from my first welcome view and also from the splash screen, how can i hide it(top bar, not the navigation bar). I saw a post with this [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]; but this hides the title bar through out the application. I just want to hide it from the first view. 回答1: The easiest

Android - FEATURE_NO_TITLE not working

两盒软妹~` 提交于 2019-12-02 01:06:47
I am trying to display my about us page via layout, so I don't need any title bar. I tried: Dialog d = new Dialog(this); d.setContentView(R.layout.about_us); d.setCanceledOnTouchOutside(true); d.requestWindowFeature(android.view.Window.FEATURE_NO_TITLE); d.show(); but when I click on the menu item, it force closes. when I comment the third line of the code above, it shows my layout with title bar, which I don't need. P.S.: my activity extends ActionBarActivity, is this the reason? If yes then I need an alternative. Pass a theme to your dialog can remove the title bar for you. Add the following

how to hide the title bar(top bar) in iphone from a view [duplicate]

风格不统一 提交于 2019-12-01 23:47:32
Possible Duplicate: Hide the status bar on iPhone on a single view? I want to hide the title bar in iphone from my first welcome view and also from the splash screen, how can i hide it(top bar, not the navigation bar). I saw a post with this [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]; but this hides the title bar through out the application. I just want to hide it from the first view. The easiest way to hide the status bar is to go into youInfo.plist; right click to add a row and select Status Bar Initially hidden. This will ensure every time you app launches the