Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.

Overview

MaterialEverywhere (deprecated)

This example is deprecated, I recommend taking a look at MaterializeYourApp repository.

Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.

Blog post explanation at antonioleiva.com

Comments
  • Empty drawer

    Empty drawer

    Hi! I just compiled this app on Android Studio and it's running fine excepted the navigation drawer which is empty. I checked the XML and there's a ListView so it should be nice to have data here. XML is also missing android:fitsSystemWindows="true".

    opened by alx5962 6
  • A few questions about the toolbar...

    A few questions about the toolbar...

    I have a few questions regarding the toolbar (which acts as an actionbar) :

    1. How would you add the cool animations of the "up" button when being clicked?
    2. How would you make the navigation drawer to avoid being on top of the action bar ?
    3. How would you put it in PreferenceActivity (for pre-API11 versions), if you can't extend from PreferenceActivity (as you must extend from ActionBarActivity) ? You can't even use PreferenceFragment, as it's from API 11 and above... ?

    Please help.

    opened by AndroidDeveloperLB 3
  • where is the Material design ?

    where is the Material design ?

    device-2014-11-14-101624

    • No Animations.
    • No Transitions.
    • No Material design.

    but *We have a blank navigation drawer menu *We have extra height action bar (huge action bar)

    ??????? :(

    opened by tarek360 2
  • Compilation Fails on Ubuntu with Java 7 and Android Studio .9.2

    Compilation Fails on Ubuntu with Java 7 and Android Studio .9.2

    gopinath@wzdt5:~/code/oss/MaterialEverywhere-master$ ./gradlew :app:installDebug :app:preBuild :app:compileDebugNdk :app:preDebugBuild :app:checkDebugManifest :app:preReleaseBuild :app:prepareComAndroidSupportAppcompatV72100Library :app:prepareComAndroidSupportSupportV42100Library :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:generateDebugBuildConfig :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets :app:generateDebugResValues :app:generateDebugResources :app:mergeDebugResources /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-xhdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-xhdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-mdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited :app:processDebugManifest :app:processDebugResources /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:8: error: Error: No resource found that matches the given name: attr 'android:windowAllowReturnTransitionOverlap'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:33: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:10: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:39: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:17: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:45: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:24: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:51: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:31: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:246: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

    /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:254: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

    :app:processDebugResources FAILED

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:processDebugResources'.

      com.android.ide.common.internal.LoggedErrorException: Failed to run command: /home/gopinath/devtools/android-studio/sdk/build-tools/21.1.1/aapt package -f --no-crunch -I /home/gopinath/devtools/android-studio/sdk/platforms/android-21/android.jar -M /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug -A /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/assets/debug -m -J /home/gopinath/code/oss/MaterialEverywhere-master/app/build/generated/source/r/debug -F /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package com.antonioleiva.materialeverywhere -0 apk --output-text-symbols /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/symbols/debug Error Code: 1 Output: /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:8: error: Error: No resource found that matches the given name: attr 'android:windowAllowReturnTransitionOverlap'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:33: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:10: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:39: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:17: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:45: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:24: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:51: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:31: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:246: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

      /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:254: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    opened by Gopinathp 2
  • Material Design doesn't show up on JellyBean

    Material Design doesn't show up on JellyBean

    I have followed your tutorial step by step but the new material design doesn't show up on Pre-Lollipop devices. I even tried to make a few modifications myself but still it wouldn't color the status bar and ActionBar. It works only colors Toolbar.

    If I don't use the ToolBar & don't extend ActoinBarActivity, I get a blank black/white screen depending on which theme dark or light you have chosen with no ActionBar.

    What am I missing? I am using eclipse on OSX Mavericks.

    opened by wingoku 2
  • Can't build

    Can't build

    After importing project I have following error:

    Error:You are using an unsupported version of Gradle. Please use version 1.12. Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.)

    Is there something I can do?

    opened by ghost 2
  • How to change color theme to light?

    How to change color theme to light?

    If I just change Theme.AppCompat to Theme.AppCompat.Light in <style name="AppTheme.Base" parent="Theme.AppCompat.Light"> then colors are changed partially, and everything looks bad…

    opened by magicgoose 1
  • Missing gradle wrapper

    Missing gradle wrapper

    Tried to build your project, but all I got is:

    Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
    

    So basically you didn't include gradle wrapper ("gradle" directory) and it is something that sould be included in VCS.

    opened by outlying 1
  • Transition name mislead

    Transition name mislead

    It's confusing that you use EXTRA_IMAGE as an intent extra (https://github.com/antoniolg/MaterialEverywhere/blob/master/app/src/main/java/com/antonioleiva/materialeverywhere/DetailActivity.java#L74), but also as a transition name between views (https://github.com/antoniolg/MaterialEverywhere/blob/master/app/src/main/java/com/antonioleiva/materialeverywhere/DetailActivity.java#L72). More confusing is that the ImageView in DetailActivity has a transition name defined (https://github.com/antoniolg/MaterialEverywhere/blob/master/app/src/main/res/layout/activity_detail.xml#L32), but later overridden with EXTRA_IMAGE (https://github.com/antoniolg/MaterialEverywhere/blob/master/app/src/main/java/com/antonioleiva/materialeverywhere/DetailActivity.java#L41).

    It would be clearer if the transition name defined in the layout is the same that is used in ActivityOptionsCompat.makeSceneTransitionAnimation call. Then there's no need to call ViewCompat.setTransitionName. Even better, that transition name can be a string resource.

    opened by mbarrben 2
  • Failure to import the sample app and launch it

    Failure to import the sample app and launch it

    I imported the project, but I don't see the ability to launch it. The "messages" window shows me just this short message:

    "Error:Android Source Generator: [app] AndroidManifest.xml file not found"

    But I can see this file , so what's going on?

    opened by AndroidDeveloperLB 6
Owner
Antonio Leiva
Freelance trainer. I help you and your company to become Kotlin experts. GDE and Jetbrains Training Partner.
Antonio Leiva
Material You Theme for Frames Dashboard

Material You Theme for Frames Dashboard Frames Dashboard Copy everything into your Frames project, edit colors, corner radius... Use compileSdk = 31 V

pashapuma 8 Dec 14, 2022
A gradle plugin that generates Material Design 3 theme for Android projects.

Same as Google's Material Theme Builder, but as a gradle plugin.

Rikka apps 41 Dec 6, 2022
Material You interface with dynamic theme support for your Android projects

Material You Sample Material You interface with dynamic theme support for your Android projects Requirements Android Studio Chipmunk 2021.2.1 or highe

aospstudio 3 Jul 28, 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
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
Material Design icons by Google

Material design icons Material design icons is the official icon set from Google. The icons are designed under the material design guidelines. 4.0.0 U

Google 47.1k Jan 9, 2023
Library containing over 2000 material vector icons that can be easily used as Drawable or as a standalone View.

Material Icon Library A library containing over 2000 material vector icons that can be easily used as Drawable, a standalone View or inside menu resou

null 2.3k Dec 16, 2022
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
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
EditText in Material Design

MaterialEditText NOTE: 2.0 is NOT BACKWARDS COMPATIBLE! See more on wiki or 中文看这里 AppCompat v21 makes it easy to use Material Design EditText in our a

Kai Zhu 6.1k Dec 30, 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
A material style progress wheel compatible with 2.3

![](https://img.shields.io/badge/Methods and size-106 | 12 KB-e91e63.svg) Material-ish Progress A material style progress wheel compatible with 2.3 Tr

Nico Hormazábal 2.5k Jan 4, 2023
Material Design ProgressBar with consistent appearance

MaterialProgressBar Material Design ProgressBar with consistent appearance on Android 4.0+. Why MaterialProgressBar? Consistent appearance on Android

Hai Zhang 2.2k Dec 21, 2022
Navigation Drawer Activity with material design style and simplified methods

MaterialNavigationDrawer Navigation Drawer Activity with material design style and simplified methods       It requires 10+ API and android support v7

Fabio Biola 1.6k Jan 5, 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
Custom Tabs with Material Design effects

MaterialTabs Custom Tabs with Material Design animations for pre-Lollipop devices       Download example apk It requires 14+ API and android support v

Fabio Biola 1.4k Dec 29, 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 material horizontal calendar view for Android based on RecyclerView

Horizontal Calendar A material horizontal calendar view for Android based on RecyclerView. Installation The library is hosted on jcenter, add this to

Mulham Raee 1.2k Dec 15, 2022