1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    India
    Posts
    56
    Vote Rating
    0
    raju0574 is on a distinguished road

      0  

    Question Unanswered: textfield is displaying on the top of the panel when am using carousel in that panel

    Unanswered: textfield is displaying on the top of the panel when am using carousel in that panel


    Hi all,
    My problem is when started entering text in textfield of android apk in phone the textfield is hiding with virtual keyboard of phone and am getting the same temporary text box at the top of the screen,
    Am creating one simple panel with title tool bar then carousel after that login form with two text fields it is working properly when i execute in browser,
    But when i integrate this code with phonegap and made android apk the textfiled in it is not working properly in phone when am trying to enter text in the textfield,

    Code:
    Ext.setup ({
        onReady: function () {
    var carousel1 = new Ext.Carousel({
    	flex : 3,
    	centered : true,
    	defaults : {},
    	items : [ {
    		html : '<p><img src="resources/imgs/sid.jpg"></p>',
    		cls : 'card card1'
    	}, {
    		html : '<p><img src="resources/imgs/sname.jpg"></p>',
    		cls : 'card card2'
    	}]
    });
    
            var myform=new Ext.form.FormPanel({
    		layout:{
    		type:'vbox',
    		align:'stretch',
    		},
    		fullscreen:true,
    		standardSubmit:true,
    		items:[{
    	 xtype:'textfield',
    	 name:'id',
         
    	 align:'center',
    	 label:'User Id'
    	 },
    	 {
    	 xtype:'passwordfield',
    	 name:'pwd',
    	 id:'pwd',
    	 
    	 align:'center',
    	 label:'Password'
    	 },
    	 
    	 {
    	  xtype:'button',
    	  ui:'round',
    	 
    	  text:'Login',
    	  align:'center',
    	  handler:gettingValues
    	 }
    	 ],
            	 
    		});
    		
    var mainpanel=Ext.Panel({
    dockedItems:[{
    		Dock:'top',
    		xtype:'toolbar',
    		title:'Tool Bar',
    		id:'login',
    		}
    		],
    items[carousel1,myform]
    });
    				
     
        }
    });
    After converting the code to android apk by using the phonegap and
    when am trying to enter text in text field it is not showing properly,
    But if i remove carousel it is working fine,
    What might be the problem and how to resolve it,
    Is it problem with phonegap or sencha.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,672
    Answers
    3354
    Vote Rating
    747
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Does it work outside of phonegap?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    India
    Posts
    56
    Vote Rating
    0
    raju0574 is on a distinguished road

      0  

    Default


    The Problem is coming only when i use carousel and textfield in the same panel ,
    and that too when i convert that app to Androia native app by using phonegap only am getting,
    other than that simple sencha textfield ,simple plain html textfield everything is working fine in the converted android native app,
    When i use carousel only am getting the problem.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar