Alert dialog default style in Android on appcelerator - android-alertdialog

i'm trying to edit the style of my alert dialog in android. I hate the default style, but i saw on the web there are other default style very beautiful. How can i change it? There isn't a property like iOS Titanium.UI.iPhone.AlertDialogStyle?

You can also use custom theme for dialog.

Related

Customising alerts in react-native

Is there any way of customising native Alert component so it'll accept some components(like inputs and so on..) ? Please DO NOT suggest using some modals from npm and constructing something by hand, I know about these approaches...
I'm interested, if it's possible to render children components inside of native alert, because it accepts only title, message and actions and nothing else...
more than text input no and it only work for ios,from docs for ios yes(text input) alert ios,but you can't really customize it
even in native ios you can't customize it more than how is it
This is an API that works both on Android and iOS and can show static alerts. To show an alert that prompts the user to enter some information, see AlertIOS; entering text in an alert is common on iOS only.
link to it https://reactnative.dev/docs/alert

Default OS style in React Native

I'm starting with React Native and I'm wondering if is possible to apply the default OS style for each element so I have not the need to handle every element style so imagine I have a form and simple text list, for the iOS app it should have iOS form and text style and for the Android app its default style.
As far as I've seen there is no official documentation for this commitment but I would like to ask here if there is a workaround for this.
As far as I am aware the default components within React Native does normally default to the OS style, for instance the Button component will render differently according to each platform.
As all the components that come with React Native are bare-bones, you'll have to define the styles yourself according to each platform which can be done with the Platform module: https://facebook.github.io/react-native/docs/platform-specific-code
If you don't want to style each component yourself then you can use a library like: react-native-elements (https://react-native-training.github.io/react-native-elements/) which handles a lot of what you desire.

Change color for setBadgelabel Node Webkit

I am currently trying to make a chat desktop application using nodeJS, angularJs, and nodewebkit.
For notifying the user, in the icon in the taskbar, I used setBadgelabel().
How can I change the color of the default badge label by the function setBadgelabel()?
Thanks in advance.

Titanium appcelerator - is there any way to use custom font in picker?

my question is how can I use custom font in my picker...
Seems like I can't use the fontFamily property in any of those:
Ti.UI.createPicker / Ti.UI.createPickerColumn / Ti.UI.createPickerRow ...
So I thought about adding label or view to the picker...but with no success...
Any ideas?
Unfortunately, it's not available in the current implementation of Titanium mobile.
The only option would be making a custom widget for now.

How to get text 'shadow' effect in Silverlight Toolkit themes to work in my project

I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo page.
Here is a screenshot - my project on the left, the demo site on the right.
Is there anything I have to do to enable the effect?
You have to use the label control in the toolkit.
Do this:
xmlns:label="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
then this
<label:Label>Icon</label:Label>