-
Notifications
You must be signed in to change notification settings - Fork 814
continuous logging added to multimeter #1767
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
continuous logging added to multimeter #1767
Conversation
|
Could you please get rid of the "read" and "reset" button and implement it in a way that it always shows the data input, if any. In a multimeter device there is no such thing as a read or input button. As soon as the user connects the device to do measurements it shows the output. Same should happen here. Please implement it in the same way like an actual multimeter. |
|
@mariobehling on it. :) |
8eec288 to
da84fa6
Compare
|
@mariobehling i have made the changes you suggested. Please have a look |
ho-dor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue in multiple places , hard coded dimen values.
| android:layout_marginEnd="@dimen/multimeter_constraint_1" | ||
| android:layout_marginRight="@dimen/multimeter_constraint_1" | ||
| android:layout_marginStart="@dimen/multimeter_constraint_1" | ||
| android:layout_marginBottom="16dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard coded dimension
| android:layout_marginEnd="@dimen/multimeter_constraint_2" | ||
| android:layout_marginRight="@dimen/multimeter_constraint_2" | ||
| android:layout_marginStart="@dimen/multimeter_constraint_2" | ||
| android:layout_marginBottom="5dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here as well
| android:layout_marginEnd="@dimen/multimeter_constraint_1" | ||
| android:layout_marginRight="@dimen/multimeter_constraint_1" | ||
| android:layout_marginStart="@dimen/multimeter_constraint_1" | ||
| android:layout_marginBottom="8dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
| android:layout_marginBottom="8dp" | ||
| android:gravity="center" | ||
| android:text="@string/multimeter_measure" | ||
| android:textSize="14sp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to a dimen resource.
| android:layout_height="0dp" | ||
| android:layout_marginBottom="8dp" | ||
| android:layout_marginTop="8dp" | ||
| android:layout_marginBottom="8dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue
| android:layout_marginBottom="8dp" | ||
| android:layout_marginTop="5dp" | ||
| app:layout_constraintBottom_toTopOf="@+id/reset" | ||
| android:layout_marginBottom="8dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
| android:layout_marginEnd="@dimen/multimeter_constraint_1" | ||
| android:layout_marginRight="@dimen/multimeter_constraint_1" | ||
| android:layout_marginStart="@dimen/multimeter_constraint_1" | ||
| android:layout_marginBottom="24dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check please. Same issue
| android:layout_marginEnd="@dimen/multimeter_left_box_endmargin" | ||
| android:layout_marginRight="@dimen/multimeter_left_box_endmargin" | ||
| android:layout_marginStart="@dimen/multimeter_layout_margin_2" | ||
| android:layout_marginBottom="8dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
adityastic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make changes by ho-dor. Everything else seems fine
|
@ho-dor @CloudyPadmal I removed the hard coded dimensions. Please review |
* continuous logging added to multimeter * hardcoded dimensions removed
Fixes #1762 #1373
Changes: User can now continuously log data in multimeter and can set time interval in configuration settings. Reset / Read buttons removed
Screenshot/s for the changes:

Checklist: [Please tick following check boxes with
[x]if the respective task is completed]strings.xml,dimens.xmlandcolors.xmlwithout hard-coding themstrings.xml,dimens.xmlorcolors.xmlAPK for testing:
multimeter.zip
@CloudyPadmal @ho-dor please review