Giter VIP home page Giter VIP logo

nativescript-textinputlayout's People

Contributors

bradleygore avatar bradmartin avatar simonpietsch avatar vtjon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nativescript-textinputlayout's Issues

Custom font not working on Android

Hi,
I am trying to set a custom font for my entire applicaiton. It works on amonst everything except for TextField with within TextInputLayout with secure input entry (password field).
It works perfectly fine everywhere else with the same setup.
Any help would be much appreciated.

Thank You.

iOS Angular binding

Hello,

I've tried using this plugin on iOS and did not have success with the two-way binding using ngModel.

Example:

<android>
        <TextInputLayout hint="Login" hintAnimationEnabled="true">
            <TextField [isEnabled]="!loggingIn" [(ngModel)]="user.login" keyboardType="number" returnKeyType="next" maxLength="11"></TextField>
        </TextInputLayout>
        <TextInputLayout hint="Password" hintAnimationEnabled="true">
            <TextField [isEnabled]="!loggingIn" [(ngModel)]="user.password" returnKeyType="next" (returnPress)="submit()" secure="true"></TextField>
        </TextInputLayout>
    </android>
    <ios>
        <TextInputLayout hint="Login" hintAnimationEnabled="true" [isEnabled]="!loggingIn" [(ngModel)]="user.login" keyboardType="number"
            returnKeyType="next" maxLength="11" ngDefaultControl></TextInputLayout>
        <TextInputLayout hint="Password" hintAnimationEnabled="true" [isEnabled]="!loggingIn" [(ngModel)]="user.password" returnKeyType="next"
            (returnPress)="submit()" secure="true" ngDefaultControl></TextInputLayout>
    </ios>

Although the input works fine, the iOS version does not update the user.login and user.password values. Is there any way to make the angular binding work on the iOS version?

Plugin not compatible with NativeScript 3.x.x

NativeScript 3.0.0 has introduced a number of breaking changes.

Currently, the plugin is throwing with the following when used with nativeScript 3.x.x project.

TypeError: Could not load view for: TextInputLayout.Error: com.tns.NativeScriptException: Failed to find module: "ui/core/proxy", rel
ative to: app/tns_modules/

Due to changes to the way the property sytem works, the plugin will need to be re-written in the parts where dependency-observable properties and ui/core/proxy is used

secure="true" ignored on TextField

Secure input is ignored.

      <TextInputLayout 
          class="form-input"
          hint="{{ user.passwordHint }}"
          hintAnimationEnabled="true"
          hintTextAppearance="SpecialTextInputLayout"
          [tintColor]="textInputLayout.tintColor"
          [lineColor]="textInputLayout.lineColor"
          [selectedTitleColor]="textInputLayout.selectedTitleColor"
          [selectedLineColor]="textInputLayout.selectedLineColor">
            <TextField 
              #passwordTextField
              id="passwordTextField"
              [editable]="!isLoading"
              [(ngModel)]="user.password" 
              autocorrect="false" 
              autocapitalizationType="none"
              secure="true"
              returnKeyType="done"
              returnPress="submit()">
            </TextField>
        </TextInputLayout>

The secure="true" does not work with textinputlayout added.

Manage formControl

Hi,

We try the plugin, all is OK on Android, but in IOS we can't map with FormControl to set validator for the input. Is it possible (with angular version) ?

Ty

Unable to build - require a higher minimum deployment

My nativescript build is failing, starting today.

...

Installing pods...
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "SkyFloatingLabelTextField":
  In snapshot (Podfile.lock):
    SkyFloatingLabelTextField (= 3.5.1, ~> 3.0)

  In Podfile:
    SkyFloatingLabelTextField (= 3.5.2)

    SkyFloatingLabelTextField (~> 3.0)

    SkyFloatingLabelTextField (~> 3.3.0)

Specs satisfying the `SkyFloatingLabelTextField (~> 3.0), SkyFloatingLabelTextField (~> 3.3.0), SkyFloatingLabelTextField (= 3.5.2), SkyFloatingLabelTextField (= 3.5.1, ~> 3.0)` dependency were found, but they required a higher minimum deployment target.
Command pod failed with exit code 1 Error output:

Problems to build in IOS

I have Xcode 10, Swift 4.0 and Nativescript 4.2. when I try to build project for IOS get follow menssage

error: Value for SWIFT_VERSION cannot be empty. (in target 'SkyFloatingLabelTextField')
note: Using new build systemnote: Planning buildnote: Constructing build description
** ARCHIVE FAILED **

Textfield properties not evaluated on iOS

Hello, is there any way to use Texfield properties like "secure", "autocapitalizationType" or "autocorrect" with this plugin on iOS?
They are working just fine on Android, when using them on the child element.

Thanks

Element with error does not auto-scroll above the soft keyboard

If Textinputlayout element is at the bottom of the page and is in the normal state clicking on it will open the soft keyboard and scroll the element above so it's visible while typing.
But if the same element has an error string defined and is clicked it no longer scrolls up and the keyboard covers it. This is a serious usability problem.
I understand that you are no longer actively developing this plugin. Could you make a suggestions of where in your code to start looking to fix this.

Question Change margin between Text Hint and Text Field

Im currently ussing the TextField for android with class="input input-rounded" but I need margin between this items. Is it prossible?

<TextInputLayout hint="Name" hintAnimationEnabled="true">
    <TextField class="input input-rounded" [(ngModel)]="name"></TextField>
</TextInputLayout>

input

Error on iOS Build regarding Swift version

When I run tnr run iOS I get the following error after installing this plugin.

=== BUILD TARGET IQKeyboardManager OF PROJECT Pods WITH CONFIGURATION Debug ===
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
** BUILD FAILED **

Unable to build project for iOS with this plugin and Xcode 9

I'm facing this error when I'm build for iOS

The target “SkyFloatingLabelTextField” contains source code developed with Swift 2.x. Xcode 9 does not support building or migrating Swift 2.x targets.

Use Xcode 8.x to migrate the code to Swift 3.

keyboardType not working on ios

keyboardType not working on ios device....

<TIL:TextInputLayout android:height="60" ios:height="45" hint="Amount" 
                                class="halfTxtField inplay pull-left m-t-15"
                                ios:class="halfTxtField pull-left" 
                                hintTextAppearance="SpecialTextInputLayout"
                              
                                text="{{amount}}" >
                                    <TextView text="{{amount}}" keyboardType="number" />
 </TIL:TextInputLayout>

Unable to Style the TextField

It is impossible to apply styling to the TextField contained in a TextInputLayout.
Try adding padding or background color does nothing.

Support for Nativescript 4.x.x

Considering that Nativescript 4.x.x is out, this plugin should support it.

I believe there are no breaking changes, but the following line prevents a bump up in the version.

Would appreciate if you could take a look and bump it up

Error using this plugin on android version 4.4.2

Here my error logs

An uncaught Exception occurred on "main" thread.
java.lang.RuntimeException: Unable to resume activity {org.nativescript.slimNative/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
Calling js method onCreateView failed

Error: java.lang.ClassCastException: org.nativescript.widgets.CommonLayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams
android.support.design.widget.TextInputLayout.updateInputLayoutMargins(TextInputLayout.java:371)
android.support.design.widget.TextInputLayout.addView(TextInputLayout.java:271)
android.view.ViewGroup.addView(ViewGroup.java:3509)
android.view.ViewGroup.addView(ViewGroup.java:3485)
com.tns.Runtime.callJSMethodNative(Native Method)
com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1022)
com.tns.Runtime.callJSMethodImpl(Runtime.java:907)
com.tns.Runtime.callJSMethod(Runtime.java:895)
com.tns.Runtime.callJSMethod(Runtime.java:879)
com.tns.Runtime.callJSMethod(Runtime.java:871)
com.tns.FragmentClass.onCreateView(android.app.Fragment.java)
android.app.Fragment.performCreateView(Fragment.java:1700)
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:906)
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)
android.app.BackStackRecord.run(BackStackRecord.java:698)
android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1463)
android.app.Activity.performResume(Activity.java:5495)
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2980)
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3023)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425)
android.app.ActivityThread.access$800(ActivityThread.java:151)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
android.os.Handler.dispatchMessage(Handler.java:110)
android.os.Looper.loop(Looper.java:193)
android.app.ActivityThread.main(ActivityThread.java:5324)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
dalvik.system.NativeStart.main(Native Method)
File: "/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.js, line: 101, column: 29

StackTrace:
Frame: function:'onChildLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.js', line: 101, column: 30
Frame: function:'Observable.notify', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/data/observable/observable.js', line: 146, column: 32
Frame: function:'Observable._emit', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 743, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'TextInputLayout._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.common.js', line: 93, column: 13
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'LayoutBase._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/layouts/layout-base-common.js', line: 144, column: 22
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'LayoutBase._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/layouts/layout-base-common.js', line: 144, column: 22
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'ContentView._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/content-view/content-view.js', line: 65, column: 13
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'ScrollView.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/scroll-view/scroll-view-common.js', line: 40, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'ContentView._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/content-view/content-view.js', line: 65, column: 13
Frame: function:'Page._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/page/page-common.js', line: 285, column: 41
Frame: function:'DrawerPage._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/drawerpage/drawerpage.js', line: 111, column: 41
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'Page.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/page/page-common.js', line: 53, column: 35
Frame: function:'DrawerPage.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/drawerpage/drawerpage-common.js', line: 21, column: 35
Frame: function:'View._addViewCore', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 1173, column: 18
Frame: function:'View._addViewCore', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 128, column: 39
Frame: function:'View._addView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 1163, column: 14
Frame: function:'onFragmentShown', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/frame.js', line: 40, column: 11
Frame: function:'FragmentCallbacksImplementation.onCreateView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/frame.js', line: 612, column: 13
Frame: function:'FragmentClass.onCreateView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/fragment.js', line: 23, column: 38

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2994)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3023)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5324)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(Native Method)

Caused by: com.tns.NativeScriptException:
Calling js method onCreateView failed

Error: java.lang.ClassCastException: org.nativescript.widgets.CommonLayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams
android.support.design.widget.TextInputLayout.updateInputLayoutMargins(TextInputLayout.java:371)
android.support.design.widget.TextInputLayout.addView(TextInputLayout.java:271)
android.view.ViewGroup.addView(ViewGroup.java:3509)
android.view.ViewGroup.addView(ViewGroup.java:3485)
com.tns.Runtime.callJSMethodNative(Native Method)
com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1022)
com.tns.Runtime.callJSMethodImpl(Runtime.java:907)
com.tns.Runtime.callJSMethod(Runtime.java:895)
com.tns.Runtime.callJSMethod(Runtime.java:879)
com.tns.Runtime.callJSMethod(Runtime.java:871)
com.tns.FragmentClass.onCreateView(android.app.Fragment.java)
android.app.Fragment.performCreateView(Fragment.java:1700)
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:906)
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)
android.app.BackStackRecord.run(BackStackRecord.java:698)
android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1463)
android.app.Activity.performResume(Activity.java:5495)
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2980)
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3023)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2425)
android.app.ActivityThread.access$800(ActivityThread.java:151)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
android.os.Handler.dispatchMessage(Handler.java:110)
android.os.Looper.loop(Looper.java:193)
android.app.ActivityThread.main(ActivityThread.java:5324)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
dalvik.system.NativeStart.main(Native Method)
File: "/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.js, line: 101, column: 29

StackTrace:
Frame: function:'onChildLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.js', line: 101, column: 30
Frame: function:'Observable.notify', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/data/observable/observable.js', line: 146, column: 32
Frame: function:'Observable._emit', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/data/observable/observable.js', line: 168, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 743, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'TextInputLayout._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-textinputlayout/textInputLayout.common.js', line: 93, column: 13
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'LayoutBase._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/layouts/layout-base-common.js', line: 144, column: 22
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'LayoutBase._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/layouts/layout-base-common.js', line: 144, column: 22
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'ContentView._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/content-view/content-view.js', line: 65, column: 13
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'ScrollView.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/scroll-view/scroll-view-common.js', line: 40, column: 35
Frame: function:'eachChild', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 748, column: 23
Frame: function:'ContentView._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/content-view/content-view.js', line: 65, column: 13
Frame: function:'Page._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/page/page-common.js', line: 285, column: 41
Frame: function:'DrawerPage._eachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/drawerpage/drawerpage.js', line: 111, column: 41
Frame: function:'View._loadEachChildView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 751, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 741, column: 14
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 83, column: 35
Frame: function:'Page.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/page/page-common.js', line: 53, column: 35
Frame: function:'DrawerPage.onLoaded', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/drawerpage/drawerpage-common.js', line: 21, column: 35
Frame: function:'View._addViewCore', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 1173, column: 18
Frame: function:'View._addViewCore', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view.js', line: 128, column: 39
Frame: function:'View._addView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/core/view-common.js', line: 1163, column: 14
Frame: function:'onFragmentShown', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/frame.js', line: 40, column: 11
Frame: function:'FragmentCallbacksImplementation.onCreateView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/frame.js', line: 612, column: 13
Frame: function:'FragmentClass.onCreateView', file:'/data/data/org.nativescript.slimNative/files/app/tns_modules/ui/frame/fragment.js', line: 23, column: 38

at com.tns.Runtime.callJSMethodNative(Native Method)
at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1022)
at com.tns.Runtime.callJSMethodImpl(Runtime.java:907)
at com.tns.Runtime.callJSMethod(Runtime.java:895)
at com.tns.Runtime.callJSMethod(Runtime.java:879)
at com.tns.Runtime.callJSMethod(Runtime.java:871)
at com.tns.FragmentClass.onCreateView(android.app.Fragment.java)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:906)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)
at android.app.BackStackRecord.run(BackStackRecord.java:698)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1463)
at android.app.Activity.performResume(Activity.java:5495)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2980)
... 12 more

Caused by: java.lang.ClassCastException: org.nativescript.widgets.CommonLayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams
at android.support.design.widget.TextInputLayout.updateInputLayoutMargins(TextInputLayout.java:371)
at android.support.design.widget.TextInputLayout.addView(TextInputLayout.java:271)
at android.view.ViewGroup.addView(ViewGroup.java:3509)
at android.view.ViewGroup.addView(ViewGroup.java:3485)
... 26 more

iOS build with Xcode 8 throws "Command xcodebuild failed with exit code 65"

Using the plugin to build a project with Xcode 8 is throwing due to:

=== BUILD TARGET MaterialCard OF PROJECT Pods WITH CONFIGURATION Debug ===

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required 
to be configured correctly for targets which use Swift. 
Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift
version or use the Build Settings editor to configure the build setting directly. 

Fixed the issue by changing the Podfile:

pod 'SkyFloatingLabelTextField', '~> 3.2.0'

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '3.0'
      end
    end
  end

Please consider update the pod version, a lots of issue fixed on the iOS part with the latest version.

iOS: Can't find variable: SkyFloatingLabelTextField

1   0x112795d4b NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x112e3928e ffi_closure_unix64_inner
3   0x112e39bd2 ffi_closure_unix64
4   0x113f61e31 -[UIViewController __viewWillAppear:]
5   0x113fa37b2 -[UINavigationController _startTransition:fromViewController:toViewController:]
6   0x113fa463f -[UINavigationController _startDeferredTransitionIfNeeded:]
7   0x113fa58c3 -[UINavigationController __viewWillLayoutSubviews]
8   0x1141fea49 -[UILayoutContainerView layoutSubviews]
9   0x113e876f5 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
10  0x113b303ee -[CALayer layoutSublayers]
11  0x113b344dd CA::Layer::layout_if_needed(CA::Transaction*)
12  0x113abcded CA::Context::commit_transaction(CA::Transaction*)
13  0x113ae8704 CA::Transaction::commit()
14  0x113dd1d3a __34-[UIApplication _firstCommitBlock]_block_invoke_2
15  0x1172a718c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
16  0x11728b96b __CFRunLoopDoBlocks
17  0x11728b144 __CFRunLoopRun
18  0x11728a9b9 CFRunLoopRunSpecific
19  0x1193439c6 GSEventRunModal
20  0x113db65e8 UIApplicationMain
21  0x112e39a2d ffi_call_unix64
22  0x134857330
file:///app/tns_modules/nativescript-textinputlayout/textInputLayout.js:81:45: JS ERROR ReferenceError: Can't find variable: SkyFloatingLabelTextField

If I remove the elements from the page, it loads fine.

I tried adding

pod 'SkyFloatingLabelTextField', '~> 3.2.0'

to the podfile and running pod install, but it still cannot find it.

Maintainable fix for Unable to determine Swift version, after compilation Pod fix got wiped out

Hello, suddenly I started getting this error during compilation of my ios application using NS

[!] Unable to determine Swift version for the following pods:

 - `SkyFloatingLabelTextField` does not specify a Swift version and none of the targets (`relicnativescriptfullapp`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

Any thoughts about this issue? I saw the PodFile and the segment to add the configuration build variable SWIFT_VERSION is runned before the pod declaration for this plugin, so, maybe there is a fix on the platform variable or xconfig file in platforms that doesnt get wiped out after compilation.
thanks
My env configuration is:

$ tns info
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 4.1.2 and the latest available version is 4.2.2.
✔ Component tns-core-modules has 4.2.0 version and is up to date.
⚠ Update available for component tns-android. Your current version is 4.1.3 and the latest available version is 4.2.0.
⚠ Update available for component tns-ios. Your current version is 4.1.0 and the latest available version is 4.2.0.

My PodFile created by NS:

use_frameworks!

target "relicnativescriptfullapp" do
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-checkbox/platforms/ios/Podfile 
 pod 'BEMCheckBox', '~> 1.4.1'
 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-imagepicker/platforms/ios/Podfile 
 pod 'QBImagePickerController', '~> 3.4.0' 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-iqkeyboardmanager/platforms/ios/Podfile 
 pod 'IQKeyboardManager', '~> 6.0.0'
 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-loading-indicator/platforms/ios/Podfile 
 pod 'MBProgressHUD'
 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-swift-3.0/platforms/ios/Podfile 
 
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
    end
  end
end
 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-textinputlayout/platforms/ios/Podfile 
 pod 'SkyFloatingLabelTextField', '~> 3.3.0' 
 # End Podfile 
# Begin Podfile - /Users/xxxxx/Documents/Projects/relic-nativescript-full-app/node_modules/nativescript-toast/platforms/ios/Podfile 
 pod 'Toaster', '~> 2.0.1' 
 # End Podfile 

end

Is unified syntax possible?

Hello,
i've read through the documentation and the previous issues. Everything i've read appears to point to the fact that the XML markup for Android is Different than for iOS (inclusion or exclusion of the child TextField). Since i have a few dozen fields, conditionally duplicating markup by OS would be rather clunky. It would be preferable to use the same syntax for both.

Is there a recommended way to create a page suitable for both platforms and to minimize code repetition? Would something like below work? Do TextField properties set on TextInputLayout (as prescribed for iOS) trickle down to the child TextField component (as prescribed for Android)?

<TIL:TextInputLayout
    hint="{{ hint }}"
    isEnabled="{{ isEnabled }}"
    disabledColor="#c3c3c3"
    error="{{ error }}"
    text="{{ demoText }}"
    title="{{ title }}"
    color="{{ error ? '#aa0000' : '#d745ff' }}"
    tintColor="#d745ff"
    lineColor="#d745ff"
    selectedTitleColor="#ff45ca"
    selectedLineColor="#7a45ff"
    lineHeight="1.25"
    selectedLineHeight="3.5" >

<android>
       <TextField text="{{ demoText }}" />
</android>

</TIL:TextInputLayout>

Thanks in advance.

changing hint color

Hey,

first of all thank you for the plugin it is awesome!

There is a way to change the hint color? (before I tapped the textview)

Thanks!

On iOS, I get a series of syntax errors during compile, leading to the app being unable to install on the emulator. Works OK on Windows emulating Android.

I recently adding the TIL plugin to my app and it's all OK on the Windows machine I use to develop the Android version. But when I take the same code to iOS, I get all kinds of errors, finally failing to deploy the code on the emulator. I removed the platform, reinstalled it, made no difference.

Here's the command that starts of the errors and beginning of the errors:

CompileSwift normal x86_64 /Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/SkyFloatingLabelTextField.swift
cd /Users/rk/Desktop/clg/platforms/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/SkyFloatingLabelTextField.swift /Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/SkyFloatingLabelTextFieldWithIcon.swift /Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/UITextField+fixCaretPosition.swift -target x86_64-apple-ios8.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -I /Users/rk/Desktop/clg/platforms/ios/build/emulator -F /Users/rk/Desktop/clg/platforms/ios/build/emulator -enable-testing -g -import-underlying-module -module-cache-path /Users/rk/Library/Developer/Xcode/DerivedData/ModuleCache -D COCOAPODS -serialize-debugging-options -Xcc -I/Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/SkyFloatingLabelTextField-generated-files.hmap -Xcc -I/Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/SkyFloatingLabelTextField-own-target-headers.hmap -Xcc -I/Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/SkyFloatingLabelTextField-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/SkyFloatingLabelTextField-project-headers.hmap -Xcc -I/Users/rk/Desktop/clg/platforms/ios/build/emulator/include -Xcc -I/Users/rk/Desktop/clg/platforms/ios/Pods/Headers/Private -Xcc -I/Users/rk/Desktop/clg/platforms/ios/Pods/Headers/Public -Xcc -I/Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/DerivedSources/x86_64 -Xcc -I/Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/rk/Desktop/clg/platforms/ios/Pods -emit-module-doc-path /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextFieldpartial.swiftdoc -Onone -module-name SkyFloatingLabelTextField -emit-module-path /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextFieldpartial.swiftmodule -serialize-diagnostics-path /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextField.dia -emit-dependencies-path /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextField.d -emit-reference-dependencies-path /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextField.swiftdeps -o /Users/rk/Library/Developer/Xcode/DerivedData/clg-esiqesllznbtflbhjuwlylgzrrun/Build/Intermediates/Pods.build/Debug-iphonesimulator/SkyFloatingLabelTextField.build/Objects-normal/x86_64/SkyFloatingLabelTextField.o
/Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/SkyFloatingLabelTextField.swift:15:1: error: expected declaration
open class SkyFloatingLabelTextField: UITextField {
^
/Users/rk/Desktop/clg/platforms/ios/Pods/SkyFloatingLabelTextField/Sources/SkyFloatingLabelTextField.swift:23:5: error: expected declaration
fileprivate func updateTextAligment() {

There are a WHOLE LOT of other such syntax errors - errors about declarations not being separated by a ';', expected declarations not found and so on.
Any ideas on how I can fix this?

Upgrade to tns 6.0 crashes on TextInputLayout

I don't know where the problem is, so I'm going to stick my neck out and say it's here, with this plugin, sorry!
I upgraded NativeScript to 6.0 and a working app now fails to run. It complains as below. Any thoughts?
BTW, I had to rename other plugins (nstudio: nativescript-checkbox, nativescript-cardview, nativescript-snackbar) to make them run OK after migration.
Here's the log:

An uncaught Exception occurred on "main" thread.
Calling js method onCreateView failed
TypeError: Cannot read property 'widget' of undefined

StackTrace:
	Frame: function:'push.../node_modules/nativescript-textinputlayout/textInputLayout.js.TextInputLayout.createNativeView', file:'file:///data/data/.../files/app/vendor.js', line: 35452, column: 43
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69526, column: 31
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/layouts/layout-base-common.js.LayoutBaseCommon.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 78785, column: 26
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/layouts/layout-base-common.js.LayoutBaseCommon.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 78785, column: 26
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/layouts/layout-base-common.js.LayoutBaseCommon.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 78785, column: 26
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/layouts/layout-base-common.js.LayoutBaseCommon.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 78785, column: 26
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/layouts/layout-base-common.js.LayoutBaseCommon.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 78785, column: 26
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'', file:'file:///data/data/.../files/app/vendor.js', line: 69568, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/content-view/content-view.js.ContentView.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 67310, column: 13
	Frame: function:'push.../node_modules/tns-core-modules/ui/page/page-common.js.PageBase.eachChildView', file:'file:///data/data/.../files/app/vendor.js', line: 79956, column: 40
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view/view-common.js.ViewCommon.eachChild', file:'file:///data/data/.../files/app/vendor.js', line: 70821, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._setupUI', file:'file:///data/data/.../files/app/vendor.js', line: 69567, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._addViewCore', file:'file:///data/data/.../files/app/vendor.js', line: 69466, column: 18
	Frame: function:'push.../node_modules/tns-core-modules/ui/core/view-base/view-base.js.ViewBase._addView', file:'file:///data/data/.../files/app/vendor.js', line: 69455, column: 14
	Frame: function:'push.../node_modules/tns-core-modules/ui/frame/frame.js.FragmentCallbacksImplementation.onCreateView', file:'file:///data/data/.../files/app/vendor.js', line: 75492, column: 19
	Frame: function:'push.../node_modules/tns-core-modules/ui/frame/fragment.js.FragmentClass.onCreateView', file:'file:///data/data/.../files/app/vendor.js', line: 73465, column: 38
	at com.tns.Runtime.callJSMethodNative(Native Method)
	at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1242)
	at com.tns.Runtime.callJSMethodImpl(Runtime.java:1122)
	at com.tns.Runtime.callJSMethod(Runtime.java:1109)
	at com.tns.Runtime.callJSMethod(Runtime.java:1089)
	at com.tns.Runtime.callJSMethod(Runtime.java:1081)
	at com.tns.FragmentClass.onCreateView(FragmentClass.java:53)
	at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
	at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
	at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
	at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
	at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
	at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
	at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
	at androidx.fragment.app.FragmentManagerImpl$1.run(FragmentManager.java:733)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6669)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Thank you for a great plugin!

Better example on how to style on Android

Hello,

I have commented on #26 and thought it would be best to create a separate issue instead.

I would like to request a more in-depth example which explains where a person should be searching for the proposed styles (XML) changes, and how to apply them.

If someone has an example, that could be used as well.

Thank you for this wonderful plugin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.