Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Text of TextField/Button in a VerticalLayout cutted in Moto G and Nexus 5

$
0
0

Hi all, I have developed an Android App that works very well on the mayority of Android Devices.

After the presentation of Moto G and Nexus 5 some user send me some feedbacks about errors in the text. So i have runned some tests with the Moto G (Android 4.2.2) and each Object in a Vertical Layout have a problem with the text inside it.

Image

Changing the Button with a View wich have a Label inside is a good workaround for this issue. But i dont know how fix the TextFields.

So someone knows how to fix that? or knows why this happen? I'm making something bad?

This is the code of the TextField:

prezzo_textfield = Titanium.UI.createTextField({
      width: "94%",
      color: "#222",
      backgroundColor: "white",
      backgroundImage: "",
          borderRadius: 3,
          border: 4,
          borderColor: "orange",
      font:{fontSize:18},
      height: 40,
      hintText: L('price') + ': Es 24.42',
      top: 15,
      left: '3%',
      paddingLeft: 5,
      keyboardType: Titanium.UI.KEYBOARD_DECIMAL_PAD,
      returnKeyType: Ti.UI.RETURNKEY_DONE ,
    });
This is the code of the view:
scrollView = Titanium.UI.createScrollView({
        contentHeight : 'auto',
        layout : "vertical",
        scrollType : "vertical",
        borderRadius : 10,
        borderWidth : 3,
        borderColor : "#BBB",
        backgroundImage : '/images/grungy.jpg',
        backgroundRepeat : true,
        width : "96%",
        top : 55,
        height : Ti.UI.FILL,
        scrollingEnabled : true,
    });

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>