Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

buildscript {
repositories {
mavenCentral()
jcenter()
google()

}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath "com.github.dcendents:android-maven-gradle-plugin:1.3"
// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -15,7 +18,9 @@ buildscript {

allprojects {
repositories {
mavenCentral()
jcenter()
google()
}

}
Expand Down
12 changes: 6 additions & 6 deletions example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
applicationId "momanii.hani.supernova_emoji"
minSdkVersion 9
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
Expand All @@ -19,6 +19,6 @@ android {
}

dependencies {
compile project(':supernova-emoji-library')
//compile 'com.android.support:appcompat-v7:25.3.1'
implementation project(':supernova-emoji-library')
implementation 'com.android.support:appcompat-v7:28.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import android.widget.CompoundButton;
import android.widget.ImageView;

import hani.momanii.supernova_emoji_library.Actions.EmojIconActions;
import hani.momanii.supernova_emoji_library.Helper.EmojiconEditText;
import hani.momanii.supernova_emoji_library.Helper.EmojiconTextView;
import hani.momanii.supernova_emoji_library.actions.EmojIconActions;
import hani.momanii.supernova_emoji_library.helper.EmojiconEditText;
import hani.momanii.supernova_emoji_library.helper.EmojiconTextView;

public class MainActivity extends AppCompatActivity {

Expand Down
6 changes: 3 additions & 3 deletions example/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
android:src="@android:drawable/ic_menu_send"
/>

<hani.momanii.supernova_emoji_library.Helper.EmojiconEditText
<hani.momanii.supernova_emoji_library.helper.EmojiconEditText
android:id="@+id/emojicon_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -41,7 +41,7 @@
emojicon:emojiconSize="28sp"/>


<hani.momanii.supernova_emoji_library.Helper.EmojiconEditText
<hani.momanii.supernova_emoji_library.helper.EmojiconEditText
android:id="@+id/emojicon_edit_text2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -60,7 +60,7 @@
android:checked="false"
android:text="Use System Default?"/>

<hani.momanii.supernova_emoji_library.Helper.EmojiconTextView
<hani.momanii.supernova_emoji_library.helper.EmojiconTextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=http\://nexus/repository/gradle/gradle-4.6-all.zip
12 changes: 6 additions & 6 deletions supernova-emoji-library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 9
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 28
}
lintOptions {
abortOnError false
}
}

dependencies {
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
}


Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package hani.momanii.supernova_emoji_library.Actions;
package hani.momanii.supernova_emoji_library.actions;

import android.content.Context;
import android.view.KeyEvent;
Expand All @@ -26,9 +26,9 @@
import java.util.Collections;
import java.util.List;

import hani.momanii.supernova_emoji_library.Helper.EmojiconEditText;
import hani.momanii.supernova_emoji_library.Helper.EmojiconGridView;
import hani.momanii.supernova_emoji_library.Helper.EmojiconsPopup;
import hani.momanii.supernova_emoji_library.helper.EmojiconEditText;
import hani.momanii.supernova_emoji_library.helper.EmojiconGridView;
import hani.momanii.supernova_emoji_library.helper.EmojiconsPopup;
import hani.momanii.supernova_emoji_library.R;
import hani.momanii.supernova_emoji_library.emoji.Emojicon;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@



package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.view.View;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.app.Activity;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.text.Spannable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.widget.GridView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;
import android.content.Context;
import android.content.SharedPreferences;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.graphics.Canvas;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.content.Context;
import android.content.res.TypedArray;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package hani.momanii.supernova_emoji_library.Helper;
package hani.momanii.supernova_emoji_library.helper;

import android.app.Activity;
import android.content.Context;
Expand All @@ -26,7 +26,6 @@
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<hani.momanii.supernova_emoji_library.Helper.EmojiconTextView
<hani.momanii.supernova_emoji_library.helper.EmojiconTextView
android:layout_gravity="center"
android:id="@+id/emojicon_icon"
android:layout_width="36dip"
Expand Down