Hello,
I have a web view to override the built-in browser and I want to show a progress indicator on the title bar.
This is the code:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getWindow().requestFeature(Window.FEATURE_PROGRESS);
setContentView(R.layout.browser);
...
Hi,
I have a custom title bar
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.activities);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);
Which works basically fine. The problem is that until the above code is called the default title bar is shown. I don't want a title bar...
I'd like to add a custom button to my Window's titlebar. This doesn't need to work on XP - just Vista and later. Searching on the net yields lots of results for doing it the WM_NCPAINT way (eg. http://www.catch22.net/tuts/custom-titlebar). Is there a way to do this using Vista/Windows7 with Aero is enabled?
Thanks for any help,
Dan.
...
Hi,
I've created a custom titlebar for an Activity of my Android application. However, the background is blue. I would like it to be the gray gradient that toolbars generally are. How can I achieve this?
Here is the XML of my toolbar. It places a checkbox on the left side and some text in the center.
<?xml version="1.0" encoding="...
Hi,
I've created a custom titlebar for my Android application. All is well except I've placed a checkbox on the titlebar and I want my checkbox to be positioned farther left (so I can line it up with the checkboxes in each list item). I can not figure out how to move it farther left. It's almost like that's as far as it will let me p...
How do I change the text of the title bar? as of now it just displays the title of the program and im wanting it to display something of my choosing and be different for each page/activity in my app i.e. my home page could say page1 in the title bar while another activity that the app switches to could have page2 in that page's title bar...
Hi,
In my Android application I've hidden the default title bar, introduced a TabView and added my own titlebar under that TabView's tabs. At the moment, I'm using the ?android:attr/windowTitleStyle style which makes my new titlebar look gray and gradient. It looks pretty good, but my screens are looking pretty grayscale. I'd like to...
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 its label from the mainfest section about the main activity's label, as here:
<activity...
I've got a script that forces a download to a user programatically. In IE (at least 6, the only version I've seen screenshots from), the download window appears to take the last part of the URL and use that in the title bar of the download window. In my case, the last part of the URL is "nohead", which comes from a specific function in t...
Is there a way to create windows like the native Windows 7 notification area Windows with Windows Presentation Foundation? For example the audio controls or the power plan settings.
I was able to create a Window with Windows Forms that was looking equal, but still had the resize cursor when you hovered the borders. I’m using the followi...
Using Delphi I would like to add another button to the border icon buttons; close, maximize, minimize. Any ideas on how to do this?
...
How do you add an icon (floated to the left on the title bar, like windows in Windows) to a jQuery UI Dialog?
...
I wish to set the title of each activity with a constant value which is fetched from a local sqlite database. the value is the user's username.
Is there a way to set the title once and have it affect all activities? or do I have to manually set the title on each activity?
If there is a way, how is it achieved?
...
Hi there. I have a desktop application written in Ruby that is using GTK2. It's just a small test application to play with GTK2, but I'm having problems achieving what I want to do. Is there any way using GTK2 to get at the titlebar (apart from setting the title), specifically to either add a button to it (beside the min/max/etc, B in th...
I have followed the instructions from this SO question: http://stackoverflow.com/questions/3438276/change-title-bar-text-in-android
I am able to successfully create my own titlebar, however when I apply a background color to my layout, the color doesn't span across the entire titlebar. There are still remnants of the android gray backgr...
I was hoping to release my software with a trial period and I was wondering how I could show a link in the right side of my title bar telling them how long their trial will last similar to what Coda does.
Anyone have any suggestions?
...
I have made an xml file like this:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="bottom"
android:layout_gravity="bottom"...
I have a form that I would like to draw a custom title bar with as well as custom borders around the application to take over the form resizing. I turned off the regular title bar for the application and build my own out of a couple image which i set to anchor to the application. The issue is when the form is resized, it looks very chopp...
The MDI child forms, when shown, display their title bars for a split second. Then the forms are loaded normally. Is there any way for the forms to load without showing the title bar and form border. This is what happens...
...
I'm creating an application and I don't want a title bar:
If the title remains the same all the time, does it make sense to show it? For example, if an app doesn’t show the names of documents, or any other assets that it opens, and there is plenty of space at the top around other controls to grab onto if you want to move the window a...