On Wed, Oct 1, 2014 at 1:02 PM, Kerogi <[email protected]> wrote:
> Hi, Om!
>
> Can I somehow use the Android skins for text input on iOS?
> When I launch the app on iPhone, I get other skin for that.
>
>
Yes, you should be able to. In the mobiletheme/defaults.css file [1], look
for the TextInput entry under:
@media (os-platform: "android") AND (min-os-version: "4.1.2")
TextInput { skinClass: ClassReference(
"spark.skins.android4.StageTextInputSkin"); contentBackgroundAlpha: 0;
focusColor: #33B5E5; contentBackgroundColor: #DEDEDD;
contentBackgroundBorder: "flat"; fontFamily: RobotoRegular;
selectionHighlighting: "never"; focusEnabled:"false"; focusThickness: 0;
}
You can copy paste this into your app's css file and you should be able to
the Android skins in your iOS app.
Thanks,
Om
[1]
https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/mobiletheme/defaults.css
> Thanks,
> Igor
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Showcase-for-IOs-and-Android-skins-tp7456p8252.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>