Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

1 vote
3 answers
81 views

Recryler in imageview how to make invisible

How do I fix this issue? ı want to recylerview in Imageview make INVISIBLE but it doesn't work my codes are below and sory for my bad english :) this movement in many places but I could not find the ...
quartsuee's user avatar
0 votes
2 answers
85 views

Android Kotlin app not displaying or hiding an image based on received bluetooth data

My app connects via bluetooth to an Arduino, that has an LED on board that is controlled by a button. The LED is either on or off. And when that state changes, the Arduino will transmit a 1(on) or 0(...
CB Midkiff's user avatar
0 votes
0 answers
24 views

statically setting image not displaying

I have an ImageView that when the activity starts needs to be hidden. Depending on the result of some other function I want to statically give it an image and set it to visible. static boolean ...
user avatar
0 votes
1 answer
39 views

Iterate through ImageViews and set random drawable and visibility

I make a little game and have a problem iterating through ImageViews. I have 12 ImageViews, which should show randomly no apple, a green or a red apple. How can i iterate through ImageViews and set ...
seppal's user avatar
  • 13
0 votes
2 answers
402 views

Making Imageview disappear After Animation

I have a method that creates an animation for an ImageView object with specified parameters: public void animateMove(float x, float y, int milsecs) { float origX = view.getX(); float origY = ...
questions's user avatar
  • 473
2 votes
2 answers
171 views

Background ImageView is not Shown in API level 16 though working good in API 19

I am not able to find out the exact issue that why the image(background) is not visible in API level 16 but it is showing good in API level 19. I have worked simply as i have done previously but , ...
seon's user avatar
  • 1,060
0 votes
1 answer
128 views

ImageView not visible on my device

i have an xml code for a layout for my fragment consisting of FrameLayout and RelativeLayouts, anyways I have an imageview which is visible inside a relative layout in my design on Android Studio,...
Ahmed Khairy's user avatar
1 vote
2 answers
5k views

setVisibility(View.VISIBLE) to imageView is not working

I have set the visibility of imageView as gone by default. Now, I want to make it visible when the the below(my code) condition goes true.I have checked that the condition goes true and my code ...
mdadil2019's user avatar
0 votes
1 answer
191 views

Imageview visibility affected before animation

I'm working with some animations in my project : I have my own animated class : public class Anim1Foto implements Animator.AnimatorListener { private ImageView imagen1; private ImageView ...
Asdemuertes's user avatar
0 votes
0 answers
18 views

imageView visibility doesn't work [duplicate]

I have ten image view in my app that their visibility is set to invisible in XMl. I wrote if condition in java to visibility them programmatically but I don't know why they still are invisible. ...
farshid83's user avatar
0 votes
3 answers
367 views

Can't set TextView to VISIBLE

I set the following to visible in my onCreate method. findViewById(R.id.noDesignsCallToAction).setVisibility(View.VISIBLE); In the XML, the view is set to visibility gone. <LinearLayout xmlns:...
Martin Erlic's user avatar
  • 5,635
6 votes
2 answers
610 views

ImageView visibility Error with Timer

package name.cpr; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import java.util.Timer; import java.util.TimerTask; public class ExampleActivity extends ...
creativedirektor's user avatar
1 vote
3 answers
342 views

Set visibility for a group of images

Let's say I have 4 images: ImageView a = (ImageView) findViewById(R.id.a); ImageView b = (ImageView) findViewById(R.id.b); ImageView c = (ImageView) findViewById(R.id.c); ImageView d = (ImageView) ...
Iulian Buga's user avatar
0 votes
1 answer
664 views

how to make an ImageView visible on swiping a listview row?

I have used <com.fortysevendeg.swipelistview.SwipeListView> to generate a ListView. I am using the following xml to get the items in my SimpleAdapter custom_row.xml <LinearLayout ...
user avatar
2 votes
6 answers
16k views

ImageView Invisible/Visible

I have this imageView that I want to be Invisible at first... Then when I click a button (calculateButton), the imageView will be Visible. Here's my ImageView: <ImageView android:id="@+id/...
Deloy's user avatar
  • 31

15 30 50 per page