Customizing ExpandableView in QML - blackberry

I am using ExpandableView in QML for Blackberry development.
I want to customize the ExpandableView .
For ex :
1.In below image (Screen shot of ExpandableView in collapsed stage) you can see text 'more' is shown when we use ExpandableView QML. which is displayed during collapsed stage, I want to change this default text to some other text
2.collapse(^) and expand image I want to change .
Is there any way to achieve this ?

According to the documentation, https://developer.blackberry.com/native/reference/cascades/bb__cascades__expandableview.html , there are no properties or methods for setting the text or the arrow images. So, not possible.

Related

React-Native iOS: Hide the text input bottom tool and autosuggest bar

My text input field searches over unique content that never matches auto-suggest and doesn't need undo/redo functionality. Is there a way to hide this bar in react-native for iOS? I have spellCheck and autoCorrect both set to false but as shown in the image below, the bar remains only without those features.
I want to hide the whole thing. It is covering my interface!
Alternatively, I could move the UI up by that height when the text field is in focus, but I was hoping to avoid that.
BRyan! try setting autoComplete="off" as well. You might also want autoCapitalize="none" for this use case.

Customize the google signin button : Change button color to red g+ login IOS SDK

I want to customize the google signin button in my IOS application.
By default it is in white color and also there is one method _signInButton.colorScheme in which there are two color scheme white and blue.
How can I change color of button to red ?
Also how can I set language of button to Arabic without changing my device
language ?
Red color which you want to achive is already provided by google.
Please check this google-sign-in-button-branding-guidelines
And for changing the text of Sign in with Google please check this. you need to change it in .plist file.
how-to-change-title-of-google-plus-sign-in-button
Use custom button in your view and set background image of that button. Then on touchUpInside action of that button call [btnGoogleLogin sendActionsForControlEvents:UIControlEventTouchUpInside]; where btnGoogleLogin is the object of GIDSignInButton. For text in Arabic language use custom button with color only and put text on it.

Adding Image And title both to UIsegmentControl IOS

Is there a way so that you can set both image and title of UISegmentControl simultaneously, so that image appear next to the title , just like image appear next to title in UIButton.
I am trying but if I set image of Selected segment of UISegmentControl then title disappears and if I set title of Selected segment of UISegmentControl then Image disappears, I want to set both at a time.
The official documentation for -setImage:forSegmentAtIndex: says
A segment can only have an image or a title; it can’t have both. There is no default image.
So, no, there is no way to do what you want using the image and title properties.
However, there are a few options to accomplish the objective in different ways.
if you are going to use the same image for each segment, you could use the appearance methods to set the background and then use the method -setContentOffset:forSegmentAtIndex: to move the title to the side of the background image.
you could create an image that had both the icon and the text in it. This is less than ideal as a change to the text requires exporting of the entire asset again. But is an option.
the least ideal would be to fake a segmented control using buttons that you write the code for to handle state changes. There may even be some open source options that do just that, so feel free to search for them.

options control in ios (Swift)

I would like to show options to choose in my View. I did not found a control for that. Any suggestion howto do that ?
You must use 3 different buttons for the check box,now set different tag for the buttons and set default and selected image for the button.

How to create the screen in optimized way?

Hello everybody I am trying to create a screen (to see the image click here)
I have set it's backround image also created required list components which are click able by extending Field class. Now my problem is I am not able to set that rounded white color as backround of the list. Please help me. And also because I am new to the blackberry please also tell me the optimized way to create this screen.
i think like this
1) header bar - create manager and embed 2 buttons and 1 label in it
2) bottom bar - create a global class that contains the buttons and define a method that responds to the click event of these buttons
call that class in this main screen
3) for middle part use a list field which is scrollable

Resources