rippledrawable Questions
3
Solved
In my application I want to create a ripple which fills the whole view. Because it doesn't worked properly I created a minimal example app and tried it there but with no success.
My Layout looks l...
Zosi asked 30/12, 2017 at 12:57
1
Solved
I was working on a project and this error suddenly appeared:
E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompat...
Broadsword asked 4/12, 2017 at 23:18
2
in Android, I want to do something like this (but with 2 alternating colors black and white:
changing color with ripple effect like this
What I tried to do is :
1) set default backgroundTint ...
Aggressive asked 26/1, 2017 at 10:55
7
Solved
I am trying to understand how to implement the "Ripple Effect - Touch Feedback" for buttons and other views. I looked at the questions related to Ripple touch effect on SO and got some insight into...
Trustful asked 21/7, 2014 at 10:56
3
After having been looking for a while I've not been able to find an answer to this...
I have a recycler view with items which when selected have a red background and white text (beforehand the bac...
Afrikah asked 12/5, 2015 at 10:40
5
Solved
I am using a ripple effect on my navigation drawer. I have set it like this and applied it to my ListView:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item and...
Gerek asked 31/5, 2015 at 11:4
2
Solved
I defined a ripple drawable and set it as the background for the listview item view's background. It almost works fine but the ripple effect just sometimes does not show up upon press.
Here is the...
Plummer asked 13/12, 2014 at 7:26
1
Solved
I need to add ripple effect for all controls to add the liveliness to the Application. Since my minimum api level 18, so i can't able to use <ripple> in drawable xml. Also all my controls hav...
Exalted asked 22/5, 2017 at 7:0
4
Solved
How to specify android:state_selected inside a RippleDrawable
I have following xml for ripple drawable but background color doesn't show up when I set myView.setSelected(true);
<?xml version="...
Mound asked 16/12, 2014 at 3:10
1
I want to set a ripple effect on layout with rounded corners. How can I do it?
Outrun asked 27/2, 2017 at 10:15
3
Solved
I am trying to implement ripple effect for ImageButton.I have set ripple in background and drawable image in the src for it.
android:background="@drawable/myripplexml"
android:src="@drawable/myim...
Hildagarde asked 10/12, 2014 at 5:2
2
I am trying to add touch feedback to a LinearLayout that is similar to a regular Button's feedback in API level 21, much like in this example, and have been so far unsuccessful.
I have defined a s...
Martens asked 28/1, 2015 at 12:32
2
Solved
I have a CustomListView where I'm showing some text and getting an image displayed using Picasso's library. I created a xml file inside the drawable folder and for drawable-21 folder for the Ripple...
Doucet asked 20/2, 2016 at 17:13
0
Using the Design Support Library version 23.0.1, menu items within the NavigationView appear to, by the default, support the ripple animation when selected. However, when upgraded to Design Support...
Earlie asked 13/6, 2016 at 18:35
2
Hi so I am little confused and wondering if anyone could point me in the right direction.
Go and use Google Play Store on Lollipop and pre-lollipop
You will see on lollipop that selectable views...
Pennyroyal asked 15/9, 2015 at 13:22
2
I have searched all things and experimented but not luck with NavigationView.
itemIconTint, itemTextColor and itemBackground working with ripple effect. but problem is state selected not working i...
Kristiekristien asked 24/10, 2015 at 7:17
2
Solved
I want to create a ripple dynamically in code.
Code:
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
buyButton.setBackground(getPressedColorRippleDrawable(primaryColor, ...
Mercurochrome asked 17/7, 2015 at 11:0
3
Solved
I've been trying to find a way to implement ripple effect on KeyboardView keys when they are pressed. Sounds simple enough, but I've tried all the ways of adding ripple that work on other types of ...
Radicalism asked 17/1, 2015 at 13:24
2
Solved
I have a layout, that includes another layout:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content...
Kythera asked 8/1, 2016 at 9:50
1
Solved
I am working on adding ripple effect when the preference is touched (selected). I have customized my preference by extending the ListPreference. I have tried to set the ripple effect programmatical...
Retool asked 20/8, 2015 at 16:29
1
Solved
I have a recyclerview with four grid elements (2*2) that work like a menu. However, when i click on them no ripple effect is shown. It just takes me to the next activity without any visual confirma...
Nora asked 13/8, 2015 at 20:59
1
Solved
When you look at other apps like yPlan or Google Play Store, their ripple effect on buttons is like a light grey or black that does not change the colour of the whole button.
I want this same eff...
Languishing asked 2/9, 2015 at 16:55
3
Solved
In Android 5.0, my ListView produces a ripple effect when clicking a list item. Is there a way to disable this effect? Looking at the docs, I don't see any way (https://developer.android.com/refere...
Oleander asked 29/11, 2014 at 20:43
1
Solved
I'm trying to create a ripple background drawable for a Button with a stroke.
This is what I have so far:
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#...
Carola asked 9/6, 2015 at 9:59
6
Solved
Standard ListView selector in android L developer preview uses colorControlHighlight for the ripple effect on touch and has a transparent background in unfocused state.
I would like to define a Li...
Kincaid asked 22/8, 2014 at 9:14
© 2022 - 2024 — McMap. All rights reserved.