title: when i implement barteksc in app my app just crash
body: <p>when i try to implement</p>
  <pre><code> implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
  </code></pre>
  <p>in my android application my app just crash, it start and show the dialogue of close app, i cant find out what and where the issue is</p>
  <p>this is my gradle file</p>
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 29
  buildToolsVersion &quot;30.0.1&quot;
  defaultConfig {
  //    -keep class com.shockwave.**
  
      applicationId &quot;com.example.quran&quot;
      minSdkVersion 16
      targetSdkVersion 29
      versionCode 1
      versionName &quot;1.0&quot;
  
      testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
  }
  
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
      }
  }
  }
  
   dependencies {
    implementation fileTree(dir: &quot;libs&quot;, include: [&quot;*.jar&quot;])
  implementation 'androidx.appcompat:appcompat:1.2.0'
  implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
  
  implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  
  
  }
  </code></pre>
  <p>this is my xml file</p>
  <pre><code>    &lt;com.github.barteksc.pdfviewer.PDFView
        android:layout_width=&quot;match_parent&quot;
         android:layout_height=&quot;match_parent&quot;
        android:id=&quot;@+id/quran&quot;
        /&gt;
  </code></pre>
  <p>this is my java file</p>
  <pre><code>PDFView pdfView;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_whole_quran);
  
      pdfView=findViewById(R.id.quran);
      pdfView.fromAsset(&quot;complete_quran&quot;)
              .defaultPage(0)
  
              .enableAnnotationRendering(true)
              .scrollHandle(new DefaultScrollHandle(this))
              .spacing(2)
              .load();
  }
  </code></pre>
  <p>this is the logcat</p>
  <pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.quran, PID: 13976
    java.lang.RuntimeException: Unable to start activity 
    ComponentInfo{com.example.quran/com.example.quran.MainActivity}: java.lang.IllegalStateException: 
     You need to use a Theme.AppCompat theme (or descendant) with this activity.
         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2956)
         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3091)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
      at 
        
      android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1843)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6758)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912)
       Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or 
        descendant) with this activity.
        at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:843)
        at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:806)
        at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:693)
        at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:170)
        at com.example.quran.MainActivity.onCreate(MainActivity.java:20)
        at android.app.Activity.performCreate(Activity.java:7136)
        at android.app.Activity.performCreate(Activity.java:7127)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2933)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3091) 
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 
        at 
      android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 
         at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 
         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1843) 
         at android.os.Handler.dispatchMessage(Handler.java:106) 
         at android.os.Looper.loop(Looper.java:193) 
         at android.app.ActivityThread.main(ActivityThread.java:6758) 
         at java.lang.reflect.Method.invoke(Native Method) 
         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:497) 
               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:912) 
  </code></pre>
  <p>its manifest is given here.. kindly check if there needed any kind of permission...</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    package=&quot;com.example.quran&quot;&gt; 
  
     &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
  
    &lt;application
        android:allowBackup=&quot;true&quot;
        android:icon=&quot;@mipmap/ic_launcher&quot;
        android:label=&quot;@string/app_name&quot;
        android:roundIcon=&quot;@mipmap/ic_launcher_round&quot;
        android:supportsRtl=&quot;true&quot;
        android:theme=&quot;@style/AppTheme&quot;&gt;
        &lt;activity android:name=&quot;.wholeQuran&quot;&gt;&lt;/activity&gt;
        &lt;activity android:name=&quot;.surah_shown&quot; /&gt;
        &lt;activity android:name=&quot;.surahActivity&quot; /&gt;
        &lt;activity android:name=&quot;.MainActivity&quot;&gt;
            &lt;intent-filter&gt;
                &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
                &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
              &lt;/intent-filter&gt;
         &lt;/activity&gt;  
     &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>