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
0
votes
1 answer

Getting an error while including cruton library

I am using cruton library as the option of the toast message in android studio. I have included the code as per the readme on the https://github.com/keyboardsurfer/Crouton link. But I am continuously getting error plugin as android:id=maven is not…
Dhaval Shah
  • 618
  • 6
  • 15
0
votes
2 answers

Push view down using Crouton library

I'm using the Crouton library on Android to display some notifications. https://github.com/keyboardsurfer/Crouton I want the notification to push the existing view down instead of being overlaid with the crouton. Is this possible using this…
Andy
  • 1,815
  • 2
  • 22
  • 49
0
votes
2 answers

Is it possible to use a progress bar in Crouton?

I want to show custom Crouton alert with a progress bar and I want to update the progress dynamicly. This is my code but it doesn't work. How can i do that? Or how can show progress bar while image uploading private void showCustomViewCrouton() { …
delavega66
  • 855
  • 2
  • 23
  • 39
0
votes
1 answer

Crouton with action bar overlay

I am using the Crouron library and my action bar is set to FEATURE_ACTION_BAR_OVERLAY, how can i set the Crouton to start from below the action bar?, i tried using marginTop for the custom view, here is my code: LinearLayout…
Ziv Kesten
  • 1,206
  • 25
  • 41
0
votes
2 answers

Android: Crouton + Activities state

I'm using Crouton im my project.In app i have few activities. In sub activities i want do some operations after finishing a process i make redirect to main activity and display Crouton message about result in previous activity. But hier i have…
kbu
  • 389
  • 2
  • 4
  • 19
0
votes
1 answer

How do I test a that crouton message ALERT was displayed using espresso

I am doing automated testing using espresso. Normally if i had a message displayed I would use the resource id to locate the TextView or an element i want to test. Like this …
0
votes
0 answers

Getting Error with crouton in Eclipse

currently I´m getting a "Conversion to Dalvik format failed with error 1". I already searched the web after solutions but did not find something that works for me. It seems to have something to do with the crouton library, that I´ve added in the…
0
votes
1 answer

Overlapping Crouton-Toasts?

I'm using Crouton in Android. If the user is not logged in, an infinite-duration Crouton-Toast is shown on the top of my Activity. The problem is, that If the user receives a chat-message (login not required), this message should show up as a…
Frame91
  • 3,670
  • 8
  • 45
  • 89
0
votes
1 answer

Display crouton in PreferenceScreen

I am using Crouton library to display warning messages to user. In this scenario, I want to display in a particular preference screen. I have written following code in my PreferenceActivity However, the Crouton is only displayed in the first…
Madhur Ahuja
  • 22,211
  • 14
  • 71
  • 124
0
votes
1 answer

Android Crouton Library java.lang.NoClassDefFoundError?

I am currently starting to develop a new Android application using Android Studio. I have updated the Gradle build file and I have successfully added the Crouton Library. I have a Drawer Navigation setup and when I click on an item I want to test…
user723858
  • 1,017
  • 3
  • 23
  • 45
0
votes
2 answers

Croutons not showing properly - CroutonQueue somehow stuck?

I'm facing a serious problem with the Croutons Notification Library, When i quickly switch my activites, sometimes (very often indeed) croutons for updates, like missing credentials, or "insert date first" are not shown anymore, and so the users…
cV2
  • 5,229
  • 3
  • 43
  • 53
0
votes
2 answers

Crouton min API level Issues

I'm trying to use the library but there's this line in Manager.java (line 215) croutonView.getViewTreeObserver().removeOnGlobalLayoutListener(this); that I don't understand how to fix. Eclipse says Call requires API level 16 (current min is 4):…
user1923613
  • 626
  • 5
  • 11
  • 31
-1
votes
1 answer

Problem with starting unity om chromebook

I have installed crouton on my Chromebook and tried to start up unity but get the following result every time: Unknown username "geoclue" in message bus configuration file -su: 1: enter-croot: not found Unmounting…
MojMoj
  • 1
-1
votes
1 answer

Installing R and RStudio on Chromebook Samsung 3

I have been trying to but struggling to install R and RStudio on my Chromebook Samsung 3. I have it set-up with Crouton with XFCE/Xiwi and use Trusty. I can install R just fine but either can't install Rstudio at all or can get the icon for Rstudio…
talker90
  • 79
  • 8
1 2 3
4