Android 图片切换各种色调变化

来源:互联网 发布:洋葱网络 编辑:程序博客网 时间:2024/04/29 20:57

MediaPickerInstagram

项目地址:NodensN/MediaPickerInstagram

I've not found any MediaPicker component suitable for my needs for Android so I made this one. It's a Media picker component that aims to replicate the experience provided by Instagram. The features I plan to add are : Photo taking functionality Video taking functionality. Hope this helps! Some help is much appreciated, there is much work that could be done. :)

Screenshots

picker editor camera

Work In Progress

  • [X] Gallery picker
  • [ ] Capture photo
  • [ ] Capture video
  • [X] Editor photo

Project Structure

AndroidManifest.xmlassets/  |- fonts/java/  |- com/  |  |- octopepper/  |  |  |- mediapickerinstagram/  |  |  |  |- commons/  |  |  |  |- components/  |  |  |  |  |- editor/  |  |  |  |  |- gallery/  |  |  |  |  |- photo/  |  |  |  |  |- video/  |  |  |  |- MainActivity.java  |  |  |  |- MainApplication.javares/  |- anim/  |- color/  |- drawable/  |- layout/  |- layout-v14/  |- mipmap-hdpi/  |- mipmap-mdpi/  |- mipmap-xhdpi/  |- mipmap-xxhdpi/  |- mipmap-xxxhdpi/  |- values/  |- values-v21/  |- values-w820dp/

Git

Branch

  • master --> PRODUCTION
  • development --> DEVELOPMENT BRANCH

For any news features create a new branch from development

Formatting commit messages

$ git commit -am "[... your message ...]"

All commit message line will be cropped at 100 characters

Prefixe all your commit messages by one of this type:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug or adds a feature
  • perf: A code changes that improves performance
  • test: Adding missing tests
  • chore: Changes to the build process or auxiliary tools and libraries

Libraries

Core

  • Butter Knife --> link
  • Picasso --> link
  • Rebound --> link
  • RxJava --> link
  • Image processing --> link

Naming Conventions

public class MyClass {    public static final int SOME_CONSTANT = 42;    public int publicField;    private static MyClass sSingleton;    int mPackagePrivate;    private int mPrivate;    protected int mProtected;    boolean isBoolean;    boolean hasBoolean;    @BienView({id})    View mMyView;    @BindString({id})    String _myString;    @BindColor({id})    int _myColor;}

Code style for Android --> link

Android Version Support

Android fragmentation analytics --> Platform Versions

  • Min API 21 --> Lollipop : 5.x.x
  • Max API 25 --> Nougat : 7.x.x

Contributors

NodensN