Skip to content

Commit

Permalink
[AppOnly] Remove AppCompat dependency
Browse files Browse the repository at this point in the history
Use regular Activity and regular theme instead
  • Loading branch information
ViliusSutkus89 committed Nov 1, 2021
1 parent 3f381c5 commit 6bb1a16
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 21 deletions.
1 change: 0 additions & 1 deletion sampleapp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,5 @@ android {

dependencies {
implementation 'com.viliussutkus89:samplelib:1.4.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
}

2 changes: 1 addition & 1 deletion sampleapp/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@android:style/Theme.WithActionBar">
<activity
android:name=".MainActivity"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.viliussutkus89.samplelib.sampleapp;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.viliussutkus89.samplelib.VersionGetter;

public class MainActivity extends AppCompatActivity {
public class MainActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
Expand Down
6 changes: 0 additions & 6 deletions sampleapp/app/src/main/res/values/colors.xml

This file was deleted.

11 changes: 0 additions & 11 deletions sampleapp/app/src/main/res/values/styles.xml

This file was deleted.

0 comments on commit 6bb1a16

Please sign in to comment.