user-interface

Flash CS5 Draggable Movie Thoughts?

I'd like to create a draggable timeline similar to: http://www.skar.com/timeline.html I need some ideas on how to best accomplish it. Would it be best to create one large Movie Clip that acts as a container to all my individual images. Then code an onDrag handler that moves that container's X value based on the mouse's X value. Thanks...

Handling an embedded view inside a ListView?

I have a quite problematic UI layout to implement, and I'm not sure if it's even possible using standard UI widgets. It looks something like this: Picture 1 The green, lined thing is supposed to be a ListView, and the red rectangle is another View. This red View should be scrolled with the ListView, as if it's part of it. Some list-ele...

Multiple dynamic fields with jQuery UI datepicker

Hello, I'm using the following solution that allows me to have multiple dynamic form fields: http://www.trovster.com/lab/plugins/duplicate-remove/ However, in one of those fields, i want to create jQuery UI datepicker. Is there a way to do this? ...

Algorithm for maximizing coverage of rectangular area with scaling tiles

I have N scalable square tiles (buttons) that need to be placed inside of fixed sized rectangular surface (toolbox). I would like to present the buttons all at the same size. How could I solve for the optimal size of the tiles that would provide the largest area of the rectangular surface being covered by tiles. ...

Surface an XML schema as an ASP.Net user interface in SharePoint 2010

I have a requirement (at the least possible cost, be that custom dev or 3rd party product) to take an XML schema (which is subject to regular change) and surface a UI to this through SharePoint 2010. The UI cannot require manual changes when the XML schema changes. So in some way the UI needs to be dynamically generated from the schema...

How to maintain the scrolling state while orientation change in android

Hello guys I have created one custom view that contains the horizontalscrollview. Now when i changes the orientation its scroll state change to 0 every time. I got the previous scroll state by using onSaveInstanceState(Bundle savedInstanceState) and onRestoreInstanceState(Bundle savedInstanceState) . in onRestoreInstanceState i am usin...

Error with Jquery UI Dialog in Ie7 / Ie8

Hi guys, have abit of a problem with Jquery UI dialog. I set it to modal:true, and so when i initialize the dialog, i do see the grey overlay. However, the dialog itself simply does not appear. This is the strange part (perhaps): when I put settings to autoOpen: true, the dialog appears fine, it simply does not appear again when i click....

Two-Step Operations and Button Conventions

Our web application has three different operations that proceed as follows: The user is presented with a popup where different settings are selected. The user can click on a button labeled with the operation (ex: "Merge") or "Cancel". If the user goes forward the application processes the operation which can take a few moments and anot...

How to display Andriod UI Elements about 180 degrees rotated

Hi, I would like to display some UI Elements on a android xml layout file. I try to make an application, where two players can sit at each end of the mobile device, and play against each other. So need to show some Button 180 degrees rotateted. Is this possible? I tried android:gravity, but this did not work. Thanks for you help, Ma...

C# Allow user to enter conditional rules

Hello. I write code in isolation, that is I work for myself. I need some advice on how you might implement the following functionality or if there are some tools that already exist to help make this task easier to accomplish. I have a scenario (C# application) in which I would like the user to be able to enter conditional rules which wi...

How to properly change Tab Background in Android

Hi Guys, I am a newbie to Android Development, and facing this particular problem while changing TabBackground Image. As you can see in the attached Image, there is a thin gray line. And I am unable to figure out where is it coming from. Can you please assist me in removing it. I have checked there is no padding anywhere, and android...

How to create complex Zend_Form to emulate iTunes Smart Playlist

Hi all, I'm developing an app which runs complex, configurable searches over multiple database tables, and displays the results. I have identified a number of different types of search I'd like to run, and have hard-coded the SQL queries to get the correct results. Each part of the queries have been abstracted, so building a query is as...

Android User Interface xml question

<LinearLayout android:layout_width="fill_parent" android:orientation="horizontal" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="wrap_content" android:orientation="horizontal" android:gravity="center_horizontal" ...

How should I allow my members to cancel their accounts for my site?

What is the best way to allow a member to cancel their account? Should I simply have them click a cancel button on the site? ...

Custom menu as the photo.

Hello, this is the second time that I ask a question about this:( I think a photo may better explain to you what I want. Since the last time I asked the question, I have tried several tutorials, but I didn't manage to set up a menu as the photo shows. In fact, I don't understand very well the use of getView(). One guy told me just to...

jQuery ui confirm dialog on multiple forms

I have a few forms on the same page and I want to add a confirm dialog to all of them using the same code. They all have a class of confirm-form and the title of the confirm dialog should be generated dynamically (which isn't working atm). In the html I have the dialog that gets hidden when the page loads, it then gets shown once the di...

How to preload a entire website like Gmail?

How to preload the entire website like gmail does? How to show this in progress bar? What are the mechanisms used to get this effect? I can use jquery, jquery UI, php. Will this be enought to create this? ...

android UI: ImageButton with animation

I'm looking to make an ImageButton that contains an animation drawable, more precisely the repetitive tweened animation of a progressbar spinner (like the view/widget that exists for this). In xml I specified this for the ImageButton in the activity's layout: <ImageButton android:id="@+id/i_back_cover" android:layout_width="wrap_conten...

Android UI: what kind of layout options are mutually exclusive?

After designing layouts in Android for a while now, I still cannot get the hang of it. Often the results are unpredictable. I think part of this boils down to some layout options not working well together. I.e. if you are using one way of specifying your layout, you're not meant to use some other way. Notably, for me, changing layout_...

How to show required field with jqtouch in iphone view?

I've just started designing pages particularly for iphone browser (safari). I don't know if jqtouch is best or not, but I started working on it. Till now I learned initialization of jqtouch, and also implemented some touch events (tap, swipe). Now I am planning to create user interface and forms. For that I take a look on demo (Best vi...