marzika / Snapprefs

A project which offer enhanced features for Snapchat throught the Xposed Framework.
GNU General Public License v3.0
273 stars 83 forks source link

Added deluxe opacity setting for save button #363

Closed azsde closed 7 years ago

azsde commented 7 years ago

Description

Allow deluxe users to set a custom opacity for the save button, and allow dynamic resizing of the button if wanted.

Opacity to 100% --> regular size Opacity to 0% --> 2x regular size

Motivation and Context

I wanted to improve the hide button feature, this allow a more customizable approach.

How Has This Been Tested?

I've tested on two devices running marshmallow and lastest xposed version.

Screenshots (if appropriate):

screenshot_20161213-194431

screenshot_20161213-194225

Types of changes

Checklist:

 Sidenote:

I've slightly changed the behavior of the save buttons so that they act the same for regular snap and for stories.

marzika commented 7 years ago

I have reviewer your changes, however I would not like to use an other library. Android is already capable of making a Seekbar preference.

Check here: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/preference/SeekBarPreference.java

azsde commented 7 years ago

I'm going to check if I can rework the patch using your link.