René's URL Explorer Experiment


Title: 使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变 · Issue #447 · JessYanCoding/AndroidAutoSize · GitHub

Open Graph Title: 使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变 · Issue #447 · JessYanCoding/AndroidAutoSize

X Title: 使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变 · Issue #447 · JessYanCoding/AndroidAutoSize

Description: Environment Autosize Version: 最新源码引入 Target Android Version: Android 12 Device Model: 三星 SM-N9860 Device Resolution: 1080px * 1920px Design Size On AndroidManifest: 375dp * 812dp Bug Description: 要求App内字体跟随系统设置字体大小改变,使用了AndroidAutoSize后,...

Open Graph Description: Environment Autosize Version: 最新源码引入 Target Android Version: Android 12 Device Model: 三星 SM-N9860 Device Resolution: 1080px * 1920px Design Size On AndroidManifest: 375dp * 812dp Bug Description: 要...

X Description: Environment Autosize Version: 最新源码引入 Target Android Version: Android 12 Device Model: 三星 SM-N9860 Device Resolution: 1080px * 1920px Design Size On AndroidManifest: 375dp * 812dp Bug Description: 要...

Opengraph URL: https://github.com/JessYanCoding/AndroidAutoSize/issues/447

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变","articleBody":"### Environment\r\n- [x] Autosize Version:  最新源码引入\r\n- [x] Target Android Version: Android 12\r\n- [x] Device Model: 三星 SM-N9860\r\n- [x] Device Resolution: 1080px * 1920px \r\n- [x] Design Size On AndroidManifest: 375dp * 812dp\r\n\r\n\r\n### Bug Description:\r\n要求App内字体跟随系统设置字体大小改变,使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变。\r\n\r\n手动杀死进程重启后字体就会改变了。查看了当前issues列表,没找到对应解决方案,请大神帮忙解惑\r\n\r\n### Log:\r\n\u003c!-- 在日志中搜索 AndroidAutoSize 找到框架日志复制或截图 -->\r\n```log\r\n// 改变字体前日志:\r\nThe com.xxx.activity.MainActivity has been adapted!\r\nMainActivity Info: isBaseOnWidth = true, designWidthInDp = 375.000000, designWidthInSubunits = 375.000000, targetDensity = 2.880000, targetScaledDensity = 5.760000, targetDensityDpi = 460, targetXdpi = 2.880000, targetScreenWidthDp = 375, targetScreenHeightDp = 713\r\n\r\n // 改变字体后日志:\r\nMainActivity Info: isBaseOnWidth = true, designWidthInDp = 375.000000, designWidthInSubunits = 375.000000, targetDensity = 2.880000, targetScaledDensity = 5.760000, targetDensityDpi = 460, targetXdpi = 2.880000, targetScreenWidthDp = 375, targetScreenHeightDp = 713\r\n```\r\n\r\n### Related Code:\r\n```java\r\n  @Override\r\n    public void onConfigurationChanged(@NonNull Configuration newConfig) {\r\n        super.onConfigurationChanged(newConfig);\r\n        AutoSize.clearCache();\r\n        Activity activity = getTopActivity();\r\n        if (activity != null && !activity.isFinishing() && !activity.isDestroyed()) {\r\n            AutoSize.autoConvertDensityOfGlobal(activity);\r\n        }\r\n    }\r\n\r\n```\r\n\r\n\r\n### Others:\r\n\r\n","author":{"url":"https://github.com/moxin73","@type":"Person","name":"moxin73"},"datePublished":"2023-08-02T07:20:25Z","url":"https://github.com/JessYanCoding/AndroidAutoSize/issues/447"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:740f06c5-9040-59ff-d717-71376fde6f36
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC060:F12C7:314FD8:45CAE1:6AFE05CE
html-safe-noncee36d83cecfa75332cfad7473baa009c03e4227ab393da71d18b607d3e41fc14b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDYwOkYxMkM3OjMxNEZEODo0NUNBRTE6NkFGRTA1Q0UiLCJ2aXNpdG9yX2lkIjoiNDE4NTgwMTcwMTcxNTc0MDExMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac211525cb0eae1ee968b781f437fd1c056a4f4c05f91e3439e08ecb09c6786641
hovercard-subject-tagissue:1832592293
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JessYanCoding/AndroidAutoSize/447/issue_layout
twitter:imagehttps://opengraph.githubassets.com/27977cdff9b061503b7528437a5272b382c4137506f368210bf8fada6a42ce26/JessYanCoding/AndroidAutoSize/issues/447
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/27977cdff9b061503b7528437a5272b382c4137506f368210bf8fada6a42ce26/JessYanCoding/AndroidAutoSize/issues/447
og:image:altEnvironment Autosize Version: 最新源码引入 Target Android Version: Android 12 Device Model: 三星 SM-N9860 Device Resolution: 1080px * 1920px Design Size On AndroidManifest: 375dp * 812dp Bug Description: 要...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemoxin73
hostnamegithub.com
expected-hostnamegithub.com
None86d46ece7c3d9b0562692f81a135cb55ad6a1c82c93ab1ac874d2f1b46b28958
turbo-cache-controlno-preview
go-importgithub.com/JessYanCoding/AndroidAutoSize git https://github.com/JessYanCoding/AndroidAutoSize.git
octolytics-dimension-user_id15711968
octolytics-dimension-user_loginJessYanCoding
octolytics-dimension-repository_id145098146
octolytics-dimension-repository_nwoJessYanCoding/AndroidAutoSize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145098146
octolytics-dimension-repository_network_root_nwoJessYanCoding/AndroidAutoSize
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5c18e6799976b7bc2f21178024289bb98edbcc85
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JessYanCoding/AndroidAutoSize/issues/447#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJessYanCoding%2FAndroidAutoSize%2Fissues%2F447
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJessYanCoding%2FAndroidAutoSize%2Fissues%2F447
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JessYanCoding%2FAndroidAutoSize
Reloadhttps://github.com/JessYanCoding/AndroidAutoSize/issues/447
Reloadhttps://github.com/JessYanCoding/AndroidAutoSize/issues/447
Reloadhttps://github.com/JessYanCoding/AndroidAutoSize/issues/447
JessYanCodinghttps://github.com/JessYanCoding
AndroidAutoSizehttps://github.com/JessYanCoding/AndroidAutoSize
Codehttps://github.com/JessYanCoding/AndroidAutoSize
Issues126 (126)https://github.com/JessYanCoding/AndroidAutoSize/issues
Pull requestshttps://github.com/JessYanCoding/AndroidAutoSize/pulls
Actionshttps://github.com/JessYanCoding/AndroidAutoSize/actions
Projectshttps://github.com/JessYanCoding/AndroidAutoSize/projects
Security and qualityhttps://github.com/JessYanCoding/AndroidAutoSize/security
Insightshttps://github.com/JessYanCoding/AndroidAutoSize/pulse
https://github.com/JessYanCoding/AndroidAutoSize
New issuehttps://github.com/login?return_to=https://github.com/JessYanCoding/AndroidAutoSize/issues/447
New issuehttps://github.com/login?return_to=https://github.com/JessYanCoding/AndroidAutoSize/issues/447
使用了AndroidAutoSize后,系统设置改变字体,切回App, Activity重建,但是布局文件内的字体不会自动适配改变https://github.com/JessYanCoding/AndroidAutoSize/issues/447#top
https://github.com/moxin73
moxin73https://github.com/moxin73
on Aug 2, 2023https://github.com/JessYanCoding/AndroidAutoSize/issues/447#issue-1832592293
https://github.com/JessYanCoding
JessYanCodinghttps://github.com/JessYanCoding
on Aug 2, 2023https://github.com/JessYanCoding/AndroidAutoSize/issues/447#issuecomment-1661984695
setPrivateFontScalehttps://github.com/JessYanCoding/AndroidAutoSize/blob/master/demo/src/main/java/me/jessyan/autosize/demo/BaseApplication.java#L79
https://github.com/moxin73
moxin73https://github.com/moxin73
on Aug 2, 2023https://github.com/JessYanCoding/AndroidAutoSize/issues/447#issuecomment-1662102293
setPrivateFontScalehttps://github.com/JessYanCoding/AndroidAutoSize/blob/master/demo/src/main/java/me/jessyan/autosize/demo/BaseApplication.java#L79
https://github.com/JessYanCoding
JessYanCodinghttps://github.com/JessYanCoding
on Aug 3, 2023https://github.com/JessYanCoding/AndroidAutoSize/issues/447#issuecomment-1663186178
https://github.com/moxin73
moxin73https://github.com/moxin73
on Aug 3, 2023https://github.com/JessYanCoding/AndroidAutoSize/issues/447#issuecomment-1663480085
Sign up for freehttps://github.com/signup?return_to=https://github.com/JessYanCoding/AndroidAutoSize/issues/447
Sign in to commenthttps://github.com/login?return_to=https://github.com/JessYanCoding/AndroidAutoSize/issues/447
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.