Skip to content

Commit a99beef

Browse files
committed
prepare for library module 😳
1 parent 1178acf commit a99beef

39 files changed

Lines changed: 237 additions & 463 deletions

.idea/gradle.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

delete/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

delete/build.gradle

Lines changed: 0 additions & 34 deletions
This file was deleted.

delete/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

delete/src/main/AndroidManifest.xml

Lines changed: 0 additions & 2 deletions
This file was deleted.

delete/src/main/res/values/strings.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-android-extensions'
4+
45
android {
56
compileSdkVersion 28
6-
7-
8-
97
defaultConfig {
108
applicationId "com.banner.example"
119
minSdkVersion 21
1210
targetSdkVersion 28
1311
versionCode 1
1412
versionName "1.0"
15-
16-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1714

1815
}
1916

@@ -29,9 +26,9 @@ android {
2926
dependencies {
3027
implementation fileTree(include: ['*.jar'], dir: 'libs')
3128
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
32-
implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
29+
implementation 'androidx.appcompat:appcompat:1.0.2'
3330
implementation 'androidx.core:core-ktx:1.1.0-alpha04'
34-
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
31+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
3532
testImplementation 'junit:junit:4.12'
3633
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
3734
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'

example/src/androidTest/java/com/banner/example/ExampleInstrumentedTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package com.banner.example
22

3+
import android.support.test.InstrumentationRegistry
4+
import android.support.test.runner.AndroidJUnit4
35
import androidx.test.InstrumentationRegistry
4-
import androidx.test.runner.AndroidJUnit4
56

67
import org.junit.Test
78
import org.junit.runner.RunWith

example/src/main/AndroidManifest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
package="com.banner.example">
44

55
<application
6-
android:allowBackup="true"
7-
android:icon="@mipmap/ic_launcher"
8-
android:label="@string/app_name"
9-
android:roundIcon="@mipmap/ic_launcher_round"
10-
android:supportsRtl="true"
11-
android:theme="@style/AppTheme">
12-
<activity android:name=".MainActivity">
6+
android:allowBackup="true"
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="@string/app_name"
9+
android:roundIcon="@mipmap/ic_launcher_round"
10+
android:supportsRtl="true"
11+
android:theme="@style/AppTheme">
12+
<activity android:name="com.banner.example.MainActivity">
1313
<intent-filter>
14-
<action android:name="android.intent.action.MAIN"/>
14+
<action android:name="android.intent.action.MAIN" />
1515

16-
<category android:name="android.intent.category.LAUNCHER"/>
16+
<category android:name="android.intent.category.LAUNCHER" />
1717
</intent-filter>
1818
</activity>
1919
</application>
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.banner.example
22

3-
43
import android.os.Bundle
54
import androidx.appcompat.app.AppCompatActivity
65

@@ -9,8 +8,5 @@ class MainActivity : AppCompatActivity() {
98
override fun onCreate(savedInstanceState: Bundle?) {
109
super.onCreate(savedInstanceState)
1110
setContentView(R.layout.activity_main)
12-
13-
14-
//tv_tester.text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum"
1511
}
16-
}
12+
}

0 commit comments

Comments
 (0)