Git Product home page Git Product logo

android-lnotifications's Introduction

Android LNotifications Sample Sample

This sample has been deprecated/archived meaning it's read-only and it's no longer actively maintained (more details on archiving can be found here).

For a Notification sample, please check out the new github.com/android/user-interface-samples repo. Thank you!

android-lnotifications's People

Contributors

codingjeremy avatar google-automerger 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

Watchers

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

android-lnotifications's Issues

Wrong activity theme

When running this example in the emulator the application crashes during startup with the following exception (using a device with API 26):

[...]
Caused by: java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
                                                     at android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:33)
                                                     at android.support.design.widget.TabLayout.<init>(TabLayout.java:298)
[...]

To fix it, I had to change the theme in res/values/base-template-styles.xml from android:Theme.Material.Light to Theme.AppCompat.Light.

Please tell more exact steps to get this SW working ...

My Android Studio's version is 3.0.1 and if I just integrate from Github your project to Android Studio I have following errors that I would not like to see:

in android.support.design.widget.TabLayout attributes app:tabMode and tabGravity were not found. I commented them out and now there is an error package android.support.design.widget does not exist
etc.

and I'm sure if I solve this next problem arises and so on. From this description you see that I'm a newcomer in these technologies but I would like to get a working example first and then deepen my understanding of these technologies.

I just wanted to try how android notifications work on lock screen from implementation point of view but now I'm frustrated. What can I do; is there in Android Studio a magic button resolving all version conflicts etc. to get this work ? I would not like to study this long ...

Or is there some other github project demonstrating these things that works better.

Can't compile

gradle shows

No resource identifier found for attribute tabMode and tabGravity

need to add Design lib manually.

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.