I want to modify UI, like i want to add some event to particular date.
I want to perform some action like Holidays button which will open some having displaying upcoming holiday?
Is it possible?
Related
I'm gonna make a half presented modal like you all can see in the iPhone's note app, but I was wondering there is a specific name for making this button like the image below?
(It's not related to this post but...) I was watching the UIDatepicker's video the other day, and the guy on the video also talked about the pull-down menu. I know the pull-down menu is not the one I'm trying to make, but its appearance looks similar to what I want to create now (I mean buttons in a list), so I was wondering if there is a specific UI for making this list like buttons or is it just like a normal button in a row and I need to customize them like a list?
I was working on react native app in which I need to change few values in a component after user has selected an option.
To select an option I open action sheet in IOS. Now I wanted to show the current selected option in the Action Sheet by adding a check mark.
I was able to see this in podcast app of iphone as attached in the screenshot.
I was also able to see few native implementations of this in here , but I wanted this to work in case of react native.
Can someone please help?
Easy way to do is to use destructiveButtonIndex property of the Action Sheet. It cannot add a check mark, but at least will change the colour of the option to orange. In this case, user can know which one is checked before.
I want to know the event in blocks section using which the entered text value can be obtained without a form submission through button.
Let's say user inputs text in mobile phone through keyboard and presses enter. In this case I want some event to trigger and get the value that user entered.
There are 2 events available like lostfocus and gotfocus.
Will these work? Or is there any other good approach for getting text value on pressing enter?
Unfortunately there is no such event like OnEnterPressed available in MIT App Inventor and the events LostFocus and GotFocus will not work in this case.
What you currently can do is
use a button and use the Button.Click event, or
create your own custom keyboard, see also this example
Currently there is a limitation for App Inventor extensions, which only can be used for non-visible components. Later as soon as also visible components are doable, then you could write your own textbox extension and add an event yourself.
Edit concerning the new question in the comments about different screens:
Use different screens wisely
Before starting to create another screen, first you should think about is it really necessary? See also Building apps with many screens and SteveJG's post about advantages/disadvantages, because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed...
You can insert a Clock component that monitors the TextBox1.Text. When it triggers, it checks if the TextBox1.Text has changed and saves it to a variable. When it triggers again, it compares the variable with TextBox1.Text. After the user finishes typing, the variable and TextBox1.Text will be equal and then you can trigger the event like you eanted when the user pressed Enter.
Hope this helps!
I want to create a date and slot picker in iOS like the Meru cab mobile application on Android.
Can we create a control like that?
In ios 8 new app extensions, is it possible to create an app extension that would enable performing an action on a highlighted text? Similar to how today the copy and select sub menus appear, would it be able to add another custom action?
Something similar to what you have described could be accomplished with an Action type extension, which allows your extension to act on the user's current selected content (text, image, etc). However, you won't be able to populate your action in the copy/paste submenu, as iOS action extensions are limited to displaying an action sheet or modal view. This will be presented when a user makes a selection, taps the Share button, and selects your extension from the activity view controller. Read more in the App Extensions Programming Guide under "Action" (page 48).