Skip to content

Commit

Permalink
fixing libray module manifest bug
Browse files Browse the repository at this point in the history
  • Loading branch information
KingsMentor committed Jul 11, 2017
1 parent 3ed7a1f commit 77b8651
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ android {

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
// compile 'com.github.KingsMentor:Luhn:v1.0'
compile project(':luhn')
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/xyz/belvi/addcard/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

findViewById(R.id.add_card).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Expand Down
4 changes: 0 additions & 4 deletions luhn/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ android {
}

dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:25.4.0'
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support:support-compat:25.4.0'
Expand Down
8 changes: 1 addition & 7 deletions luhn/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
<activity
android:name=".Luhn"
android:label="@string/add_card"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
android:windowSoftInputMode="adjustResize"/>
</application>

</manifest>

0 comments on commit 77b8651

Please sign in to comment.