Hi,
I have created a class RoundIcon which extends View and the class contains setIconImage() method:
public void setIconImage(int imageFromResources) {
iconImage = BitmapFactory.decodeResource(getResources(), imageFromResources);
iconWidth = iconImage.getWidth();
iconHeight = iconImage.getHeight();
refreshDrawableState();
}
and ...
Bear with me because this question doesn't pertain to an algorithm or any block of code. Rather, it deals with designing forms and applications.
I'm working on a project where the user is able to save their work (most likely to the HDD but also possibly any other media, including floppy disks). Sure, the popular File > Save option is th...
I've found a bunch of iPhone objects inside interface builder, but I assumed there would be a standard pack of icons, gradients etc to make things more applelike.
How should I create these graphics, simply using pngs or are there special drawing tools shapes I can use inside interface builder?
...
Hello again.
I'm in the process of designing and testing various ideas for an application whose main functionality will be to notify users of occurring events and offer them with a choice of actions for each.
The standard choice would be to create a queue of events showing a popup in the taskbar with the events and actions, but I want ...
I like to change the UI of a JComboBox from the default metal look to some custom UI, see attached image.
I have tried changing all the UIDefaults for the JComboBox but to no success.
How does one achieve this?
jdk1.4.2
...
I've been struggling with something at work that I'm not really in the mood to argue about with anyone who has a say in changing it so I wanted to seek some feedback on the issue from people here.
We've gotten in the habit recently of checking the opt-in box on our forms that we build for clients. I'm not sure if it's always at the beh...
I've been researching about adding Arabic localisation into our software. I understand that mirroring of some controls is essential, such as the relationship of labels and textboxes: any labels that are to the left of textboxes in left-to-right languages need to be to the right of the textboxes in Arabic and other right-to-left language...
I'm using System.ComponentModel.DataAnnotations to give codesmith (using reflection to parse the field-attributes on BE) UI-hints to build my views. But I find DataAnnotations is limited enough. I like something richest, building new custom attributes where one could have more settings to build also complex user interface. I'm too lazy t...
I've noticed that Gmail, Hotmail, Yahoo, and Ebay all have their login boxes on the right. Amazon's is on the left, though.
Does anyone know why the right side seems to be the 'right' way to go?
...
I do know how to create a MEL UI window and add content to it. I don't know how to "pin" that UI to a Maya window such as the UV Texture Editor. Ideally I would like to have the ability to control which side of the UV Texture Editor my UI attaches to and have it move and minimize with the window. Is such a thing possible?
...
we are creating a new website.
We would like to make up the site with iframes that represent different parts of the page, navigation, content, headers etc.
However our navigation menu has some "context" built into it. That is if you are the "About" section the button/link for About will be highlighted to indicate that this is your loca...
I know how to set a control's BackColor dynamically in C# to a named color with a statement such as Label1.BackColor = Color.LightSteelBlue; ( using System.Drawing; )
But how do I convert a hex value into a System.Color , ie Label1.BackColor = "#B5C7DE
...
I have a fairly complicated installer that I'm writing in Wix that has a lot of custom dialog options based on which components you're installing. Generally, defaults are fine, and thus an unattended install would succeed, but having this customization helps things.
What I'm wondering is, what are best practices in Wix for doing UI con...
From Jacob Nielson's "Stop Password Masking":
Usability suffers when users type in
passwords and the only feedback they
get is a row of bullets. Typically,
masking passwords doesn't even
increase security, but it does cost
you business due to login failures.
What do you guys think?
...
Has anyone done this ?
If so,please share your experience:)
...
Hello,
At company I'm working, new project will be started soon. I'd like to use Silverlight 2.0 but I need to convince my CEO and Photoshop/AfterEffects guy for using Silverligt for upcoming project. These persons are - let's say - rather Flash / Apple oriented, but for me as a .NET developer Silverlight seems to be proper solution :-)...
Did anyone handle such scenario in the code?
User is typing something in the input area (say, rich text box). This causes multiple TextChanged events to fire. We want to capture only last changed event when user stops typing (i.e.: no changed events for 5 seconds).
Does anyone have a clean C# snippet of doing that?
...
I have a DataGrid embedded inside the first column of a Grid. I want the grid column to auto size to content, but when I do this and the DataGrid gets too wide (when columns are added by the user) the DataGrid is clipped by the containing column. Essentially I need to retain the scrolling behaviour of the DataGrid, but have the DataGrid ...
I was inspired by this question, and it's first answer to ask my question.
What specific areas of study, if any, focus on human-machine interaction and the study of human behaviour with regard to computers?
From my understanding of the issue I am considering study in the following (broad) areas:
Design
Psychology
Are there any par...
In some software company, who should be responsible for the UI design:
User
Designer
Manager
Boss
Depends on company size
etc.
In UI design I mean not only colors and images, but also control's layout, count, size, style, may be text user see.
...