Diffre Save

Neon Progress indicator useful for event progress like views. Proof of concept.

Project README

BuddyBuild

Diffre

pronounced - Differ

Diffre is a sample Android application that shows how to change text color based on background.

This sample application exposes two possible implementations:

  • A Path-based implementation that requires API level 19
  • A Region-based implementation that requires API level 1

Heavily influenced from Romain Guy's Medium article

demo gif

demo gif

This project was built because of this Stack OverFlow question

Check out this other library I wrote: LastPagerAdapter

Limitations

  • Even though Region API works from API 1+, many devices I've encountered don't render it unless layerType="software" is specified. So this effectively makes Region API useful only from API 11.

Contact

Email | Twitter

License

Copyright 2016 Rakshak Hegde

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Open Source Agenda is not affiliated with "Diffre" Project. README Source: rakshakhegde/Diffre
Stars
174
Open Issues
1
Last Commit
5 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating