I'll make a simple app with these features;
In main windows there will be a menu.
Menu Item 1
Menu Item 2
Menu Item 3
When user click Menu Item 1
a new menu based view should appear, however when user clicked menu item 2, a text based view should appear.
I made a navigation based app, but i couldn't connect different view file for each cell.
How can i do this ? Have you got any example ?
My app:
Menu Item 1
- Menu Item 1.1
- Text
- Menu Item 1.2
- Menu Item 1.2.1
- Text
- Menu Item 1.2.2
- Text
Menu Item 2
- Text
...
..
.
(probably i will use sqlite for context of menu and texts.)
See
http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html
and the associated sample code, this is a good one.
http://developer.apple.com/library/ios/#samplecode/WorldCities/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009466
Related
a following scenario:
1. A window with some tabs.
2. In one tab there is accordion layout and the button "Add".
3. After selecting the button "Add" a new window with a a form appears.
4. The user fills the form and select the button "Save".
5. The window with the form disappears, system adds a new record in the database with data from the form.
6. The tab re-renders the accordion layout showing old elements and the new one.
The problem is that the point 6 doesn't work. The all elements are collapsed and clicking on the title bar of any element doesn't expand the accordion. Additionally the title bars of accordions are shorter than at the first rendering.
Any help?
Regards,
Jacek
In my eclipse application when more than 3 views are open, I need a drop down as shown in picture clicking on which gives me the list of rest of the views.
I have a horizontal menu bar with a child vertical drop-down menu bar.
I would like it so that the child vertical menu bar contains something like the following:
Title text 1
Separator 1
Option 1.1
Option 1.2
Title text 2
Separator 2
Option 2.1
Option 2.2
Is there a way to add non-selectable text into a MenuBar as I don't want the user able to select the "Title text" elements?
myTitleMenuItem.setEnabled(false) ?
As T Broyer answered u can do setEnabled(false). You will get a disabled style for the item which would not look good.
And coming to User experience, User usually expects each item in the Menu Bar to perform some action. When he sees some item with text and not performing any action on clicking, he gets a impression like 'App is not working or not responding'.
So, its always better to create a Menu Item 'Title Text' and also create a Menu Bar with required items and set this menu bar as a child or SubMenu of Title Text item.
So, whenever user hovers or clicks on the 'Title Text item' sub menu will be shown.
I have a GWT datepicker and I am trying to make this accessible from the keyboard. I am having difficulty in exposing the actual date elements in the calendar and I was wondering if anyone has had any luck with this? All I want really is to be able to tab into the different dates in the calendar.
Thanks in advance
Strangely. If you launch - http://gwt.google.com/samples/Showcase/Showcase.html#!CwDatePicker
Tab Click 1 - ?
Tab Click 2 - GWT Homepage
Tab Click 3 - More Examples
Tab Click 4 - Country/I18N seleciton
Tab Click 5 and Click Enter key - Month Change on Datepicker
Tab Click 6 and Click Enter key - Date 1 gets selected for current month
Tab Click 7 and Click Enter key - Date 2 gets selected for current month
.
.
.so on
The keyboard support with tabindex seems to work with embedded DatePicker!!! Tested it on FireFox and Chrome. It seems only cell highlighting needs to be done to improve User Interaction!!!!!!!!!
Sadly this is not feasible with Tabpanel or Datebox's popup Datepicker ( hides on tab click ).
GWT had some interesting ideas on it # http://code.google.com/p/google-web-toolkit-incubator/wiki/accessibility
It has now got a broader scope # Dev Guide on Accessibility
However, the new scope on accessibility does not list/mention out datepicker or keyboard access.
i just want to know how to create a dropdown menu when a button is clicked, just shown in the image.![image][1]
When I click "Default Language" button it should show a list of options to select from. And when this list appears, the other buttons (or rows) below the "Default Language" button should move down so that they are not covered by the popped list.
Regards Nipin.
Try this sample code from Apple. It basically uses a table view and gestures to open up and close different sections of a cell.