Skip to content

Added OOS 5.1.0 (8.1.0) Dimens.xml file. - #1

Open
vasu97 wants to merge 1 commit into
masterfrom
New-Codes
Open

Added OOS 5.1.0 (8.1.0) Dimens.xml file.#1
vasu97 wants to merge 1 commit into
masterfrom
New-Codes

Conversation

@vasu97

@vasu97 vasu97 commented Apr 18, 2018

Copy link
Copy Markdown
Owner

Dimens.xml file for checking layout codes.

Dimens.xml file for checking layout codes.
Comment thread dimens.xml
<dimen name="status_bar_given_space">382.0px</dimen>
<dimen name="status_bar_header_height">195.0dip</dimen>
<dimen name="status_bar_header_height_custom">214.0dip</dimen>
<dimen name="status_bar_header_height_expanded">195.0dip</dimen>

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

line 1062 and 1064 is responsible for the size of the qs (padding in other words).

Comment thread dimens.xml
<dimen name="qs_header_margin_top">5.0dip</dimen>
<dimen name="qs_header_margin_top_custom">10.0dip</dimen>
<dimen name="qs_header_system_icons_area_height">40.0dip</dimen>
<dimen name="qs_header_upper_height">62.0dip</dimen>

@vasu97 vasu97 Apr 18, 2018

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

line 902 is responsible for the header height which is also responsible for replacing the qs tiles by changing the header value.

Comment thread dimens.xml
<dimen name="restricted_padlock_pading">4.0dip</dimen>
<dimen name="ripple_radius">22.599976dip</dimen>
<dimen name="rounded_corner_content_padding">0.0dip</dimen>
<dimen name="rounded_corner_radius">0.0dip</dimen>

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Line 993 and 994 is used to make rounded corners and it is only for android 8.1.0 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant