Skip to content

Commit

Permalink
* renamed package
Browse files Browse the repository at this point in the history
  • Loading branch information
Iojjj committed May 25, 2016
1 parent f2552a2 commit ead83f8
Show file tree
Hide file tree
Showing 36 changed files with 55 additions and 54 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ captures/
.DS_Store
/build
/captures
gradle
.idea
gradlew
gradlew.bat
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
There are three implementations of `LikesLayout` interface: **LikesFrameLayout**, **LikesLinearLayout**, **LikesRelativeLayout**. You can add them to your view via XML or in Java code.

```XML
<ua.vlasov.likeslayout.LikesLinearLayout
<com.github.iojjj.likeslayout.LikesLinearLayout
android:layout_width="match_parent"
android:layout_height="250dp"
app:likes_drawable="drawable resource id"
Expand Down Expand Up @@ -46,7 +46,7 @@ There are three implementations of `LikesLayout` interface: **LikesFrameLayout**
app:likes_drawablePositionAnimator="cannonical class name"
/>

</ua.vlasov.likeslayout.LikesLinearLayout>
</com.github.iojjj.likeslayout.LikesLinearLayout>
```

or
Expand Down
6 changes: 1 addition & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ android {
buildToolsVersion "24.0.0-rc3"

defaultConfig {
applicationId "ua.vlasov.likes_layout"
applicationId "com.github.iojjj.likeslayout.app"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
dexOptions {
maxProcessCount 2
javaMaxHeapSize "2g"
}
buildTypes {
release {
minifyEnabled false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout;

import android.app.Application;
import android.test.ApplicationTestCase;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ua.vlasov.likes_layout">
package="com.github.iojjj.likeslayout.app">

<application
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.TextView;

import com.github.iojjj.likeslayout.LikesLinearLayout;
import com.github.iojjj.likeslayout.OnChildTouchListener;

import java.util.Locale;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;
import ua.vlasov.likeslayout.LikesLinearLayout;
import ua.vlasov.likeslayout.OnChildTouchListener;

/**
* Base fragment implementation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import android.os.Bundle;
import android.support.v4.app.Fragment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import ua.vlasov.likeslayout.DrawableAnimator;
import com.github.iojjj.likeslayout.DrawableAnimator;

/**
* Custom drawable animator factory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import java.util.concurrent.atomic.AtomicInteger;
import com.github.iojjj.likeslayout.PositionAnimator;

import ua.vlasov.likeslayout.PositionAnimator;
import java.util.concurrent.atomic.AtomicInteger;

/**
* Custom position animator factory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import ua.vlasov.likeslayout.PositionAnimator;
import com.github.iojjj.likeslayout.PositionAnimator;

/**
* Custom position animator factory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import android.content.res.TypedArray;
import android.graphics.Color;
Expand All @@ -15,8 +15,8 @@
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import ua.vlasov.likeslayout.LikesAttributes;
import ua.vlasov.likeslayout.LikesLinearLayout;
import com.github.iojjj.likeslayout.LikesAttributes;
import com.github.iojjj.likeslayout.LikesLinearLayout;

/**
* Fragment that constructs LikesLayout from code.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout.app;

import android.os.Bundle;
import android.support.annotation.Nullable;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="ua.vlasov.likes_layout.MainActivity">
tools:context=".MainActivity">

<TextView
android:id="@+id/status"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/fragment_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="ua.vlasov.likes_layout.MainActivity">
tools:context=".MainActivity">

<TextView
android:id="@+id/status"
Expand All @@ -22,7 +22,7 @@
android:layout_marginTop="16dp"
/>

<ua.vlasov.likeslayout.LikesLinearLayout
<com.github.iojjj.likeslayout.LikesLinearLayout
android:id="@+id/likes_layout"
android:layout_width="match_parent"
android:layout_height="350dp"
Expand Down Expand Up @@ -65,5 +65,5 @@
app:likes_drawableHeight="48dp"
/>

</ua.vlasov.likeslayout.LikesLinearLayout>
</com.github.iojjj.likeslayout.LikesLinearLayout>
</RelativeLayout>
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item>From Java</item>
</string-array>

<string name="custom_drawable_animator_factory">ua.vlasov.likes_layout.CustomDrawableAnimatorFactory</string>
<string name="custom_position_animator_factory">ua.vlasov.likes_layout.CustomPositionAnimatorFactory</string>
<string name="custom_position_animator_factory2">ua.vlasov.likes_layout.CustomPositionAnimatorFactory2</string>
<string name="custom_drawable_animator_factory">com.github.iojjj.likeslayout.CustomDrawableAnimatorFactory</string>
<string name="custom_position_animator_factory">com.github.iojjj.likeslayout.CustomPositionAnimatorFactory</string>
<string name="custom_position_animator_factory2">com.github.iojjj.likeslayout.CustomPositionAnimatorFactory2</string>
</resources>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.app.Application;
import android.test.ApplicationTestCase;
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ua.vlasov.likeslayout">
package="com.github.iojjj.likeslayout">

</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.animation.IntEvaluator;
import android.graphics.Rect;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.graphics.drawable.Drawable;
import android.support.annotation.IntDef;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.animation.Animator;
import android.animation.ValueAnimator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.annotation.TargetApi;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

/**
* LikesLayout interface for internal usage.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

/**
* LikesLayout params interface.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.annotation.TargetApi;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

/**
* Likes producer that allows to stop producing of likes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.annotation.TargetApi;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.view.MotionEvent;
import android.view.View;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

import android.animation.FloatEvaluator;
import android.support.annotation.Keep;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likeslayout;
package com.github.iojjj.likeslayout;

/**
* Helpful utils.
Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/values/public.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="string" name="likes_app_name" />
<public type="integer" name="likes_default_animation_duration" />
<public type="integer" name="likes_default_produce_interval" />
</resources>
5 changes: 2 additions & 3 deletions library/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<resources>
<string name="likes_app_name">Likes Layout</string>
<string name="likes_drawable_animator_factory">ua.vlasov.likeslayout.DrawableAnimator$DefaultFactory</string>
<string name="likes_position_animator_factory">ua.vlasov.likeslayout.PositionAnimator$DefaultFactory</string>
<string name="likes_drawable_animator_factory">com.github.iojjj.likeslayout.DrawableAnimator$DefaultFactory</string>
<string name="likes_position_animator_factory">com.github.iojjj.likeslayout.PositionAnimator$DefaultFactory</string>
</resources>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ua.vlasov.likes_layout;
package com.github.iojjj.likeslayout;

import org.junit.Test;

Expand Down

0 comments on commit ead83f8

Please sign in to comment.