user-experience

Save icon: Still a floppy disk? [closed]

南笙酒味 提交于 2019-12-03 01:30:45
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . 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,

RTL Support: Disabling it only for specific UI components

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 21:55:07
I have a custom video player Activity. I am forced to enable RTL Support in my Application. But doing so will result in a Right-To-Left aligned ProgressBar. (And that looks ugly) I want my ProgressBar to stay LTR in my RTL enabled Application. Is there any solution? P.S. I am using Android 4.2.2 Okay there is a simple solution for 4.2 and upper: You can set the android:layoutDirection property in XML, it can have either rtl or ltr values. The property overrides android:supportsRtl property in "application" segment of your manifest file. 来源: https://stackoverflow.com/questions/22963740/rtl

How can I improve the subjective speed of my application?

点点圈 提交于 2019-12-02 17:32:50
Today my co-worker noticed that when adding a decimal place to a progress indicator leads to the impression that the program is running faster than without. (i.e. instead of 1,2,3... it shows 1, 1.2, 1.4, 1.6, ...) I checked it and I was surprised that I got the same impression even though I knew it was faked. That makes me wonder: What other things are there to create the impression of a fast application? Of course the best way is to actually make the application faster, but from an algorithmic point of view often there's not much you can do. Additionally I think making a user less frustrated

Save icon: Still a floppy disk? [closed]

拥有回忆 提交于 2019-12-02 13:49:04
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 there but what about a toolbar button? By far the most popular icon is the floppy disk. However, the chances the user will write to the floppy are pretty slim. Still, I think the floppy is more representational than literal. In the end, I'll probably stick with the floppy disk icon to keep the convention most users are familiar with but... anybody have any ideas on how to update this old icon? The floppy

How do you use jQuery's .draggable to drag a table cell?

本秂侑毒 提交于 2019-12-02 12:17:26
问题 In this Fiddle I want to make a jQuery or Javascript interaction that will allow me to drag the first table cell (Name) and pull it out. .draggable seems to only work with divs. Is there a solution or should i give up on trying to make a UI using tables? http://jsfiddle.net/4XyzJ/33/ 回答1: You can try out with this plugin http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ and with table cells is this is what you need http://www.jeasyui.com/tutorial/dd/dnd3.php 回答2: You could put

How do you use jQuery's .draggable to drag a table cell?

夙愿已清 提交于 2019-12-02 07:24:48
In this Fiddle I want to make a jQuery or Javascript interaction that will allow me to drag the first table cell (Name) and pull it out. .draggable seems to only work with divs. Is there a solution or should i give up on trying to make a UI using tables? http://jsfiddle.net/4XyzJ/33/ You can try out with this plugin http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ and with table cells is this is what you need http://www.jeasyui.com/tutorial/dd/dnd3.php You could put a div in the cell and drag that. 来源: https://stackoverflow.com/questions/10376168/how-do-you-use-jquerys

HTML forms: focus on checkbox after completing text field

旧时模样 提交于 2019-12-01 23:20:20
问题 Look at this HTML form and notice how it has a checkbox between text fields: I tried to fill it up with Chrome on mobile and noticed an unexpected problem: if the user types into a text field, and then moves to the next field by pressing the blue "done" button in an Android keyboard, focus will jump over the checkbox into the next text field. This would be fine, except for the fact that the user never even sees the checkbox and thus may leave it unintentionally unchecked: Is it possible to

HTML forms: focus on checkbox after completing text field

别说谁变了你拦得住时间么 提交于 2019-12-01 22:15:42
Look at this HTML form and notice how it has a checkbox between text fields: I tried to fill it up with Chrome on mobile and noticed an unexpected problem: if the user types into a text field, and then moves to the next field by pressing the blue "done" button in an Android keyboard, focus will jump over the checkbox into the next text field. This would be fine, except for the fact that the user never even sees the checkbox and thus may leave it unintentionally unchecked: Is it possible to force focus on the checkbox field or something like that? If there is no technical solution, I'll be

Setting the cursor in the element's default styles, or in element:hover?

佐手、 提交于 2019-12-01 07:38:22
Is there any practical difference between the following two? button { cursor: pointer; } And: button:hover { cursor: pointer; } The MDN docs specifically state that: The cursor CSS property specifies which mouse cursor to display when the mouse pointer is over an element. So, is there any real difference? Should one be preferred over the other, or are they interchangeable? Yes there is a difference, the first is defined when CSS is loaded but the second one will be defined only on the :hover . Visually we may not see a difference, but if you use an image as a cursor you may have a small delay

Shake a UIView … BUT using UIKit Dynamics

那年仲夏 提交于 2019-12-01 06:15:01
There are many situations where you need to "shake" a UIView. (For example, "draw child user's attention to a control", "connection is slow", "user enters bad input," and so on.) Would it be possible to do this using UIKit Dynamics? So you'd have to .. take the view, say at 0,0 add a spring concept give it a nudge, say to the "left" it should swing back and fore on the spring, ultimately settling again to 0,0 Is this possible? I couldn't find an example in the Apple demos. Cheers Please note that as Niels astutely explains below, a spring is not necessarily the "physics feel" you want for some