Questions tagged [crouton]

Crouton is an Android library for context-sensitive notifications

Crouton is a class that can be used by Android developers that feel the need for an alternative to the Context insensitive Toast.

A Crouton will be displayed at the position the developer decides. Standard will be at the top of the application window. You can line up multiple Croutons for display, that will be shown one after another.

59 questions
39
votes
2 answers

Crouton depends on libraries but is not a library itself

I'm using Android Studio 0.6.1, with Crouton library and today after gradle sync I got next error: Error:A problem occurred configuring root project 'project_name'. Module version de.keyboardsurfer.android.widget:crouton:1.8.4 depends on libraries…
IliaEremin
  • 3,338
  • 3
  • 26
  • 35
8
votes
1 answer

Crouton + SlidingMenu overlap

I'm using both SlidingMenu and Crouton, but I've found that the sliding menu overlaps the crouton notification I would report an issue in github, but I don't know where the bug belongs. Cyril Mottier mentions in his Prixing article about in-layout…
Maragues
  • 37,861
  • 14
  • 95
  • 96
6
votes
2 answers

Setting the duration of Crouton messages in Android

I have started using Crouton messages instead of toast messages because I could configure the time duration. Is there any way I can keep displaying the crouton message until a particular event rather than specifying the time in definite units?
SoulRayder
  • 5,072
  • 6
  • 47
  • 93
5
votes
3 answers

Notification like whatsapp or sms app android

I want to create a Notification view just like whatsapp or sms notification.How can i achieve that. What I have search till now Crouton : Can found here this will show a crouton at running activity and below to the action bar. if my activity not…
shailesh
  • 1,783
  • 2
  • 17
  • 26
5
votes
1 answer

Croutons not showing from time to time

I have the official Navigation Drawer in my app. Clicking items in the drawer opens new Fragments in the content part of the screen. Every Fragment contains FrameLayout with the same id which is used for displaying a Crouton. Basic use is that an…
Marcel Bro
  • 4,907
  • 4
  • 43
  • 70
5
votes
1 answer

I can't access Crouton library in Eclipse

I followed all the steps for using the crouton library with Eclipse, but I still have not been able to use it. Here are the steps I followed: Clone the Crouton library from GitHub. Unzipped the file and copied out the library folder. Open eclipse…
bibi_bryan
  • 371
  • 3
  • 17
5
votes
2 answers

Android Studio gradle and libraries import

I have successfully imported ActionBarSherlock to my project, and need to import another two libraries: Sliding Layer and Crouton. I know that similar questions have already appeared here before, but I've tried almost everything, each time breaking…
Bresiu
  • 2,123
  • 2
  • 19
  • 31
5
votes
1 answer

Why do custom crouton Styles appear as grey instead of their specified color?

I wanted to customize the styles for my app's croutons. Set 4 colors for as many styles. This is my custom styles class public class TapabookCroutonStyle { public static final int DURATION_INFINITE = -1; public static final Style ALERT; public…
Frank
  • 2,777
  • 5
  • 18
  • 30
4
votes
3 answers

Crouton CustomView with infinit duration

I have been pondering with crouton, and after creating a customView crouton popup I have noticed 2 things; - the layout is slightly modified upon creation and would be corrected if the view if updated - there is no way of adding a style to make…
alk
  • 41
  • 3
4
votes
3 answers

Android : Crouton lib and custom font

I use custom fonts in my app so i want a custom font for Crouton. I 've tried to do it with setTextAppearance, it doesn't work.
mrroboaat
  • 5,602
  • 7
  • 37
  • 65
3
votes
1 answer

Using custom style for the crouton library

I am using Crouton lib (https://github.com/keyboardsurfer/Crouton). now , I would like to use custom style instead of default styles. how can I do ? Style.ALERT is a default style. Crouton.showText(this, "test", Style.ALERT); I want to use this…
S.M_Emamian
  • 17,005
  • 37
  • 135
  • 254
3
votes
2 answers

How can I spawn an Android crouton from the bottom?

I am using keyboardsurfer's crouton library as a replacement for toasts. I am curious if there is an easy way to spawn the crouton from the bottom rather than the action bar. I looked at Configuration but didn't notice anything that would help me.
theblang
  • 10,215
  • 9
  • 69
  • 120
3
votes
5 answers

java.lang.NoClassDefFoundError when crouton library in eclipse

I was finally able to find my crouton library, after getting solutions for this question on SO. I was directed to maven central where i downloaded crouton-1.8.4 the third of size 24kb on a list at the bottom of the page. Then i copied it into the…
bibi_bryan
  • 371
  • 3
  • 17
3
votes
1 answer

Crouton with custom view: onClickListener not called

I have an issue with crouton: customView = LayoutInflater.from(context).inflate(viewId, null); if (customView != null) { TextView title = (TextView) customView.findViewById(R.id.crouton_title); if (title != null) { …
Blackbelt
  • 156,034
  • 29
  • 297
  • 305
2
votes
1 answer

Crouton equivalence on iOS?

I'm just restarting out with iOS trying to port an Android app. What would be the most equivalent example of an android crouton on iOS? I couldn't find any third party libraries except one abandoned project:…
StackOverflowed
  • 5,854
  • 9
  • 55
  • 119
1
2 3 4