A library to bring fully animated Material Design components to pre-Lolipop Android.

Overview

Material

Download Android Arsenal

MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android. MaterialLibrary's original author is Rey Pham.

Features

Demo

Get it on Google Play

Or try it here.

Getting Started

Add Gradle dependency:

dependencies {
   implementation 'com.github.rey5137:material:1.3.1'
}

AppCompat, CardView, RecyclerView library is required by Material library.

dependencies {
   compile 'androidx.appcompat:appcompat:1.0.0'
   compile 'androidx.cardview:cardview:1.0.0'
   compile 'androidx.recyclerview:recyclerview:1.0.0'
}

Now you can use any widget in com.rey.material.widget package as you wish. For styling, please view Wiki. Note that default style of widgets depend on theme of AppCompat. Here is an example:

     <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->

        <!-- colorPrimary is used for the default action bar background -->
        <item name="colorPrimary">@color/colorPrimary</item>

        <!-- colorPrimaryDark is used for the status bar -->
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>

        <!-- colorAccent is used as the default value for colorControlActivated
             which is used to tint widgets -->
        <item name="colorAccent">@color/colorAccent</item>

        <!-- You can also set colorControlNormal, colorControlActivated
             colorControlHighlight & colorSwitchThumbNormal. -->
    </style>

Donation

You can support the project and thank the author for his hard work.

Click here to lend your support to: Support Material Library project. and make a donation at pledgie.com !

PayPal

Contributing

Want to contribute? You are welcome! Note that all pull request should go to dev branch.

Developed By

License

Copyright 2015 Rey Pham.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • Updating support:appcompat-v7 or support:design to 23.1.1 crashes

    Updating support:appcompat-v7 or support:design to 23.1.1 crashes

    Updating support:appcompat-v7 or support:design to the latest version (23.1.1) causes crashes, latest working is 23.1.0.

    Updating support:appcompat-v7 causes a crash at app start: java.lang.NoClassDefFoundError: android.support.design.internal.NavigationMenuPresenter

    Updating support:design causes a crash when I try to use a component from the library: java.lang.VerifyError: com/rey/material/app/SimpleDialog

    opened by leomarques 37
  • com.android.support:appcompat-v7:23+ not have Spinner_android_gravity

    com.android.support:appcompat-v7:23+ not have Spinner_android_gravity

    java.lang.RuntimeException: Unable to start activity ComponentInfo{yobdo.yobapp/yobdo.yobapp.activity.EditPositionActivity}: android.view.InflateException: Binary XML file line #69: Error inflating class com.rey.material.widget.Spinner at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5221) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: android.view.InflateException: Binary XML file line #69: Error inflating class com.rey.material.widget.Spinner at android.view.LayoutInflater.createView(LayoutInflater.java:633) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743) at android.view.LayoutInflater.rInflate(LayoutInflater.java:806) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.rInflate(LayoutInflater.java:809) at android.view.LayoutInflater.inflate(LayoutInflater.java:504) at android.view.LayoutInflater.inflate(LayoutInflater.java:414) at android.view.LayoutInflater.inflate(LayoutInflater.java:365) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:257) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)

    fixed 
    opened by grestuccia1 21
  • Problem in Demo app

    Problem in Demo app

    Hi, I've installed the Demo app, but some problem happened.

    1. In Android 5.0, all the text in dialog vanish, but it's OK in 4.4 (you can check the following 2nd photo) 11096938_943655545679951_2108684416_o jpg
    2. In Android 4.4, the button in actionbar vanishes (in my case, it's refresh button), it's find in 5.0. 11028656_943655905679915_139509241_o jpg

    I think this may be the theme or style problem. Thank you again.

    bug 
    opened by enginebai 19
  • Rendering Problems in xml - unable to view the layout in xml

    Rendering Problems in xml - unable to view the layout in xml

    More Information:

    Using Android Studio 1.3 Version 1.0.0

    XML - when trying to view the preview unable to preview and the message displays is

    Rendering Problems java.lang.NullPointerException at com.rey.material.app.ThemeManager.registerOnThemeChangedListener(ThemeManager.java:181) at com.rey.material.widget.Button.onAttachedToWindow(Button.java:73) at android.view.View.dispatchAttachedToWindow(View.java:13525) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2695) at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:42) at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:422) at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:321) at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350) at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:511) at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:499) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:888) at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:499) at com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:72) at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:611) at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:608) at com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:363) at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:608) at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:630) at org.jetbrains.android.uipreview.AndroidLayoutPreviewToolWindowManager.doRender(AndroidLayoutPreviewToolWindowManager.java:643) at org.jetbrains.android.uipreview.AndroidLayoutPreviewToolWindowManager.access$1700(AndroidLayoutPreviewToolWindowManager.java:80) at org.jetbrains.android.uipreview.AndroidLayoutPreviewToolWindowManager$7$1.run(AndroidLayoutPreviewToolWindowManager.java:585) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at org.jetbrains.android.uipreview.AndroidLayoutPreviewToolWindowManager$7.run(AndroidLayoutPreviewToolWindowManager.java:580) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:320) at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:310) at com.intellij.util.ui.update.MergingUpdateQueue$2.run(MergingUpdateQueue.java:254) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:269) at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:227) at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:217) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238) at com.intellij.util.Alarm$Request$1.run(Alarm.java:351) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    fixed 
    opened by sateeshv 18
  •  java.lang.NullPointerException  at com.rey.material.app.ThemeManager class

    java.lang.NullPointerException at com.rey.material.app.ThemeManager class

    My application is crash when startup. My App Layout like this: <com.rey.material.widget.Button android:id="@+id/button_bt_flat_color" android:layout_width="0dp" android:layout_height="@dimen/bt_height" android:layout_weight="0.4" android:text="BUTTON" android:background="@null" app:v_styleId="@array/button_flat_color"/>

    Would you tell me how to fix below error log.

    java.lang.NullPointerException
            at com.rey.material.app.ThemeManager.registerOnThemeChangedListener(ThemeManager.java:181)
            at com.rey.material.widget.Button.onAttachedToWindow(Button.java:72)
            at android.view.View.dispatchAttachedToWindow(View.java:13522)
            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2671)
            at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2671)
            at android.view.ViewGroup.addViewInner(ViewGroup.java:3809)
            at android.view.ViewGroup.addViewInLayout(ViewGroup.java:3746)
            at android.widget.ListView.setupChild(ListView.java:1863)
            at android.widget.ListView.makeAndAddView(ListView.java:1816)
            at android.widget.ListView.fillDown(ListView.java:697)
            at android.widget.ListView.fillFromTop(ListView.java:763)
            at android.widget.ListView.layoutChildren(ListView.java:1641)
            at android.widget.AbsListView.onLayout(AbsListView.java:2563)
            at android.view.View.layout(View.java:15762)
            at android.view.ViewGroup.layout(ViewGroup.java:4867)
            at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
            at android.view.View.layout(View.java:15762)
            at android.view.ViewGroup.layout(ViewGroup.java:4867)
            at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
            at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
            at android.view.View.layout(View.java:15762)
            at android.view.ViewGroup.layout(ViewGroup.java:4867)
            at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
            at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
            at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
            at android.view.View.layout(View.java:15762)
            at android.view.ViewGroup.layout(ViewGroup.java:4867)
            at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
            at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
            at android.view.View.layout(View.java:15762)
            at android.view.ViewGroup.layout(ViewGroup.java:4867)
            at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2356)
            at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)
            at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
            at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6637)
            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:814)
            at android.view.Choreographer.doCallbacks(Choreographer.java:614)
            at android.view.Choreographer.doFrame(Choreographer.java:584)
            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:800)
            at android.os.Handler.handleCallback(Handler.java:733)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:146)
            at android.app.ActivityThread.main(ActivityThread.java:5602)
            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:1283)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
            at dalvik.system.NativeStart.main(Native Method)
    
    opened by duycm83 13
  • NullPointer while Trying to use the progress indicator

    NullPointer while Trying to use the progress indicator

    Copying the code from the sample app

        <com.rey.material.widget.ProgressView
            android:id="@+id/progress_wheel"
            android:layout_width="32dp"
            android:layout_height="32dp"
            app:pv_autostart = "true"
            app:pv_circular="true"
            app:pv_progressStyle="@style/CircularProgressDrawableStyle"
            app:pv_progressMode="indeterminate"/>
    

    I tried to wrap it in a FrameLayout (just in case) like it is done in the sample app to no avail. Any idea what's going on?

    and still getting this:

    04-02 18:33:48.550    1670-1670/info.androidz.horoscope E/AndroidRuntime﹕ FATAL EXCEPTION: main
        java.lang.NullPointerException
                at com.rey.material.widget.ProgressView.getProgressMode(ProgressView.java:110)
                at com.rey.material.widget.ProgressView.onAttachedToWindow(ProgressView.java:96)
                at android.view.View.dispatchAttachedToWindow(View.java:11755)
                at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
                at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
                at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
                at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
                at android.view.ViewGroup.addViewInner(ViewGroup.java:3417)
                at android.view.ViewGroup.addViewInLayout(ViewGroup.java:3354)
                at android.view.ViewGroup.addViewInLayout(ViewGroup.java:3335)
                at android.support.v4.view.ViewPager.addView(ViewPager.java:1307)
                at android.view.ViewGroup.addView(ViewGroup.java:3194)
                at android.view.ViewGroup.addView(ViewGroup.java:3170)
                at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:968)
                at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1136)
                at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)
                at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1499)
                at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:488)
                at android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)
                at android.support.v4.view.ViewPager.populate(ViewPager.java:1073)
                at android.support.v4.view.ViewPager.populate(ViewPager.java:919)
                at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1441)
                at android.view.View.measure(View.java:15172)
    
    opened by inteist 13
  • Error inflating class com.rey.material.widget.Spinner .

    Error inflating class com.rey.material.widget.Spinner .

    Its working fine but when I made changes in gradle file like change version of appcompat to 23.1.0 etc the application just crashed.

    Logcat

    10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: android.view.InflateException: Binary XML file line #181: Error inflating class com.rey.material.widget.Spinner 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:613) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:489) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:396) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rocket.freeloader.Draw.onCreateView(Draw.java:70) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.Fragment.performCreateView(Fragment.java:1965) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1624) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:615) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:92) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Looper.loop(Looper.java:155) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5520) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Constructor.constructNative(Native Method) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:417) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:587) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:489)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:396)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rocket.freeloader.Draw.onCreateView(Draw.java:70)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.Fragment.performCreateView(Fragment.java:1965)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1624)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:615)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:92)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Looper.loop(Looper.java:155)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5520)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: Caused by: java.lang.NoSuchFieldError: com.rey.material.R$styleable.Spinner_android_gravity 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rey.material.widget.Spinner.applyStyle(Spinner.java:234) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rey.material.widget.Spinner.init(Spinner.java:149) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rey.material.widget.Spinner.(Spinner.java:128) 10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Constructor.constructNative(Native Method)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:417)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:587)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:489)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:396)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.rocket.freeloader.Draw.onCreateView(Draw.java:70)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.Fragment.performCreateView(Fragment.java:1965)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1078)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1259)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1624)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:615)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:92)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.os.Looper.loop(Looper.java:155)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5520)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:511)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)  10-19 23:22:53.381 1330-1330/com.rocket.freeloader E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method) 

    Gradle: gradle1 gradle2

    opened by HimanshuLakra 10
  • Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    when i open the project in my android studio the gradle build failed saying as follows :+1:

    Error:FAILURE: Build failed with an exception.

    • What went wrong: Task '' not found in root project 'material-master'.
    • Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    what to do is it a bug?

    opened by meetmehdi 10
  • Please make com.github.rey5137:material:1.2.1.6-SNAPSHOT available

    Please make com.github.rey5137:material:1.2.1.6-SNAPSHOT available

    I need this snapshot to fix issue #222. I do not use gradle not android studio so I do not know how to get this snapshot. Could someone please make this available for download.

    opened by 4nd3250n 9
  • Proguard build apk issue

    Proguard build apk issue

    While trying to generate a signed APK for my app, I am getting this error.

    Warning:com.rey.material.drawable.ContactChipDrawable: can't find referenced method 'float ceil(float)' in library class android.util.FloatMath Warning:com.rey.material.widget.Spinner: can't find referenced field 'int Spinner_android_gravity' in program class com.rey.material.R$styleable Warning:com.rey.material.widget.Spinner: can't find referenced field 'int Spinner_disableChildrenWhenDisabled' in program class com.rey.material.R$styleable

    wait comfirm 
    opened by susheel17 8
  • Spinner and DatePicker causing crash when targeting app to targetSdkVersion 27

    Spinner and DatePicker causing crash when targeting app to targetSdkVersion 27

    Hi,

    Since Android Oreo is the latest version now, I recently updated my app to target API 27 with below changes:

    compileSdkVersion 27 buildToolsVersion '27.0.2' defaultConfig { minSdkVersion 17 targetSdkVersion 27

    Also updated the dependencies:

    compile 'com.android.support:appcompat-v7:27.1.1' compile 'com.android.support:palette-v7:27.1.1' compile 'com.android.support:cardview-v7:27.1.1' compile 'com.android.support:recyclerview-v7:27.1.1' compile 'com.android.support:design:27.1.1' compile 'com.android.support:animated-vector-drawable:27.1.1' compile 'com.android.support:support-v13:27.1.1'

    I am using the library version 1.2.2 compile 'com.github.rey5137:material:1.2.2'

    I get errors in the app at runtime when accessig datepicker or spinner. Below is the error:

    E/AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.ListViewCompat" on path: DexPathList[[zip file

    @rey5137 can you please provide a fix for this issue?

    Regards, Shaik

    opened by shaikansaar 7
  • FIX: Failed to resolve: com.github.rey5137:material:1.3.0

    FIX: Failed to resolve: com.github.rey5137:material:1.3.0

    Many users were facing this issue: Failed to resolve: com.github.rey5137:material:1.3.0

    They seemed to have no problem with the version 1.2.5 but apparently the version 1.3.0 had this issue.

    This can be solved by adding :

    allprojects {
        repositories {
            maven { url 'https://jitpack.io' }    // Add This Line
        }
    }
    

    I've updated the README file for the same.

    opened by devptyagi 0
  • java.lang.NullPointerException: Attempt to invoke virtual method 'int com.rey.material.widget.TextView.getMeasuredHeight()' on a null object reference

    java.lang.NullPointerException: Attempt to invoke virtual method 'int com.rey.material.widget.TextView.getMeasuredHeight()' on a null object reference

    E/AndroidRuntime: FATAL EXCEPTION: main Process: com.itiresto.deliveryappMariele, PID: 18060 java.lang.NullPointerException: Attempt to invoke virtual method 'int com.rey.material.widget.TextView.getMeasuredHeight()' on a null object reference at com.rey.material.widget.Spinner.onMeasure(Spinner.java:699) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.cardview.widget.CardView.onMeasure(CardView.java:260) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at androidx.core.widget.NestedScrollView.measureChildWithMargins(NestedScrollView.java:1502) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.core.widget.NestedScrollView.onMeasure(NestedScrollView.java:556) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733) at com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:95) at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1556) at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:803) at android.view.View.measure(View.java:23169) at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715) at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) E/AndroidRuntime: at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716) at android.view.View.measure(View.java:23169) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2718) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1572) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1855) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1460) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7183) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949) at android.view.Choreographer.doCallbacks(Choreographer.java:761) at android.view.Choreographer.doFrame(Choreographer.java:696) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935) 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) E/UncaughtException: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.rey.material.widget.TextView.getMeasuredHeight()' on a null object reference at com.rey.material.widget.Spinner.onMeasure(Spinner.java:699) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.cardview.widget.CardView.onMeasure(CardView.java:260) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at androidx.core.widget.NestedScrollView.measureChildWithMargins(NestedScrollView.java:1502) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.core.widget.NestedScrollView.onMeasure(NestedScrollView.java:556) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733) at com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:95) at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1556) at androidx.coordinatorlayout.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:803) at android.view.View.measure(View.java:23169) at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715) at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23169) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716) at android.view.View.measure(View.java:23169) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2718) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1572) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1855) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1460) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7183) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949) at android.view.Choreographer.doCallbacks(Choreographer.java:761) at android.view.Choreographer.doFrame(Choreographer.java:696) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935) 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)

    opened by 7sticks 0
  • Checkboc Issue

    Checkboc Issue

    I am using Checkbox widget as below xml code: XML Code:

       <!--Remember Me Checkbox-->
       <com.rey.material.widget.CheckBox
           android:id="@+id/remember_me_checkbox"
           style="@style/Material.Drawable.CheckBox"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginLeft="30dp"
           android:fontFamily="@font/roboto_slab_light"
           android:gravity="center_vertical"
           android:text="@string/login_remember_me"
           android:textColor="#000000"
           android:textSize="16sp"
           android:textStyle="bold"
           app:cbd_strokeColor="#000000"
           />
    

    But I am gettting this preview...

    1

    In which I can't see the check box, but only the text. Help...?

    opened by aadii10 0
  • Fix duplicate attributes defined in Spinner and TextAppearance attrs.xml

    Fix duplicate attributes defined in Spinner and TextAppearance attrs.xml

    When I'm trying to bind the material .aar library with Xamarin.Android, tooling raises an error:

    ../obj/Debug/android/src/com/rey/material/R.java(27,27): Error JAVAC0000:  error: variable Spinner_android_dropDownWidth is already defined in class styleable
    public static final int Spinner_android_dropDownWidth = 6;
    

    After a quick research, I figured out that the rey5137/material defines styleable attributes with reserved by Android SDK names. You can see it by hovering that attribute. And while this is just a warning in Android Studio, it's a blocker error in Xamarin.Android and I'm unable to bind this library:

    Screenshot 2019-10-08 22 24 35

    I'm not very familiar with styleable attributes but after some reading it seems that we want to define new attributes with unique names and move the rest into a common section to avoid duplicates. In our case, we also don't want to use reserved attributes names. The following 11 attributes were renamed to avoid that conflict:

    1. Spinner_android_dropDownWidth
    2. Spinner_android_popupBackground
    3. Spinner_android_prompt
    4. TextAppearance_android_textColor
    5. TextAppearance_android_textColorHint
    6. TextAppearance_android_textColorLink
    7. TextAppearance_android_textSize
    8. TextAppearance_android_typeface
    9. TextAppearance_android_fontFamily
    10. TextAppearance_android_textStyle
    11. TextAppearance_android_shadowColor
    12. TextAppearance_android_shadowDx
    13. TextAppearance_android_shadowDy
    14. TextAppearance_android_shadowRadius
    opened by alexeystrakh 0
Releases(1.3.0)
Owner
Rey Pham
Software developer
Rey Pham
Android Material Design Components

Android-Material-Design-Components Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. G

Velmurugan Murugesan 3 Jun 10, 2022
Modular and customizable Material Design UI components for Android

Material Components for Android Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of eng

Material Components 14.4k Dec 31, 2022
Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library.

Material Design Dimens Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library. Dimens Pattern: R.di

Dmitry Malkovich 1.4k Jan 3, 2023
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily.

Material Dialogs for Android ?? ?? Android Library to implement animated, ?? beautiful, ?? stylish Material Dialog in android apps easily. 1. Material

Shreyas Patil 875 Dec 28, 2022
Animated Material circular button

Material Circular Button Circular button for Android in Google Material Style How to use Clone this proyect and import the module "materialCircularBut

Adrián Lomas 217 Nov 25, 2022
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.

MaterialDrawer ... the flexible, easy to use, all in one drawer library for your Android project. What's included ?? • Setup ??️ • Migration Guide ??

Mike Penz 11.6k Dec 27, 2022
[] Android Library that implements Snackbars from Google's Material Design documentation.

DEPRECATED This lib is deprecated in favor of Google's Design Support Library which includes a Snackbar and is no longer being developed. Thanks for a

null 1.5k Dec 16, 2022
A library support form with material design, construct same with Android UI Framework

SwingUI A slight Java Swing library support form with material design, construct same with Android UI Framework writen in Kotlin Supported: 1. Screen:

Cuong V. Nguyen 3 Jul 20, 2021
A Material Design ViewPager easy to use library

MaterialViewPager Material Design ViewPager easy to use library Sample And have a look on a sample Youtube Video : Youtube Link Download In your modul

Florent CHAMPIGNY 8.2k Jan 1, 2023
ToggleIconView is a collection library of animated two-stage toggle icons for Android.

ToggleIconView ToggleIconView is a collection library of animated two-stage toggle icons for Android. Installation JitPack repository // Project level

Özgür Görgülü 6 Sep 10, 2022
Material Shadows for android : A library for supporting convex material shadows

MaterialShadows A library for seamlessly integrating Material shadows. The library takes existing material shadows to next level by adding the followi

Harjot Singh Oberai 2.2k Dec 19, 2022
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Dec 26, 2022
Implementation of Ripple effect from Material Design for Android API 9+

RippleEffect ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a ma

Robin Chutaux 4.9k Dec 30, 2022
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Carbon Material Design implementation for Android 4.0 and newer. This is not the exact copy of the Lollipop's API and features. It's a custom implemen

null 3k Jan 9, 2023
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
Android Sample Project with Material Design and Toolbar.

AndroidMaterialDesignToolbar -- PROJECT IS NOT SUPPORTED Android Sample Project with Material Design and Toolbar. Project use Appcompat library for ma

kemal selim tekinarslan 713 Nov 11, 2022
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Jan 3, 2023
Easy creation and management of toggle buttons on Android from the Material Design spec.

ToggleButtonLayout Easy creation and management of toggle buttons from the Material Design spec. Read more about ToggleButtonLayout in our blog post.

Savvy 229 Jan 9, 2023