2017년 4월 1일 토요일

When i have a long screen and i work at the last item mit app inventor go up


Hi guys. I have a problem. I work on an app that ave a lot of label and textbox. My app is scrollable and when i would change an option of a object that is located at the bottom, when i have changed it the screen go up on the top. This is very troublesome when i should change a lot of object that are located on the bottom. What should i do?

--
I don't know if there is a way to stop this behavior.
My thought is to put a screenful of your controls in a screen arrangement with a MORE button for the user to view the next set of items.
The first set would then be hidden by setting its containing screen arrangement component to visible false.
Then next set's screen arrangement can be set to visible true, etc.
Each section would have a MORE button (you can name it whatever you want to)
An added bonus of this method is that it allows you to put a label at the top of the group of controls to organize the information that the user is providing.
For example, the first group might be for a medical form...

Personal Information

Name
Address
Phone
Email

and the next group:

Medical History and current symptoms:

(check any  that apply)

Heart condition
Vertigo
Psoriasis
:

etc.

--
I think he talks about the behaviour of the designer, not the app itself.
I hqd this problem too, and it is realy annoying when you want to change 100 labels from fontsize 14 to 15....

--
@ Toni .... why are you using 100 labels?   You are not re-using Controls?   You can change the fonts of 100 labels ins seconds by using the Any component controls for labels program ably.   You might use the little button at the top of the Designer "Display Hidden components "  ..and temporarily hide some of the layouts on your screen, so you can move the object you want higher.  When you are done, change the status of the components you temporarily set to hidden back to showing?  Yes, moving components on a screen is sometimes frustrating...you do know you can use the Ctrl key plus your mouse wheel to zoom/unzoom the browser screen?   That sometimes helps when readjusting component positions.

@ Marco ... perhaps instead of using lots of labels you could use Lists, a ListVIew or Spinner or List Picker to view / use your data.

Android phones are not widescreen PC's, so developers need to experiment with the controls, layouts etc. to be able to present a lot of data in a small space.  Consider Scott's recommendations to place parts of your app in Vertical or Horizontal arrangements and variously hide or show (set Visible property to false or true) to manage your screens.

If something is not working for you; try a different screen arrangement or control.  Code well but code smart too.   ALL the apps here use a single screen (except Polyglot which uses two screens) but appear to use multiple screens.   Perhaps the techniques used https://appinventorforfun.wordpress.com/  might help you code frugally and get better displays?

Luck with your projects.   If you need advice with a specific problem, please post an image (jpg or png); doing so helps us understand your issue better and someone might have a solution.

--
OK. I had this too... If your labels are in arrangements, then set the arrangements Visible property to off (unchecked) and uncheck the checkbox above the upper left hand corner of the designer screen.

What you're experiencing is that the screen refreshes every time you make a change.  If your items are not in arrangements that you can make visible/inbvisible, you will be brought back up to the top of your screen every time you make a change to one that's lower than the visible screen.

--
I also find this behavior annoying and it would be nice if the visibility function in the designer did not directly echo the visibility control of an element.
I would like to make things visible / invisible in the designer without effecting the visibility of the element on the program side.

It would also be good if the user could resize the screen elements in the designer. I would prefer a wider components table and a taller main screen table.
Resize handles on the bottom of the main designer components would be really nice.

--

댓글 없음:

댓글 쓰기