Skip to content

Commit

Permalink
update package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimsn98 committed Dec 1, 2020
1 parent 0cadfb7 commit 9d898c5
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A lightweight circular indicator view library for Android
## XML Attributes

```xml
<me.ibrahimsn.speedometer.Speedometer
<me.ibrahimsn.lib.Speedometer
android:id="@+id/speedometer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

implementation project(":speedometer")
implementation project(":lib")

testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ package me.ibrahimsn.speedometersample

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.constraintlayout.widget.ConstraintLayout
import me.ibrahimsn.speedometer.Speedometer
import me.ibrahimsn.lib.Speedometer

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
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 @@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:padding="30dp">

<me.ibrahimsn.speedometer.Speedometer
<me.ibrahimsn.lib.Speedometer
android:id="@+id/speedometer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ibrahimsn.speedometer
package me.ibrahimsn.lib

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
Expand All @@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("me.ibrahimsn.speedometer.test", appContext.packageName)
assertEquals("me.ibrahimsn.lib.test", appContext.packageName)
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.ibrahimsn.speedometer">
package="me.ibrahimsn.lib">

</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ibrahimsn.speedometer
package me.ibrahimsn.lib

import android.animation.ValueAnimator
import android.content.Context
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ibrahimsn.speedometer
package me.ibrahimsn.lib

import org.junit.Test

Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include ':speedometer'
include ':app'
include ':lib'
rootProject.name = "speedometer"

0 comments on commit 9d898c5

Please sign in to comment.