# Need Help with Android tint

**URL:** <https://discourse.processing.org/t/need-help-with-android-tint/28991>\
**Category:** Processing for Android\
**Created:** [March 30, 2021, 5:46pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991 "2021-03-30T17:46:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rogo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/rogo/32/12349_2.png) [@Rogo](https://discourse.processing.org/u/Rogo)\
**Post date:** [March 30, 2021, 5:46pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/1 "2021-03-30T17:46:29Z")

</div>

can someone help me that I come from transparent to an empty picture?

```auto
PImage startlogo; 
int start_time, tnt, count;

void setup() { 
  orientation(PORTRAIT);
  fullScreen();
  startlogo = loadImage("logo.png"); 
  startlogo.resize(displayWidth, displayHeight); 
  start_time = millis();
  tnt = 255;
  textSize(40);
  textAlign(CENTER);
}

void draw() { 
  background(#FFFFFF);
  image(startlogo, 0, 0);
  tint(255, tnt);
  tnt -= 5;
  if (millis()-start_time > 3000) { 
    background(0);
  }
}

```

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [March 30, 2021, 6:26pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/2 "2021-03-30T18:26:21Z")

</div>

@Rogo ==== sorry; can you explain better…

---

<div class="post-metadata">

**Author:** ![Rogo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/rogo/32/12349_2.png) [@Rogo](https://discourse.processing.org/u/Rogo)\
**Post date:** [March 30, 2021, 7:12pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/3 "2021-03-30T19:12:21Z")

</div>

I need a start screen like Netflix 😬

---

<div class="post-metadata">

**Author:** ![Rogo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/rogo/32/12349_2.png) [@Rogo](https://discourse.processing.org/u/Rogo)\
**Post date:** [April 3, 2021, 6:01pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/4 "2021-04-03T18:01:49Z")

</div>

I want my picture to change from normal to transparent, so actually an animation with my picture from normal to transparent @akenaton

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [April 3, 2021, 8:28pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/5 "2021-04-03T20:28:22Z")

</div>

[https://processing.org/reference/tint\_.html](https://processing.org/reference/tint_.html)

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [April 4, 2021, 6:13pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/6 "2021-04-04T18:13:28Z")

</div>

@paulgoux === this reference is for java mode: not sure that it works with android… Have you tried? - As for me i think (not tested) that you have to create an imageView, add the image to it and use some method like colorFilter

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [April 8, 2021, 6:24pm UTC](https://discourse.processing.org/t/need-help-with-android-tint/28991/7 "2021-04-08T18:24:48Z")

</div>

@Rogo === i have tested with an imageView an colorFilter: it works - android MM, android Nougat; yet there are other solutions, less elegant but probably working also
