mRecycled;
17 |
18 | public SimpleViewPagerAdapter() {
19 | mRecycled = new ArrayList<>();
20 | }
21 |
22 | @Override
23 | public boolean isViewFromObject(@NonNull View view, @NonNull Object object) {
24 | return view == object;
25 | }
26 |
27 | @Override
28 | public Object instantiateItem(ViewGroup collection, int position) {
29 | final View v;
30 | if(mRecycled.size() > 0) {
31 | v = mRecycled.remove(mRecycled.size() - 1);
32 | } else {
33 | v = createView(LayoutInflater.from(collection.getContext()), collection, position);
34 | }
35 | bindView(v, position);
36 | collection.addView(v,0);
37 | return v;
38 | }
39 |
40 | @Override
41 | public void destroyItem(ViewGroup collection, int position, Object view) {
42 | collection.removeView((View) view);
43 | mRecycled.add((View) view);
44 | }
45 |
46 | public abstract View createView(final LayoutInflater inflater, final ViewGroup viewGroup, final int position);
47 |
48 | public abstract void bindView(final View view, int position);
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/SlideShowViewPager.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager;
2 |
3 | import android.content.Context;
4 | import android.content.res.TypedArray;
5 | import android.support.annotation.NonNull;
6 | import android.support.annotation.Nullable;
7 | import android.util.AttributeSet;
8 |
9 | import com.onehook.view.FlowLayout;
10 | import com.onehookinc.androidlib.R;
11 |
12 | /**
13 | * Created by Eagle Diao on 2016-07-10.
14 | */
15 |
16 | public class SlideShowViewPager extends NonSwipeableViewPager {
17 |
18 | /**
19 | * Each page delay. By Default 4 seconds.
20 | */
21 | private int mDelay = 4000;
22 |
23 | /**
24 | * Animation duration to flip a page, by default 800 ms.
25 | */
26 | private int mSwitchPageAnimationDuration = 800;
27 |
28 | /**
29 | * Runnable to present next page.
30 | */
31 | final Runnable mToNextPageRunnable = new Runnable() {
32 | @Override
33 | public void run() {
34 | final int curr = getCurrentItem();
35 | if (curr < getAdapter().getCount() - 1) {
36 | setCurrentItem(getCurrentItem() + 1, true);
37 | } else {
38 | setCurrentItem(0);
39 | }
40 | postDelayed(this, mDelay);
41 | }
42 | };
43 |
44 | public SlideShowViewPager(Context context) {
45 | super(context);
46 | commonInit(context, null);
47 | }
48 |
49 | public SlideShowViewPager(Context context, AttributeSet attrs) {
50 | super(context, attrs);
51 | commonInit(context, attrs);
52 | }
53 |
54 | private void commonInit(@NonNull final Context context,
55 | @Nullable final AttributeSet attrs) {
56 | ViewPagerUtility.setViewPagerSmoothScrollDuration(mSwitchPageAnimationDuration,
57 | this);
58 |
59 | if (attrs != null) {
60 | final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SlideShowViewPager);
61 | mDelay = a.getInt(R.styleable.SlideShowViewPager_page_stay_duration,
62 | mDelay);
63 | mSwitchPageAnimationDuration = a.getInt(R.styleable.SlideShowViewPager_page_animation_duration,
64 | mSwitchPageAnimationDuration);
65 | a.recycle();
66 | }
67 | }
68 |
69 | /**
70 | * Start the slide show.
71 | */
72 | public void startSlideShow() {
73 | removeCallbacks(mToNextPageRunnable);
74 | postDelayed(mToNextPageRunnable, mDelay);
75 | }
76 |
77 | /**
78 | * End the slide show.
79 | */
80 | public void endSlideShow() {
81 | removeCallbacks(mToNextPageRunnable);
82 | }
83 |
84 | public void setDelay(int delay) {
85 | this.mDelay = delay;
86 | }
87 |
88 | public void setSwitchPageAnimationDuration(int switchPageAnimationDuration) {
89 | this.mSwitchPageAnimationDuration = switchPageAnimationDuration;
90 | }
91 | }
92 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/VerticalViewPager.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager;
2 |
3 | import android.content.Context;
4 | import android.support.v4.view.ViewPager;
5 | import android.util.AttributeSet;
6 | import android.view.MotionEvent;
7 |
8 | import com.onehook.view.pager.transformer.VerticalPagerDefaultTransformer;
9 |
10 | /**
11 | * Created by EagleDiao on 2016-07-12.
12 | *
13 | * Note this pager will not work inside a nested scroll view.
14 | */
15 | public class VerticalViewPager extends ViewPager {
16 |
17 | public VerticalViewPager(Context context) {
18 | this(context, null);
19 | }
20 |
21 | public VerticalViewPager(Context context, AttributeSet attrs) {
22 | super(context, attrs);
23 | super.setPageTransformer(false, new VerticalPagerDefaultTransformer());
24 | }
25 |
26 | @Override
27 | public void setPageTransformer(boolean reverseDrawingOrder, PageTransformer transformer) {
28 | throw new RuntimeException("Cannot change page transformer for vertical view pager");
29 | }
30 |
31 | private MotionEvent swapTouchEvent(MotionEvent event) {
32 | float width = getWidth();
33 | float height = getHeight();
34 | float swappedX = (event.getY() / height) * width;
35 | float swappedY = (event.getX() / width) * height;
36 | event.setLocation(swappedX, swappedY);
37 | return event;
38 | }
39 |
40 | @Override
41 | public boolean onInterceptTouchEvent(MotionEvent event) {
42 | boolean intercept = super.onInterceptTouchEvent(swapTouchEvent(event));
43 | swapTouchEvent(event);
44 | return intercept;
45 | }
46 |
47 | @Override
48 | public boolean onTouchEvent(MotionEvent ev) {
49 | return super.onTouchEvent(swapTouchEvent(ev));
50 | }
51 |
52 | }
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/ViewPagerUtility.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager;
2 |
3 | import android.content.Context;
4 | import android.support.v4.view.ViewPager;
5 | import android.view.animation.Interpolator;
6 | import android.view.animation.LinearInterpolator;
7 | import android.widget.Scroller;
8 |
9 | import java.lang.reflect.Field;
10 |
11 | /**
12 | * Created by EagleDiao on 2016-07-12.
13 | */
14 |
15 | public class ViewPagerUtility {
16 |
17 | public static class CustomScroller extends Scroller {
18 |
19 | private long mDuration;
20 |
21 | public CustomScroller(Context context, Interpolator interpolator, long duration) {
22 | super(context, interpolator);
23 | mDuration = duration;
24 | }
25 |
26 | @Override
27 | public void startScroll(int startX, int startY, int dx, int dy, int duration) {
28 | super.startScroll(startX, startY, dx, dy, (int) mDuration);
29 | }
30 | }
31 |
32 | /**
33 | * Set a new animation duration for the view pager.
34 | *
35 | * @param duration duration
36 | * @param viewPager view pager
37 | */
38 | public static void setViewPagerSmoothScrollDuration(final long duration, final ViewPager viewPager) {
39 | try {
40 | Field scroller = ViewPager.class.getDeclaredField("mScroller");
41 | scroller.setAccessible(true);
42 | scroller.set(viewPager, new CustomScroller(viewPager.getContext(), new LinearInterpolator(), duration));
43 | } catch (Exception e) {
44 | e.printStackTrace();
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/CarouselTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | public class CarouselTransformer implements ViewPager.PageTransformer {
7 |
8 | /**
9 | * Padding on the view pager.
10 | */
11 | private float mPadding;
12 |
13 | /**
14 | * Maximum Scale applied to previous and next page.
15 | */
16 | private float mScale;
17 |
18 | /**
19 | * Carousel Transformer with padding (same as in view pager) and
20 | * scale (scale apply to each previous and next page).
21 | *
22 | * @param padding padding
23 | * @param scale scale
24 | */
25 | public CarouselTransformer(final int padding, final float scale) {
26 | mPadding = padding;
27 | mScale = scale;
28 | }
29 |
30 | @Override
31 | public void transformPage(View view, float position) {
32 | /* offset the position to -1, 0, 1 since we may have a padding on the pager */
33 | position -= (mPadding * 1.0f / view.getMeasuredWidth());
34 |
35 | if (position < -1) {
36 | position = -1;
37 | } else if (position > 1) {
38 | position = 1;
39 | }
40 | final float scale = 1 - Math.abs(position) * (1 - mScale);
41 | view.setScaleX(scale);
42 | view.setScaleY(scale);
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/DepthPageTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | /**
7 | * Created by EagleDiao on 2016-11-09.
8 | */
9 |
10 | public class DepthPageTransformer implements ViewPager.PageTransformer {
11 | private static final float MIN_SCALE = 0.75f;
12 | private boolean mShouldChangeAlpha;
13 |
14 | public DepthPageTransformer(final boolean changeAlpha) {
15 | mShouldChangeAlpha = changeAlpha;
16 | }
17 |
18 | public void transformPage(View view, float position) {
19 | int pageWidth = view.getWidth();
20 |
21 | if (position < -1) { // [-Infinity,-1)
22 | // This page is way off-screen to the left.
23 | view.setAlpha(0);
24 |
25 | } else if (position <= 0) { // [-1,0]
26 | // Use the default slide transition when moving to the left page
27 | view.setAlpha(1);
28 | view.setTranslationX(0);
29 | view.setScaleX(1);
30 | view.setScaleY(1);
31 |
32 | } else if (position <= 1) { // (0,1]
33 | // Fade the page out.
34 | if(mShouldChangeAlpha) {
35 | view.setAlpha(1 - position);
36 | }
37 |
38 | // Counteract the default slide transition
39 | view.setTranslationX(pageWidth * -position);
40 |
41 | // Scale the page down (between MIN_SCALE and 1)
42 | float scaleFactor = MIN_SCALE
43 | + (1 - MIN_SCALE) * (1 - Math.abs(position));
44 | view.setScaleX(scaleFactor);
45 | view.setScaleY(scaleFactor);
46 |
47 | } else { // (1,+Infinity]
48 | // This page is way off-screen to the right.
49 | view.setAlpha(0);
50 | }
51 | }
52 | }
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/PagerAlphaTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | /**
7 | * Created by eaglediaotomore on 2016-07-10.
8 | */
9 |
10 | public class PagerAlphaTransformer implements ViewPager.PageTransformer {
11 |
12 | public void transformPage(View view, float position) {
13 | view.setTranslationX(view.getWidth() * -position);
14 |
15 | if (position <= -1.0F || position >= 1.0F) {
16 | view.setAlpha(0.0F);
17 | } else if (position == 0.0F) {
18 | view.setAlpha(1.0F);
19 | } else {
20 | // position is between -1.0F & 0.0F OR 0.0F & 1.0F
21 | view.setAlpha(1.0F - Math.abs(position));
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/StackTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | public class StackTransformer implements ViewPager.PageTransformer {
7 | @Override
8 | public void transformPage(View page, float position) {
9 | page.setTranslationX(page.getWidth() * -position);
10 | page.setTranslationY(position < 0 ? position * page.getHeight() : 0f);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/VerticalPagerDefaultTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | public class VerticalPagerDefaultTransformer implements ViewPager.PageTransformer {
7 |
8 | @Override
9 | public void transformPage(View view, float position) {
10 | float alpha = 0;
11 | if (0 <= position && position <= 1) {
12 | alpha = 1 - position;
13 | } else if (-1 < position && position < 0) {
14 | alpha = position + 1;
15 | }
16 | view.setAlpha(alpha);
17 | view.setTranslationX(view.getWidth() * -position);
18 | float yPosition = position * view.getHeight();
19 | view.setTranslationY(yPosition);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/pager/transformer/ZoomOutTransformer.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.pager.transformer;
2 |
3 | import android.support.v4.view.ViewPager;
4 | import android.view.View;
5 |
6 | public class ZoomOutTransformer implements ViewPager.PageTransformer {
7 | private static final float MIN_SCALE = 0.90f;
8 |
9 | @Override
10 | public void transformPage(View view, float position) {
11 | int pageWidth = view.getWidth();
12 | int pageHeight = view.getHeight();
13 | float alpha = 0;
14 | if (0 <= position && position <= 1) {
15 | alpha = 1 - position;
16 | } else if (-1 < position && position < 0) {
17 | float scaleFactor = Math.max(MIN_SCALE, 1 - Math.abs(position));
18 | float verticalMargin = pageHeight * (1 - scaleFactor) / 2;
19 | float horizontalMargin = pageWidth * (1 - scaleFactor) / 2;
20 | if (position < 0) {
21 | view.setTranslationX(horizontalMargin - verticalMargin / 2);
22 | } else {
23 | view.setTranslationX(-horizontalMargin + verticalMargin / 2);
24 | }
25 |
26 | view.setScaleX(scaleFactor);
27 | view.setScaleY(scaleFactor);
28 |
29 | alpha = position + 1;
30 | }
31 |
32 | view.setAlpha(alpha);
33 | view.setTranslationX(view.getWidth() * -position);
34 | float yPosition = position * view.getHeight();
35 | view.setTranslationY(yPosition);
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/view/progress/IconProgressView.java:
--------------------------------------------------------------------------------
1 | package com.onehook.view.progress;
2 |
3 | import android.annotation.TargetApi;
4 | import android.content.Context;
5 | import android.content.res.TypedArray;
6 | import android.support.v7.widget.AppCompatTextView;
7 | import android.util.AttributeSet;
8 | import android.view.Gravity;
9 | import android.view.View;
10 | import android.widget.TextView;
11 |
12 | import com.onehookinc.androidlib.R;
13 |
14 | /**
15 | * Created by EagleDiao on 2016-05-01.
16 | */
17 | public class IconProgressView extends AppCompatTextView {
18 |
19 | public IconProgressView(Context context, AttributeSet attrs) {
20 | super(context, attrs);
21 | commonInit(context, attrs);
22 | }
23 |
24 | public IconProgressView(Context context, AttributeSet attrs, int defStyleAttr) {
25 | super(context, attrs, defStyleAttr);
26 | commonInit(context, attrs);
27 | }
28 |
29 | private String[] mIcons;
30 |
31 | private int mIndex;
32 |
33 | private void commonInit(final Context context, final AttributeSet attrs) {
34 | setGravity(Gravity.CENTER);
35 |
36 | final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.IconProgressView);
37 | final int resID = a.getResourceId(R.styleable.IconProgressView_oh_icon_progress_view_icons, 0);
38 | if (resID == 0) {
39 | throw new IllegalArgumentException(
40 | "IntegerListPreference: error - entryList is not specified");
41 | }
42 | mIcons = context.getResources().getStringArray(resID);
43 | if (mIcons == null) {
44 | throw new IllegalArgumentException(
45 | "IntegerListPreference: error - entryList is not specified");
46 | }
47 | mIndex = 0;
48 | a.recycle();
49 |
50 | setVisibility(getVisibility());
51 | }
52 |
53 | @Override
54 | public void setVisibility(int visibility) {
55 | super.setVisibility(visibility);
56 | if (visibility == View.VISIBLE) {
57 | startAnimating();
58 | } else {
59 | endAnimating();
60 | }
61 | }
62 |
63 | private void startAnimating() {
64 | setText(mIcons[mIndex]);
65 | postDelayed(mRunnable, 200);
66 | }
67 |
68 | private Runnable mRunnable = new Runnable() {
69 | @Override
70 | public void run() {
71 | removeCallbacks(mRunnable);
72 | mIndex = (mIndex + 1) % mIcons.length;
73 | startAnimating();
74 | System.out.println("oneHook okok");
75 | }
76 | };
77 |
78 | private void endAnimating() {
79 | removeCallbacks(mRunnable);
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/ParallaxOnScrollListener.java:
--------------------------------------------------------------------------------
1 |
2 | package com.onehook.widget;
3 |
4 | import android.support.v7.widget.RecyclerView;
5 |
6 | /**
7 | * ParallaxOnScrollListener. This Parallax on scroll listener will apply
8 | * parallax effect on the first N view items of the RecyclerView. N will be
9 | * provided by user. If user wish to showAllowingStateLoss the header with parallax effect half
10 | * revealed when covered by following items, user also have to override the
11 | * getBottomDecorationHeight in LayoutManager class to *extend* the view height.
12 | * so that the view with parallax will not be recycled(removed from view parent)
13 | * immediately after the view is *out of the bound*.
14 | *
15 | * @author EagleDiao
16 | */
17 | public class ParallaxOnScrollListener extends RecyclerView.OnScrollListener {
18 | /**
19 | * Current content offset, this content offset is depending on orientation.
20 | * Content offset is not valid anymore if size of the recycler view changes.
21 | */
22 | private int mContentOffsetY;
23 |
24 | /**
25 | * Number of views to do paralex effect.
26 | */
27 | private int mNumberOfParalexHeader;
28 |
29 | /**
30 | * Constructor.
31 | *
32 | * @param numberOfParalexHeader
33 | */
34 | public ParallaxOnScrollListener(int numberOfParalexHeader) {
35 | mNumberOfParalexHeader = numberOfParalexHeader;
36 | }
37 |
38 | @Override
39 | public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
40 | super.onScrolled(recyclerView, dx, dy);
41 |
42 | /*
43 | * Roughly remember the current content offset, we use this value to
44 | * reset the translation of the views that we will to do parallax
45 | * effect.
46 | */
47 | mContentOffsetY += dy;
48 | /*
49 | * Ignore parallax effect if content offset is smaller than 0.
50 | */
51 | if (mContentOffsetY < 0) {
52 | mContentOffsetY = 0;
53 | }
54 | onViewScrolled(recyclerView, dy, mContentOffsetY);
55 | for (int i = 0; i < mNumberOfParalexHeader; i++) {
56 | final RecyclerView.ViewHolder viewHolder = recyclerView.findViewHolderForPosition(i);
57 | if (viewHolder != null) {
58 | viewHolder.itemView.setTranslationY(mContentOffsetY * 0.6f);
59 | }
60 | }
61 | }
62 |
63 | /**
64 | * Child class can override this class to receive on scroll changed info.
65 | *
66 | * @param recyclerView recycler view
67 | * @param dy difference in Y
68 | * @param contentOffsetY content offset along y axis
69 | */
70 | public void onViewScrolled(final RecyclerView recyclerView, final int dy,
71 | final int contentOffsetY) {
72 |
73 | }
74 |
75 | /**
76 | * Reset content offset back to 0.
77 | */
78 | public void resetContentOffset() {
79 | mContentOffsetY = 0;
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/adapter/BaseRecyclerViewAdapter.java:
--------------------------------------------------------------------------------
1 |
2 | package com.onehook.widget.adapter;
3 |
4 | import android.support.v7.widget.RecyclerView.Adapter;
5 | import android.support.v7.widget.RecyclerView.ViewHolder;
6 |
7 | /**
8 | * @author EagleDiao
9 | */
10 | public abstract class BaseRecyclerViewAdapter extends Adapter {
11 |
12 | /**
13 | * Default view type for loading view.
14 | */
15 | public static final int TYPE_VIEW_LOADING = -1;
16 |
17 | /**
18 | * All header view type starts from 100 up to 200 when we manage them
19 | * internally, to users, they are still number from 0 to total number of
20 | * headers.
21 | */
22 | public static final int TYPE_HEADER_VIEW_START = 100;
23 |
24 | /**
25 | * All footer view type starts from 200, to users, they are still a number
26 | * from 0 to total number of footer.
27 | */
28 | public static final int TYPE_FOOTER_VIEW_START = 200;
29 | }
30 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/adapter/BaseWrapperRecyclerViewAdapter.java:
--------------------------------------------------------------------------------
1 |
2 | package com.onehook.widget.adapter;
3 |
4 | import android.support.v7.widget.RecyclerView;
5 |
6 | /**
7 | * @author EagleDiao
8 | */
9 | public abstract class BaseWrapperRecyclerViewAdapter extends BaseRecyclerViewAdapter {
10 |
11 | final T mWrappedAdapter;
12 | private RecyclerView.AdapterDataObserver mObserver;
13 |
14 | public BaseWrapperRecyclerViewAdapter(T adapter) {
15 | mWrappedAdapter = adapter;
16 | }
17 |
18 | final public void onResume() {
19 | if (mWrappedAdapter != null && mObserver != null) {
20 | mWrappedAdapter.registerAdapterDataObserver(mObserver);
21 | }
22 |
23 | /* in case my wrapped adapter is also a wrapper */
24 | if (mWrappedAdapter != null && mWrappedAdapter instanceof BaseWrapperRecyclerViewAdapter) {
25 | ((BaseWrapperRecyclerViewAdapter) mWrappedAdapter).onResume();
26 | }
27 | }
28 |
29 | final public void onPause() {
30 | if (mWrappedAdapter != null && mObserver != null) {
31 | mWrappedAdapter.unregisterAdapterDataObserver(mObserver);
32 | }
33 |
34 | /* in case my wrapped adapter is also a wrapper */
35 | if (mWrappedAdapter != null && mWrappedAdapter instanceof BaseWrapperRecyclerViewAdapter) {
36 | ((BaseWrapperRecyclerViewAdapter) mWrappedAdapter).onPause();
37 | }
38 | }
39 |
40 | public void setDataObserver(RecyclerView.AdapterDataObserver observer) {
41 | mObserver = observer;
42 | }
43 |
44 | final public T getWrappedAdapter() {
45 | return mWrappedAdapter;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/listener/OnItemClickListener.java:
--------------------------------------------------------------------------------
1 | package com.onehook.widget.listener;
2 |
3 | import android.support.v7.widget.RecyclerView;
4 |
5 | /**
6 | * Created by eaglediaotomore on 15-07-05.
7 | */
8 | public interface OnItemClickListener {
9 |
10 | void onItemClicked(final RecyclerView.ViewHolder viewHolder, final int position);
11 | }
12 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/recyclerview/OverScrollLinearLayoutManager.java:
--------------------------------------------------------------------------------
1 | package com.onehook.widget.recyclerview;
2 |
3 | import android.content.Context;
4 | import android.support.v7.widget.LinearLayoutManager;
5 | import android.support.v7.widget.RecyclerView;
6 | import android.util.AttributeSet;
7 | import android.util.Log;
8 |
9 | /**
10 | * Created by eaglediaotomore on 2016-10-29.
11 | */
12 |
13 | public class OverScrollLinearLayoutManager extends LinearLayoutManager {
14 |
15 | private int mVerticalOverScrollAmount;
16 |
17 | public OverScrollLinearLayoutManager(Context context) {
18 | super(context);
19 | }
20 |
21 | public OverScrollLinearLayoutManager(Context context, int orientation, boolean reverseLayout) {
22 | super(context, orientation, reverseLayout);
23 | }
24 |
25 | public OverScrollLinearLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
26 | super(context, attrs, defStyleAttr, defStyleRes);
27 | }
28 |
29 | @Override
30 | public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) {
31 | // return super.scrollVerticallyBy(dy, recycler, state);
32 |
33 | final int scrollRange = super.scrollVerticallyBy(dy, recycler, state);
34 |
35 | if(scrollRange == 0) {
36 | mVerticalOverScrollAmount += dy;
37 | } else {
38 | mVerticalOverScrollAmount = 0;
39 | }
40 | Log.d("oneHook", "Scroll Range " + scrollRange + " dy: " + dy + " Over scroll amount " + mVerticalOverScrollAmount);
41 |
42 | int overscroll = dy - scrollRange;
43 | if (overscroll > 0) {
44 | // bottom overscroll
45 | Log.d("oneHook", "Bottom overscroll " + overscroll + " , " + dy);
46 | } else if (overscroll < 0) {
47 | // top overscroll
48 | Log.d("oneHook", "Top overscroll " + overscroll + " , " + dy);
49 | }
50 | return scrollRange;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/recyclerview/SpaceItemDecoration.java:
--------------------------------------------------------------------------------
1 | package com.onehook.widget.recyclerview;
2 |
3 | import android.graphics.Rect;
4 | import android.support.v7.widget.RecyclerView;
5 | import android.view.View;
6 |
7 | /**
8 | * Created by eaglediaotomore on 2016-03-12.
9 | */
10 | public class SpaceItemDecoration extends RecyclerView.ItemDecoration {
11 |
12 | private int mSpaceTop;
13 |
14 | private int mSpaceBottom;
15 |
16 | private int mSpaceLeft;
17 |
18 | private int mSpaceRight;
19 |
20 | /**
21 | * @param space for top, right, left, bottom
22 | */
23 | public SpaceItemDecoration(int space) {
24 | this(space, space, space, space);
25 | }
26 |
27 | /**
28 | * @param spaceTop
29 | * @param spaceBottom
30 | * @param spaceLeft
31 | * @param spaceRight
32 | */
33 | public SpaceItemDecoration(int spaceTop, int spaceBottom, int spaceLeft, int spaceRight) {
34 | this.mSpaceTop = spaceTop;
35 | this.mSpaceBottom = spaceBottom;
36 | this.mSpaceLeft = spaceLeft;
37 | this.mSpaceRight = spaceRight;
38 | }
39 |
40 | @Override
41 | public void getItemOffsets(Rect outRect, View view,
42 | RecyclerView parent, RecyclerView.State state) {
43 | outRect.left = mSpaceLeft;
44 | outRect.right = mSpaceRight;
45 | outRect.bottom = mSpaceBottom;
46 | outRect.top = mSpaceTop;
47 | }
48 | }
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/java/com/onehook/widget/recyclerview/SquareGridLayoutManager.java:
--------------------------------------------------------------------------------
1 | package com.onehook.widget.recyclerview;
2 |
3 | import android.content.Context;
4 | import android.support.v7.widget.GridLayoutManager;
5 | import android.view.View;
6 |
7 | /**
8 | * Created by eaglediaotomore on 2016-04-14.
9 | */
10 | public class SquareGridLayoutManager extends GridLayoutManager {
11 |
12 | public interface ISquareGridLayoutSizeOffsetLookup {
13 | int getOffsetForView(final View view, final int adapterPosition);
14 | }
15 |
16 | private ISquareGridLayoutSizeOffsetLookup mOffsetLookup;
17 |
18 | public SquareGridLayoutManager(Context context, int spanCount, int orientation,
19 | boolean reverseLayout) {
20 | super(context, spanCount, orientation, reverseLayout);
21 | }
22 |
23 | public void setSizeOffsetLookup(final ISquareGridLayoutSizeOffsetLookup lookup) {
24 | mOffsetLookup = lookup;
25 | }
26 |
27 |
28 | @Override
29 | public int getDecoratedMeasuredHeight(View child) {
30 | int index = -1;
31 | for (int i = 0; i < getItemCount(); i++) {
32 | if (child == findViewByPosition(i)) {
33 | index = i;
34 | break;
35 | }
36 | }
37 | int spanSize = 1;
38 | if (index >= 0) {
39 | spanSize = getSpanSizeLookup().getSpanSize(index);
40 | }
41 |
42 | int offset = 0;
43 | if(mOffsetLookup != null) {
44 | offset = mOffsetLookup.getOffsetForView(child, index);
45 | }
46 |
47 | final int height = getDecoratedMeasuredWidth(child);
48 | child.measure(View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY),
49 | View.MeasureSpec.makeMeasureSpec(height / spanSize + offset, View.MeasureSpec.EXACTLY));
50 |
51 | return height / spanSize + offset;
52 | }
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_enter_sliding_left.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_enter_sliding_right.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_exit_sliding_left.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_exit_sliding_right.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_fade_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_fade_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_none.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_pop_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_sliding_down.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/anim/anim_sliding_up.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_close_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_settings_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-hdpi/ic_share_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_close_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_settings_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-mdpi/ic_share_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_close_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_settings_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xhdpi/ic_share_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_close_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_settings_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxhdpi/ic_share_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_close_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_search_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_search_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_settings_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_black_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_18dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_18dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_24dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_24dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_36dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_36dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oneHook/oneHookLibraryAndroid/abb701c2db214a36614782204dd2e8426f0c7746/onehookinclibrary/src/main/res/drawable-xxxhdpi/ic_share_white_48dp.png
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/drawable/background_tag_cell_default.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
8 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/layout/fragment_full_image_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/layout/fragment_stack_layout_demo.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
18 |
19 |
23 |
24 |
25 |
29 |
30 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/layout/item_row_icon_title.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
21 |
22 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/layout/view_adapter_loading.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
21 |
22 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-fr/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | oneHookLibraryAndroid
4 | Essayer de nouveau
5 | Télécharger plus
6 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-sw360dp/dimens_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 8dp
5 |
6 |
7 | 2dp
8 | 4dp
9 | 6dp
10 | 8dp
11 | 12dp
12 | 14dp
13 | 16dp
14 | 32dp
15 | 64dp
16 | 128dp
17 |
18 |
19 | 38dp
20 | 28dp
21 | 24dp
22 | 20dp
23 | 16dp
24 | 14dp
25 | 12dp
26 | 8dp
27 |
28 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-sw400dp/dimens_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 3dp
6 | 6dp
7 | 8dp
8 | 12dp
9 | 14dp
10 | 16dp
11 | 18dp
12 | 40dp
13 | 80dp
14 | 144dp
15 |
16 |
17 | 40dp
18 | 30dp
19 | 26dp
20 | 22dp
21 | 18dp
22 | 16dp
23 | 14dp
24 | 10dp
25 |
26 |
27 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-sw600dp/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-zh-rCN/strings_date.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | yyyy年M月d日 EEEE
5 | M月d日 EEEE
6 | yyyy年M月d日
7 | M月d日
8 |
9 | 凌晨
10 | 早上
11 | 中午
12 | 下午
13 | 晚上
14 |
15 | %1$sh点
16 | %1$sh点m分
17 |
18 | %1$s 到 %2$s
19 |
20 |
21 | - 星期日
22 | - 星期一
23 | - 星期二
24 | - 星期三
25 | - 星期四
26 | - 星期五
27 | - 星期六
28 |
29 |
30 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values-zh-rTW/strings_date.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | yyyy年M月d日 EEEE
5 | M月d日 EEEE
6 | yyyy年M月d日
7 | M月d日
8 |
9 | 淩晨
10 | 早上
11 | 中午
12 | 下午
13 | 晚上
14 |
15 | %1$sh点
16 | %1$sh点m分
17 |
18 | %1$s 到 %2$s
19 |
20 |
21 |
22 | - 星期日
23 | - 星期一
24 | - 星期二
25 | - 星期三
26 | - 星期四
27 | - 星期五
28 | - 星期六
29 |
30 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/colors_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/dimens_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 8dp
5 |
6 |
7 | 1dp
8 | 2dp
9 | 3dp
10 | 4dp
11 | 6dp
12 | 7dp
13 | 8dp
14 | 16dp
15 | 32dp
16 | 64dp
17 |
18 | 32dp
19 | 26dp
20 | 22dp
21 | 18dp
22 | 14dp
23 | 12dp
24 | 10dp
25 | 6dp
26 |
27 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | oneHookLibraryAndroid
3 |
4 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/strings_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Retry
4 | Click to load
5 | Search
6 |
7 |
8 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/strings_date.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | EEEE, MMM d, yyyy
5 | EEEE, MMM d
6 | MMM d, yyyy
7 | MMM d
8 |
9 | AM
10 | AM
11 | PM
12 | PM
13 | PM
14 |
15 | h %1$s
16 | h:mm %1$s
17 |
18 | %1$s - %2$s
19 |
20 |
21 | - Sunday
22 | - Monday
23 | - Tuesday
24 | - Wednesday
25 | - Thursday
26 | - Friday
27 | - Saturday
28 |
29 |
30 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/strings_time_format.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Now
5 | %1$ds
6 | %1$dm
7 | %1$dh
8 | %1$dd
9 | %1$dw
10 | %1$dmo
11 | %1$dy
12 |
13 | Just Now
14 | %1$d seconds ago
15 | %1$d minutes ago
16 | %1$d hours ago
17 | %1$d days ago
18 | %1$d weeks ago
19 | %1$d months ago
20 | %1$d years ago
21 |
22 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/styles_base.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
15 |
16 |
--------------------------------------------------------------------------------
/onehookinclibrary/src/main/res/values/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':onehookinclibrary'
2 |
--------------------------------------------------------------------------------