Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct the bug on Android before 4.2, when you turn the screen the t… #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maudem-m
Copy link

Corrected 2 UI bug :

  • when you rotate the screen the title and the drawer button was on the middle of the screen.

    New static method : rtlizeOnConfigurationChanged(ViewGroup actionBar)

    @Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if(mActionBarRTLified){ RtlizeEverything.rtlizeOnConfigurationChanged(mActionBarView); } }

    with mActionBarView = rtlizer.getActionBarView(); (created in the onCreateOptionsMenu())

  • the title was cut off sometime when fragment replace by a title that was longer than the initial one.

    Change in the Class RtlizeEverything

    Warning : No correction has been made for version < 11

…itle and the drawer button is on the middle of the screen
@semsamot
Copy link
Owner

semsamot commented Feb 1, 2016

Thank you for your great contribution.

I will review it and if there weren't any bug, then the merge will happen.

@semsamot semsamot self-assigned this Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants