GithubHelp home page GithubHelp logo

sambhav2612 / android-diwalilights Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 22.56 MB

Rotation-enabled single page application to change the interface background color via button clicks.

Java 100.00%
android android-app android-development java

android-diwalilights's Introduction

नमस्ते 🙏

I'm a Senior Software Engineer based out of Delhi, India.

LinkedIn Mail Resume

Code Time

📊 This Week I Spent My Time On

🕑︎ Time Zone: Asia/Kolkata

💬 Programming Languages: 
No Activity Tracked This Week

Last Updated on 21/08/2024 12:54:30 UTC

android-diwalilights's People

Contributors

cheesetouched avatar codacy-badger avatar sambhav2612 avatar

Stargazers

 avatar

Watchers

 avatar

android-diwalilights's Issues

function random() won't work inside MainActivity.java

Go-to branch patch-3 and find MainActivity.java inside the project structure. In the end of it, you'll find a function random which I wanted to randomly set the background of the app by waiting for 2-3 seconds after each call to set the background. However, I was unable to accomplish this, and thus here's the code of that function:

public void random(View view){
        int ct = 0, i;

        while (ct++<10) {
            i = random.nextInt(clr.length);
            rel.setBackgroundColor(clr[i]);
        }
}

Don't forget to add your name to CONTRIBUTORS.md in master using the following format:

- <Your Name>[<@Your GitHub Username>](Link to your GitHub profile)

Thanks for stopping by.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.