-
Notifications
You must be signed in to change notification settings - Fork 817
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
Fixes #2119 #2118 #2134
Fixes #2119 #2118 #2134
Conversation
Added Tablet layput for multimeter , unlocked landscape mode for some activities and fixed landscape mode of Splash Screen
Added Tablet layput for multimeter , unlocked landscape mode for some activities and fixed landscape mode of Splash Screen
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.
The AndroidManifest changes would affect the phone layout. Don't change the orientation there.
app/src/main/AndroidManifest.xml
Outdated
android:windowSoftInputMode="stateHidden|adjustResize" /> | ||
<activity | ||
android:name=".activity.LuxMeterActivity" | ||
android:screenOrientation="portrait" /> | ||
<activity | ||
android:name=".activity.WaveGeneratorActivity" | ||
android:screenOrientation="portrait" /> | ||
android:screenOrientation="user" /> |
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.
Revert back and use a layout file for tabs. Refer to comments for a screenshot.
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.
Ok sir , will do that
app/src/main/AndroidManifest.xml
Outdated
<activity | ||
android:name=".activity.PowerSourceActivity" | ||
android:screenOrientation="portrait" | ||
android:screenOrientation="user" |
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.
Revert back and use a layout file for tabs. Refer to comments for a screenshot.
Now the Multimeter , Wavegenerator and Powersource Activities will remain only in portrait mode in normal sized phones and will have both portrait and landscape modes in Tablets
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.
Thank you for the PR! 👍
Happy to help sir :) |
Fixes #2119 #2118
Changes: Added Tablet layout for multimeter , unlocked landscape mode for some activities and fixed landscape mode of Splash Screen
Had to add some values in
dimens.xml
as Tablet layout need more space than normal one.Screenshot/s for the changes:




Checklist:
strings.xml
,dimens.xml
andcolors.xml
without hard-coding themstrings.xml
,dimens.xml
orcolors.xml
APK for Testing:
tablet_layout-and-landscape_splash_screen.zip
Made_changes asked.zip