Skip to content

Commit

Permalink
Imagepicker -> mediapicker (#16)
Browse files Browse the repository at this point in the history
* Readme

* Fix kau direction bits

* Truly support transparent ripples

* Update changelog

* Test rect as base

* Replace fab transition with generic fade scale transition

* Add scalexy func

* Add scaleXY

* Add arguments to fadeScaleTransition

* Clean up ink indicator

* Create setOnSingleTapListener

* Fix lint and add rndColor

* Create kotterknife resettables

* Add readme and missing objec

* Create lazy resettable registered

* Update core docs

* Opt for separate class for resettable registry

* Clean up resettable registry

* Rename functions

* Add ripple callback listener

* Adjust kprefactivity desc color

* Add more transitions

* Add delete keys option

* Add instrumentation tests

* switch id

* Revert automatic instrumental tests

* Generify imagepickercore and prepare video alternative

* Create working video picker

* Address possible null issue

* Update searchview

* Make layouts public

* Add changelog test

* Update logo link

* Add custom color gif

* Rename imagepicker to mediapicker

* Clean up

* Fix remaining merge conflicts

* Update readme

* Update readme
  • Loading branch information
AllanWang authored Aug 1, 2017
1 parent 48213d0 commit 7d894be
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ dependencies {
# Submodules
(linked to their respective Docs)

## [Core](core#readme)
## [Core](core#readme)****
* Collection of extension functions and small helper methods applicable in almost any application.
* Notable features: KPrefs, Changelog XML, Ripple Canvas, Extensions, Email Builder
* Notable features: KPrefs, Changelog XML, Kotterknife, Ripple Canvas, Delegates, Lazy Resettables, Extensions, Email Builder
* Includes
[`AppCompat`](https://developer.android.com/topic/libraries/support-library/index.html),
[`Material Dialogs (core)`](https://github.com/afollestad/material-dialogs),
Expand Down
2 changes: 1 addition & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* :core: Create lazy resettable registry
* :core: Add more transitions and anims
* :kpref-activity: Reduce alpha color for desc
* :imagepicker: [breaking] Rename to mediapicker and add support for videos
* :imagepicker: [breaking] Rename to mediapicker and add support for videos (alpha)

## v3.2.0
* :adapter: Make KauAnimator extensible
Expand Down
2 changes: 1 addition & 1 deletion mediapicker/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<manifest package="ca.allanwang.kau.imagepicker" />
<manifest package="ca.allanwang.kau.mediapicker" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.content.Context
import android.graphics.Color
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.graphics.drawable.Drawable
import android.support.v7.widget.RecyclerView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.annotation.SuppressLint
import android.app.Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.database.Cursor
import android.database.SQLException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.content.Intent
import android.database.Cursor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.os.Build
import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.app.Activity
import android.content.Intent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.Manifest
import android.app.Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.allanwang.kau.imagepicker
package ca.allanwang.kau.mediapicker

import android.net.Uri
import android.provider.MediaStore
Expand Down
2 changes: 1 addition & 1 deletion mediapicker/src/main/res/layout/kau_iitem_image.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ca.allanwang.kau.imagepicker.BlurredImageView xmlns:android="http://schemas.android.com/apk/res/android"
<ca.allanwang.kau.mediapicker.BlurredImageView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/kau_image"
android:layout_width="match_parent"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import android.view.Menu
import android.view.MenuItem
import ca.allanwang.kau.about.kauLaunchAbout
import ca.allanwang.kau.email.sendEmail
import ca.allanwang.kau.imagepicker.kauLaunchMediaPicker
import ca.allanwang.kau.imagepicker.kauOnMediaPickerResult

import ca.allanwang.kau.mediapicker.kauLaunchMediaPicker
import ca.allanwang.kau.mediapicker.kauOnMediaPickerResult
import ca.allanwang.kau.kpref.activity.CoreAttributeContract
import ca.allanwang.kau.kpref.activity.KPrefActivity
import ca.allanwang.kau.kpref.activity.KPrefAdapterBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package ca.allanwang.kau.sample

import ca.allanwang.kau.imagepicker.MediaPickerActivityBase
import ca.allanwang.kau.imagepicker.MediaPickerActivityOverlayBase
import ca.allanwang.kau.imagepicker.MediaType
import ca.allanwang.kau.mediapicker.MediaPickerActivityBase
import ca.allanwang.kau.mediapicker.MediaPickerActivityOverlayBase
import ca.allanwang.kau.mediapicker.MediaType

/**
* Created by Allan Wang on 2017-07-23.
Expand Down
6 changes: 1 addition & 5 deletions sample/src/main/res/xml/kau_changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
<item text=":core: Create lazy resettable registry" />
<item text=":core: Add more transitions and anims" />
<item text=":kpref-activity: Reduce alpha color for desc" />
<item text=":imagepicker: [breaking] Rename to mediapicker and add support for videos" />
<item text="" />
<item text="" />
<item text="" />
<item text="" />
<item text=":imagepicker: [breaking] Rename to mediapicker and add support for videos (alpha)" />

<version title="v3.2.0"/>
<item text=":adapter: Make KauAnimator extensible" />
Expand Down

0 comments on commit 7d894be

Please sign in to comment.