pocmo / Yaaic

Yaaic (Yet Another Android IRC Client) is as the name already says an Internet Relay Chat (IRC) client for Android devices.
http://www.yaaic.org
GNU General Public License v3.0
331 stars 120 forks source link

Theming support or a light color theme #69

Open pocmo opened 13 years ago

pocmo commented 13 years ago

Add a light color theme or even add the possibility to add custom themes.

FossPrime commented 13 years ago

Funny, I was thinking of the opposite. My phone is having screen burn problems with the clock. Now im scared to leave anything on too long. The text bar would easily be burned in. I'll think about this.

FossPrime commented 13 years ago

I've tried several approaches and I now have a full idea of how one would approach this.

  1. Use getApplicationResource to fetch theme values and drawables from another APK, by name. These would be density adjusted and ready for that particular phone.
  2. Create a new Theme resource and apply it.
  3. Save it somehow for faster access in the future.

Implementing this without noticeably affecting performance is turning out to be very tricky. Whatever way we choose to save it should be just as fast as the package manager does it.

I have to admit, baking an extra theme seems really tempting.

indrora commented 10 years ago

Three years later, I've implemented this in my fork, indrora/Atomic, for those that stumble upon this.