{"id":5648,"date":"2023-02-28T12:10:41","date_gmt":"2023-02-28T04:10:41","guid":{"rendered":"https:\/\/blog.qdac.cc\/?p=5648"},"modified":"2023-02-28T13:51:03","modified_gmt":"2023-02-28T05:51:03","slug":"%e6%95%99%e7%a8%8bdelphi-android%e5%ba%94%e7%94%a8%e5%90%af%e5%8a%a8%e7%94%bb%e9%9d%a2%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=5648","title":{"rendered":"[\u6559\u7a0b]Delphi Android\u5e94\u7528\u542f\u52a8\u753b\u9762\u8be6\u89e3"},"content":{"rendered":"\n<p>\u5f88\u591a\u4eba\u5728\u5410\u5608Delphi Android Splash \u7684\u8bbe\u5b9a\uff08\u5305\u62ec\u6211\u5728\u5185\uff09\uff0c\u786e\u5b9e\u8bbe\u8ba1\u7684\u5f88\u7cdf\u7cd5\u3002\u4e0d\u8fc7\u8bdd\u8bf4\u56de\u6765\u4e86\uff0c\u4e5f\u4e0d\u662f\u4e0d\u80fd\u7528\uff0c\u6240\u4ee5\u5927\u5bb6\u7814\u7a76\u4e4b\u540e\uff0c\u516b\u4ed9\u8fc7\u6d77\uff0c\u5404\u663e\u795e\u901a\u3002\u5bf9\u4e8e\u8fd9\u4e9b\u6559\u7a0b\uff0c\u5927\u5bb6\u53ef\u4ee5\u53c2\u8003\u3002<\/p>\n\n\n\n<p>\u9996\u5148\u8bf4\u4e00\u4e0b Delphi \u81ea\u5e26\u7684 Android Splash \u5b9e\u73b0\u7684\u9650\u5236\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u542f\u52a8\u753b\u9762\u8981\u6c42\u662f\u900f\u660e\u6216\u8005\u9ed1\u8272\u7684\uff0c\u8fd9\u662f\u7531\u4e8e\u9ed8\u8ba4\u751f\u6210\u7684 splash_image_def.xml \u4e2d\uff0c\u6307\u5b9a\u4e86\u80cc\u666f\u8272\u4e3a\u9ed1\u8272\uff0c\u5982\u679c\u4e0d\u662f\u900f\u660e\u6216\u8005\u9ed1\u8272\u7684\uff0c\u90a3\u4e48\u4f60\u9700\u8981\uff1a\n<ul class=\"wp-block-list\">\n<li>\u590d\u5236\u4e00\u4efd splash_image_def.xml \u5230\u81ea\u5df1\u7684\u76ee\u5f55<\/li>\n\n\n\n<li>\u5728\u53d1\u5e03\u9875\u9762\u4e2d\uff0c\u66ff\u6362\u539f\u59cb\u7684 splash_image_def.xml\uff08\u4e0d\u9009\u4e2d\u539f\u6765\u7684\u6587\u4ef6\uff0c\u7136\u540e\u589e\u52a0\u81ea\u5df1\u7684\u6587\u4ef6\uff0c\u76ee\u6807\u76ee\u5f55\u76f8\u540c\uff09<\/li>\n\n\n\n<li>\u4fee\u6539 splash_image_def.xml\uff0c\u66ff\u6362\u539f\u6765\u7684\u989c\u8272\u8bbe\u7f6e @android:color\/black \u4e3a\u81ea\u5df1 splash \u56fe\u7247\u8fb9\u7f18\u7684\u989c\u8272<\/li>\n\n\n\n<li>\u7531\u4e8e\u4fee\u6539\u540e\u7684splash_image_def.xml \u4e0d\u518d\u4e0e\u9009\u9879\u8bbe\u7f6e\u81ea\u52a8\u540c\u6b65\uff0c\u4f60\u9700\u8981\u81ea\u5df1\u4fee\u6539\u5bf9\u9f50\u548c\u7f29\u653e\u8bbe\u7f6e\uff08\u53ef\u4ee5\u53c2\u8003\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\u7684\u9ed8\u8ba4\u6587\u4ef6\u91cc\u7684\u503c\uff09<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u542f\u52a8\u753b\u9762\u7684\u5185\u5bb9\u5c3a\u5bf8\uff0c\u5e94\u5c3d\u91cf\u4fdd\u8bc1\u5185\u5bb9\u4e0d\u8d85\u8fc7\u5bbd\u5ea6\u548c\u8c03\u5ea6\u4e2d\u5c0f\u7684\u90a3\u4e2a\uff0c\u4e5f\u5c31\u662f\u8bf4\u4e0d\u8981\u8d85\u8fc7\u753b\u9762\u5185\u5bb9\u5bbd\u5ea6\u4e0d\u8d85\u8fc7\u9ad8\u5ea6\uff0c\u5269\u4e0b\u7684\u90e8\u5206\uff0c\u586b\u5145\u80cc\u666f\u8272\u6216\u6574\u4f53\u900f\u660e\u3002\u8fd9\u6837\u53ef\u4ee5\u4fdd\u8bc1\u542f\u52a8\u753b\u9762\u65e0\u8bba\u6a2a\u5c4f\u8fd8\u662f\u7ad6\u5c4f\u90fd\u8868\u73b0\u826f\u597d<\/li>\n\n\n\n<li>splash_image_def.xml \u548c styles.xml \u76f8\u4e92\u914d\u5408\u7528\uff0c\u6ce8\u610f\u4fdd\u6301\u4e8c\u8005\u7684\u4e00\u81f4\u6027<\/li>\n<\/ul>\n\n\n\n<p>\u5982\u679c\u4f60\u6ce8\u610f\u5230\u4e0a\u9762\u7684\u9650\u5236\uff0c\u90a3\u4e48\u5982\u679c\u4e0d\u4fee\u6539\u7cfb\u7edf\u7684 Splash \u76f8\u5173\u914d\u7f6e\u6587\u4ef6\uff0c\u5b9e\u9645\u4e0a\u63a8\u8350\u7684\u542f\u52a8\u753b\u9762\u8bbe\u8ba1\u7684\u57fa\u672c\u8bbe\u8ba1\u4e5f\u5c31\u6709\u6570\u4e86\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8bbe\u8ba1\u5e76\u751f\u6210\u7b26\u5408 Delphi \u81ea\u8eab\u8981\u6c42\u7684\u56fe\u7247\u5c3a\u5bf8\u7684\u542f\u52a8\u56fe\u7247\uff08\u4e0d\u9700\u8981 .9.png\uff09<\/li>\n\n\n\n<li>\u5728 Project &#8211; Options \u4e2d\uff0c\u5c06\u76f8\u5173\u7684\u56fe\u7247\u5173\u8054\u4e0a\u53bb<\/li>\n\n\n\n<li>\u590d\u5236\u5e76\u4fee\u6539\u66ff\u6362\u9ed8\u8ba4\u7684 splash_image_def.xml\uff08\u6ce8\u610f\u6587\u4ef6\u540d\u4e0d\u80fd\u52a8\uff0cstyles.xml \u5f15\u7528\u4e86\u8fd9\u4e2a\u540d\u5b57\uff0c\u5f53\u7136\u4f60\u8981\u8fde styles.xml \u4e00\u8d77\u6539\uff0c\u90a3\u4e48\u65e0\u6240\u8c13\uff0c\u540c\u6b65\u5c31\u884c\u4e86\uff09<\/li>\n\n\n\n<li>\u91cd\u65b0\u7f16\u8bd1\u6253\u5305\u5e76\u8fd0\u884c\u4f60\u7684 Android \u7a0b\u5e8f<\/li>\n\n\n\n<li>\u4e00\u822c\u8bbe\u7f6e\u56fe\u7247\u91cd\u590d\u6a21\u5f0f\u4e3a disabled\uff0c\u8bbe\u7f6e\u91cd\u5fc3\u4e3a bottom<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u989d\u5916\u8bf4\u660e\u51e0\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Android \u7cfb\u7edf\u91cc\uff0c\u597d\u591a\u7cfb\u7edf\u7684\u52a8\u753b\u90fd\u662f\u5148\u653e\u5927\u5e94\u7528\u7684\u56fe\u6807\uff0c\u7136\u540e\u624d\u76f4\u63a5\u5207\u5230\u5e94\u7528\u81ea\u5df1\u7684\u542f\u52a8\u753b\u9762\u7684\uff0c\u8fd9\u4e5f\u5c31\u610f\u5473\u7740\uff0c\u542f\u52a8\u753b\u9762\u8fb9\u7f18\u7684\u989c\u8272\u548c\u56fe\u6807\u7684\u989c\u8272\u8bbe\u8ba1\u6210\u4e00\u81f4\u7684\uff0c\u66f4\u6709\u5229\u4e8e\u89c6\u89c9\u6548\u679c\u7684\u4e00\u81f4\u6027<\/li>\n\n\n\n<li>\u5982\u679c\u8981\u5728\u542f\u52a8\u753b\u9762\u4e2d\uff0c\u663e\u793a\u5e7f\u544a\u90a3\u5b9e\u9645\u4e0a\u662f\u505a\u4e0d\u5230\u7684\uff0c\u4e00\u822c\u7684\u5e7f\u544a\u663e\u793a\u5b9e\u9645\u4e0a\u662f\u7b2c\u4e8c\u542f\u52a8\u753b\u9762\u3002\u5982\u679c\u60f3\u505a\uff0c\u5b9e\u9645\u4e0a\u5c31\u662f\u62ff FMX \u505a\u4e00\u4e2a\u5e7f\u544a\u7a97\u53e3\uff0c\u7136\u540e\u8fd9\u65b9\u9762\u5c31\u5b8c\u5168\u81ea\u7531\u4e86\u3002\u7b2c\u4e00\u542f\u52a8\u753b\u9762\u5b9e\u9645\u5b58\u7eed\u65f6\u95f4\u5f88\u77ed\uff0c\u6ca1\u5fc5\u8981\u5728\u5176\u4e0a\u505a\u66f4\u591a\u5de5\u4f5c\uff0c\u7b2c\u4e8c\u542f\u52a8\u753b\u9762\u624d\u662f\u80fd\u81ea\u7531\u53d1\u6325\u7684\u5730\u65b9\uff0c\u4f46\u8003\u8651\u5230\u89c6\u89c9\u6548\u679c\u7684\u4e00\u81f4\u6027\uff0c\u80cc\u666f\u8272\u4ecd\u63a8\u8350\u4fdd\u6301\u4e00\u81f4\u3002<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u591a\u4eba\u5728\u5410\u5608Delphi Android [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[450,149,276,57],"class_list":["post-5648","post","type-post","status-publish","format-standard","hentry","category-delphi","tag-delphi","tag-fmx","tag-splash","tag-57"],"views":3276,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5648"}],"version-history":[{"count":6,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5648\/revisions"}],"predecessor-version":[{"id":5655,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/5648\/revisions\/5655"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}