Git Product home page Git Product logo

darkmodeandchangelanguage's Introduction

DarkmodeAndChangeLanguage

Bài tập Dark Mode và Change Language của lớp Khoa Phạm

Đây là demo mình làm Dark Mode và Change Language của lớp Android Khoa Phạm. Mình combine cả 2 bài tập lại làm một và dùng 1 chức năng nâng cao là lưu shared preference để khi kill app nhưng data vẫn không bị kill.

[image

Features

  • Ấn Night mode để đổi sang Light mode hoặc Dark mode
  • Ấn Language mode để đổi tiếng anh hoặc tiếng việt
  • Khi kill app, giao diện mode và ngôn ngữ đã chọn vẫn được lưu lại và khi mở app lần nữa có thể giữ lại toàn bộ settings đã được chọn.

How to download / clone it

Các bạn có thể download (clone) về bằng 2 cách:

  • Cách 1: Clone về

  • Các bạn nhấn vào góc phải màn hình có nút clone or download. Các bạn clone về bằng cách sao chép cái đường link trong cái ô clone with HTTPS.

  • Các bạn nhấp phải chuột tại folder muốn lưu file hoặc ra desktop, chọn git bash here

  • Sau đó các bạn gõ câu lệnh: git clone ấn nút phải chuột paste link mới chép vô.

    Vd: git clone https://github.com/anhoang241998/DarkmodeAndChangeLanguage.git

  • Vậy là xong.

  • Cách 2: download về

    • Cách này đơn giản hơn, các bạn chỉ cần nhấn vào góc phải màn hình có nút clone or download. Các bạn chọn Download ZIP

Tổng kết

Mình sẽ update document lên sau.

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.