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

fix: Actionbar added to Oscilloscope and Robotic Arm #1940

Merged
merged 1 commit into from
Aug 18, 2019

Conversation

neel1998
Copy link
Member

@neel1998 neel1998 commented Aug 15, 2019

Fixes #1929 #1930

Changes: Actionbar added to Oscilloscope and Robotic Arm

Screenshot/s for the changes:

Oscilloscope main layout

Oscilloscope Playback

Robotic Arm

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
actionbar.zip

@CloudyPadmal @mariobehling I will add action bar to Logic Analyzer in separate PR... Since the implementation of LA is quite different (inflating a fragment in activity) i think I will have to come up with some hack or change the implementation. For now action bar works fine in oscilloscope and Robotic Arm. Thanks

Copy link
Collaborator

@CloudyPadmal CloudyPadmal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Place ? icon in a similar way. That is, next to burger icon as done in first and third screens. Also squash commits into one following best practices.

@CloudyPadmal CloudyPadmal added the Enhancement Improvement to an existing feature label Aug 15, 2019
@neel1998
Copy link
Member Author

@CloudyPadmal sure... Sorry I forgot to squash in hurry...

@neel1998 neel1998 force-pushed the actionbar_landscape branch 2 times, most recently from c742939 to 7333612 Compare August 15, 2019 19:05
@neel1998 neel1998 self-assigned this Aug 15, 2019
@neel1998
Copy link
Member Author

@CloudyPadmal i think this can be merged

Copy link
Collaborator

@CloudyPadmal CloudyPadmal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a white space to right side in oscilloscope playback screen
Screenshot_1565960253

When pressing the back arrow button from playback screen if we go to it from logged data, there's a loop (logged data -> playback -> logged data -> playback ...)

@CloudyPadmal
Copy link
Collaborator

Test all the features and make sure they're working as intended.

@neel1998
Copy link
Member Author

@CloudyPadmal sure I will test. That white space doesn't appear on my device. Maybe it's screen size issue... Will fix it. Thanks for the review

@neel1998 neel1998 force-pushed the actionbar_landscape branch from 7333612 to 756975a Compare August 16, 2019 18:33
@neel1998
Copy link
Member Author

@CloudyPadmal i have set playback layout width to match_parent... please check if that white space still there. Also I was not able to reproduce the infinite loop you mentioned for looged data.. Can you please give me exact steps or a GIF. Thanks

@neel1998
Copy link
Member Author

@CloudyPadmal please review

@CloudyPadmal CloudyPadmal merged commit d4c9b11 into fossasia:development Aug 18, 2019
@neel1998 neel1998 deleted the actionbar_landscape branch August 27, 2019 13:57
makoteq pushed a commit to makoteq/pslab-android that referenced this pull request Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Oscilloscope: UI issues and improvements
3 participants