Coder Social home page Coder Social logo

animatedtablayout's People

Contributors

iammert avatar yusufcakmak 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animatedtablayout's Issues

Rectangle tabs instead curvy tabs

The tabs are in rectangler shape instead of pill like shape on Android 11 but looks as expected on Android 7.
I was able to solve the issue by downloading Source Code and simply importing as a new module, that's it. The Pill shape is back.
It is so strange that using implementation 'com.github.iammert:AnimatedTabLayout:0.1' gives my rectangular shaped tabs but importing souce code as module and using implementation project(':ModuleName') gives me pill shaped tabs.

Crashes on some instances, this is the error message I am seeing from the stacktrace. I have all the drawables declared just fine, but even still

Caused by: android.content.res.Resources$NotFoundException: 
  at android.content.res.Resources.loadDrawableForCookie (Resources.java:2640)
  at android.content.res.Resources.loadDrawable (Resources.java:2540)
  at android.content.res.Resources.getDrawable (Resources.java:806)
  at android.content.Context.getDrawable (Context.java:458)
  at android.support.v4.content.ContextCompat.getDrawable (ContextCompat.java:358)
  at com.iammert.library.AnimatedTabResourceParser.getDrawable (AnimatedTabResourceParser.kt:69)
  at com.iammert.library.AnimatedTabResourceParser.parseSingleTab (AnimatedTabResourceParser.kt:57)
  at com.iammert.library.AnimatedTabResourceParser.parse (AnimatedTabResourceParser.kt:25)
  at com.iammert.library.AnimatedTabLayout.init (AnimatedTabLayout.kt:52)
  at com.iammert.library.AnimatedTabLayout.<init> (AnimatedTabLayout.kt:35)

Set selectable color in the ViewGroup / Parent view

It would be great to have an XML attribute where you would be able to set default inactiveColor & activeColor to its child views.

That could be of course overriden and or changed at runtime (maybe the 2.0)

Adding text along with Images

Hi,
Can we also add text along with Images.
Text can be either left to image or right to image.

If this is implemented, then it will very helpful.

Thanks.

Android Studio Stuck

Hardware:
HP Laptop
Core i7-7700K
8GB Ram|
Windows 10 64bit

I have over 20+ big projects on the machine and non of it hangs the studio except when I add your library, and start adding AnimatedTabLayout in the xml file. The Studio hangs and never recovers. Tried with creating new projects still same. Not sure if the bug is from IDE or your library. Did anyone else report something similar?

InflateExeption

I get this Inflate Exception on the Animated Tab Layout xml. how can i fix it?
I'm trying to use this in Java.

        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3184)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3292)
        at android.app.ActivityThread.-wrap12(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1881)
        at android.os.Handler.dispatchMessage(Handler.java:108)
        at android.os.Looper.loop(Looper.java:166)
        at android.app.ActivityThread.main(ActivityThread.java:7415)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
     Caused by: android.view.InflateException: Binary XML file line #88: Binary XML file line #88: Error inflating class com.iammert.library.AnimatedTabLayout
     Caused by: android.view.InflateException: Binary XML file line #88: Error inflating class com.iammert.library.AnimatedTabLayout
     Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Constructor.newInstance0(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
        at android.view.LayoutInflater.createView(LayoutInflater.java:658)
        at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:211)
        at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)
        at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:302)
        at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:186)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:791)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:741)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:874)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:835)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:877)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:835)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:877)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:835)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
        at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
        at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
        at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
        at info.touchstudio.iot.Activities.LeaderBoardActivity.onCreate(LeaderBoardActivity.java:15)
        at android.app.Activity.performCreate(Activity.java:7373)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3137)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3292)
        at android.app.ActivityThread.-wrap12(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1881)
        at android.os.Handler.dispatchMessage(Handler.java:108)
        at android.os.Looper.loop(Looper.java:166)
        at android.app.ActivityThread.main(ActivityThread.java:7415)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
     Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
        at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:270)
        at android.content.res.Resources.getDimension(Resources.java:720)
        at com.iammert.library.AnimatedTabResourceParser.getDimen(AnimatedTabResourceParser.kt:73)
        at com.iammert.library.AnimatedTabResourceParser.parseTabsConfig(AnimatedTabResourceParser.kt:40)
        at com.iammert.library.AnimatedTabResourceParser.parse(AnimatedTabResourceParser.kt:23)
        at com.iammert.library.AnimatedTabLayout.init(AnimatedTabLayout.kt:52)
        at com.iammert.library.AnimatedTabLayout.<init>(AnimatedTabLayout.kt:35)
        	... 34 more```

Badges

Hello! Thank you very much for the great library. It would be great if you will add badges in future updates - it will help to notify users about a new message, for example.

Update MaterialIntroView

Hi @iammert,

I know this is not the right place to open this, but maybe it get's your attention:
Your library is so awesome, but has many issues:
https://github.com/iammert/MaterialIntroView

Would you maybe update it (dependencies and code) so it works fine again?

Some missing features:

  • Sequenze
  • Set overlay intensitiy
  • Set shape in global config (MaterialIntroConfiguration)
  • etc.

Would be really awesome, if you could give your project a little bit of time. So many people are using it and it just looks so awesome!

Thank you!

Use in java

Thanks for this great lib.
Can i use this into java?

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.