-
Notifications
You must be signed in to change notification settings - Fork 818
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
#2342 : Multimeter incomplete problem resolve and removed Hardcoded value #2394
Conversation
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.
There are still hardcoded dimensions in many place. Please go through line by line and fix. I have only marked a few. Also use sensible variable names when naming those dimensions and avoid things like margin_1
etc.
android:layout_marginStart="5dp" | ||
android:layout_marginTop="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.
hardcoded
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:layout_marginTop="4dp" |
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.
hardcoded
Resolved by #2407 |
#2342 Multimeter screen layout incomplete
Changes
app/src/main/res/layout-hdpi/activity_multimeter.xml
app/src/main/res/layout-sw600dp/activity_multimeter.xml
app/src/main/res/layout-xhdpi/activity_multimeter.xml
app/src/main/res/layout/activity_multimeter.xml
app/src/main/res/values/dimens.xml
app/src/main/res/values/strings.xml
Screenshots / Recordings
https://github.com/fossasia/pslab-android/assets/111655141/83612119-a664-4c48-abe1-60124730ccdf

Checklist
strings.xml
,dimens.xml
andcolors.xml
without hard coding any value.