Skip to content

Commit

Permalink
change package name
Browse files Browse the repository at this point in the history
  • Loading branch information
KishanViramgama committed Dec 23, 2018
1 parent c32564f commit 028001f
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.drawing.kids.drawing"
applicationId "com.app.kids"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.drawing.kids.drawing;
package com.app.kids.drawing;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
Expand All @@ -21,6 +21,6 @@ public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("com.drawing.kids.drawing", appContext.getPackageName());
assertEquals("com.app.kids.drawing", appContext.getPackageName());
}
}
4 changes: 2 additions & 2 deletions 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="com.drawing.kids.drawing">
package="com.app.kids.drawing">

<application
android:allowBackup="true"
Expand All @@ -9,7 +9,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<activity android:name="com.app.kids.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.drawing.kids.drawing;
package com.app.kids;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.app.kids.drawing.R;

public class MainActivity extends AppCompatActivity {

@Override
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_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=".MainActivity">
tools:context="com.app.kids.MainActivity">

<TextView
android:layout_width="wrap_content"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.drawing.kids.drawing;
package com.app.kids.drawing;

import org.junit.Test;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.drawing.kids.mylibrary;
package com.app.kids.mylibrary;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.drawing.kids.mylibrary" />
package="com.app.kids.mylibrary" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.drawing.kids.Util;
package com.app.drawing.Util;

import android.annotation.SuppressLint;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.drawing.kids.mylibrary;
package com.app.kids.mylibrary;

import org.junit.Test;

Expand Down

0 comments on commit 028001f

Please sign in to comment.