FolioReader / FolioReader-Android

A Java ePub reader and parser framework for Android.
BSD 3-Clause "New" or "Revised" License
2.25k stars 718 forks source link

appbar allignment issue #286

Closed lekhrajtiwari closed 6 years ago

lekhrajtiwari commented 6 years ago

Issue / Feature - FolioReader version -
FolioReader Stock / Modified -
Android SDK - Mobile / Tablet / Emulator Info -
Crash / Error -

Steps to reproduce / Describe in detail -

screenshot_2018-09-23-14-23-52 screenshot_2018-09-23-14-49-57

can you please help with the alignment issue. am only able to achieve a perfect view when I add this

<activity android:name="com.folioreader.ui.folio.activity.FolioActivity" android:configChanges="orientation|screenSize" android:label="@string/app_name" android:theme="@style/AppThem" tools:replace="android:theme"/> in my manifest file!

also am my compile SDK version 28 can you suggest support library versions

implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:28.0.0-rc01' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' implementation 'com.android.support:design:28.0.0-rc01' implementation 'com.android.support:cardview-v7:28.0.0-rc01' implementation 'com.android.support:multidex:1.0.3' implementation 'com.folioreader:folioreader:0.4.3'

thank you.

mahavir155 commented 6 years ago

@lekhrajtiwari This is still the issue with you?

lekhrajtiwari commented 6 years ago

@mahavir155 no I found the solution for this too! I just had to add

activity android:name="com.folioreader.ui.folio.activity.FolioActivity" android:configChanges="orientation|screenSize" android:label="@string/app_name" android:theme="@style/AppTheme" tools:replace="android:theme"

in my manifest file, and it just did the work!

thanks:)

mahavir155 commented 6 years ago

Cool, thanks :). I will close this issue.