iOS Question LoadLayout Problem

Discussion in 'iOS Questions' started by ykucuk, Jan 12, 2017.

  1. ykucuk

    ykucuk Active Member Licensed User

    Hello,

    i converted bal to bil with Bal2Bil.jar with success.

    Unfortunately application crash on line of LoadLayout. Error is
    Code:
    Unknown type12
    There is no any custom view in this layout.

    Any help ?
     

    Attached Files:

  2. ykucuk

    ykucuk Active Member Licensed User

    I converted with v1.01 but same error.
     

    Attached Files:

  3. ykucuk

    ykucuk Active Member Licensed User

    I also attached source code. Maybe i am missing something.
     

    Attached Files:

  4. klaus

    klaus Expert Licensed User

    The problem is in layouthome9.
    It seems tha you have an EditText in B4A.
    And this is translated to a Panel in B4i.
    I suggest you make a new layout for that in the B4i Designer.
     
  5. ykucuk

    ykucuk Active Member Licensed User

    Hello klaus.

    I have edittext in panel.

    I have more than 40 layout in this project. Android version is already in market. Its very hard to create them again from begin. Any other suggest ?

    Note: I deleted all edittext in this layout but same error. I think its not related with edittext and panel
     
  6. klaus

    klaus Expert Licensed User

    I think Erel should have a look at this.
    I suggest you to send him one example of two layout files, aB4A layout file and its translated B4i layout file.
    So he could look if there is a translation problem.
     
  7. ykucuk

    ykucuk Active Member Licensed User

    You are right. i added original and converted file.
     

    Attached Files:

  8. Erel

    Erel Administrator Staff Member Licensed User

    v1.02 is attached. Open the layout file with the B4i designer and save it. It should work.
     

    Attached Files:

    Paulo Barros likes this.
  9. Giusy

    Giusy Active Member Licensed User

    Hi, @ykucuk
    I have the same problem.
    how did you solve it?
    I have only labels, two image, a panel and scrollview
    Thank
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice