{"id":1060,"date":"2011-10-13T11:54:22","date_gmt":"2011-10-13T03:54:22","guid":{"rendered":"http:\/\/www.strongd.net\/?p=1060"},"modified":"2011-10-13T11:57:26","modified_gmt":"2011-10-13T03:57:26","slug":"%e5%85%8d%e8%b4%b9%e7%9a%84android-ui%e5%ba%93%e5%8f%8a%e7%bb%84%e4%bb%b6%e6%8e%a8%e8%8d%90","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=1060","title":{"rendered":"\u514d\u8d39\u7684Android UI\u5e93\u53ca\u7ec4\u4ef6\u63a8\u8350"},"content":{"rendered":"<p>\u77ed\u77ed\u6570\u5e74\u65f6\u95f4Android\u5e73\u53f0\u5c31\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u4e2a\u5e9e\u5927\u800c\u6d3b\u8dc3\u7684\u5f00\u53d1\u8005\u793e\u533a\u3002\u8bb8\u591a\u793e\u533a\u5f00\u53d1\u7684\u9879\u76ee\u4e1a\u5df2\u8fdb\u5165\u6210\u719f\u9636\u6bb5\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u4e8e\u5546\u4e1a\u7684\u8f6f\u4ef6\u751f\u4ea7\u4e2d\uff0c\u4e14\u4e0d\u7528\u62c5\u5fc3\u8d28\u91cf\u95ee\u9898\u3002<\/p>\n<p>\u672c\u6587\u7f16\u8bd1\u81ea<a href=\"http:\/\/www.androiduipatterns.com\/2011\/10\/free-android-ui-library-component.html\" target=\"_blank\">androiduipatterns<\/a>\uff0c\u610f\u5728\u5206\u4eab\u4e00\u4e9b\u514d\u8d39\u3001\u5f00\u6e90\u7684Android UI\u5e93\u53ca\u7ec4\u4ef6\u8d44\u6e90\u3002<\/p>\n<p><strong>\u4e00\u3001UI\u7ec4\u4ef6\u5e93<\/strong><\/p>\n<p><strong>1. GreenDroid\u00a0<\/strong><\/p>\n<div><a href=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1064\" title=\"04e6a393-c05d-3c6a-afce-db192bb3f30e\" src=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e.png\" alt=\"\" width=\"200\" height=\"46\" \/><\/a><\/div>\n<p>\u8be5\u9879\u76ee\u53ef\u4ee5\u5b9e\u73b0\u4e0b\u5217\u7684UI\u8bbe\u8ba1\uff1a<\/p>\n<ul>\n<li>\u52a8\u4f5c\u680f\uff08Action Bar\uff09<\/li>\n<li>\u5feb\u6377\u52a8\u4f5c\uff08Quick Action\uff09<\/li>\n<li>\u5de5\u4f5c\u533a\uff08Workspace\uff09<\/li>\n<li>\u52a8\u6001\u5217\u8868\uff08Dynamic List\uff09<\/li>\n<\/ul>\n<p>\u4ee5\u53ca\u8bb8\u591a\u66f4\u6709\u7528\u7684\u7ec4\u4ef6\u3002<\/p>\n<p><a href=\"http:\/\/greendroid.cyrilmottier.com\/\" target=\"_blank\">\u9879\u76ee\u7f51\u7ad9<\/a>\u00a0\/\u00a0<a href=\"https:\/\/market.android.com\/details?id=com.cyrilmottier.android.gdcatalog\" target=\"_blank\">\u793a\u4f8b<\/a><\/p>\n<p><strong>2. ActionBarSherlock\u00a0<\/strong><\/p>\n<div><a href=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1065\" title=\"04e6a393-c05d-3c6a-afce-db192bb3f30e\" src=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e1.png\" alt=\"\" width=\"132\" height=\"150\" \/><\/a><\/div>\n<p>\u5728Google\u9488\u5bf9\u624b\u673a\u7684\u52a8\u4f5c\u6761API\u63a8\u51fa\u524d\uff0c\u8be5\u9879\u76ee\u4e00\u76f4\u4e0eICS\u4e00\u8d77\u4f7f\u7528\u3002Jake\u6700\u8fd1\u5c06\u9879\u76ee\u62d3\u5c55\u5230\u4e86\u52a8\u4f5c\u6761\u4e4b\u5916\u3002\u8fd9\u91cc\u4e5f\u6709\u9488\u5bf9\u5de5\u4f5c\u533a\u7b49\u7684\u7ec4\u4ef6\u3002<\/p>\n<p><a href=\"http:\/\/actionbarsherlock.com\/\" target=\"_blank\">\u9879\u76ee\u7f51\u7ad9<\/a>\u00a0\/\u00a0<a href=\"https:\/\/market.android.com\/details?id=com.battlelancer.seriesguide\" target=\"_blank\">\u793a\u4f8b<\/a><\/p>\n<p><strong>3. Android Compatibility Package<\/strong><\/p>\n<div><a href=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1066\" title=\"04e6a393-c05d-3c6a-afce-db192bb3f30e\" src=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e2.png\" alt=\"\" width=\"200\" height=\"54\" \/><\/a><\/div>\n<p>\u8fd9\u662f\u4e00\u4e2a\u6765\u81eaGoogle Android\u5e93\u7684\u5b98\u65b9\u6269\u5c55\u3002Compatibility Package\u987e\u540d\u601d\u4e49\u5c31\u662fAndroid\u5b98\u65b9\u9488\u5bf9\u65e7\u5e73\u53f0\u7248\u672c\u6240\u4e0d\u652f\u6301\u7684API\u6216\u662fAndroid Framework\u6ca1\u6709\u63d0\u4f9b\u7684\u51fd\u6570\u5e93\uff0c\u5c06\u5176\u6253\u5305\u53d1\u5e03\u3002\u5b83\u5305\u542b\u4e86\u8bb8\u591a\u975e\u5e38\u6709\u7528\u7684API\u3002\u8be5\u5305\u540c\u6837\u5305\u542b\u5de5\u4f5c\u533aUI\u8bbe\u8ba1\u7684\u5b9e\u73b0\u3002<\/p>\n<p><a href=\"http:\/\/developer.android.com\/sdk\/compatibility-library.html\" target=\"_blank\">\u9879\u76ee\u7f51\u7ad9<\/a><\/p>\n<p><strong>\u4e8c\u3001UI\u7ec4\u4ef6<\/strong><\/p>\n<p><strong>1. iosched\u00a0<\/strong><\/p>\n<div><a href=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1067\" title=\"04e6a393-c05d-3c6a-afce-db192bb3f30e\" src=\"http:\/\/www.strongd.net\/wp-content\/uploads\/2011\/10\/04e6a393-c05d-3c6a-afce-db192bb3f30e3.png\" alt=\"\" width=\"200\" height=\"59\" \/><\/a><\/div>\n<p>\u8fd9\u662f\u4e00\u4e2a\u5b98\u65b9\u7684Google I\/O\u7684\u5e94\u7528\uff08\u540c\u6837\u53ef\u7528\u5728GDD\uff0cGoogle Developer Day\uff09\uff08\u6ce8\uff1aGoogle I\/O\u662fGoogle\u6bcf\u5e74\u90fd\u4f1a\u4e3e\u529e\u7684\u5386\u65f6\u4e24\u5929\u7684\u5f00\u53d1\u8005\u5927\u4f1a\uff0c\u8be5\u5927\u4f1a\u8c08\u53ca\u5404\u79cd\u6280\u672f\u95ee\u9898\u3002\u5f00\u53d1\u4eba\u5458\u4f1a\u63d0\u4f9b\u975e\u5e38\u591a\u7684\u793a\u4f8b\u6765\u5c55\u793a\u4ed6\u4eec\u7684\u6280\u672f\u3002\u8fd9\u4e2a\u9879\u76ee\u4e13\u95e8\u4e3a\u4e86\u8fd9\u4e2a\u4f1a\u8bae\u63d0\u4f9b\u4e86\u4e00\u4e2aAndroid\u5e94\u7528\u7a0b\u5e8f\u3002\uff09\u3002\u8be5\u5e94\u7528\u7a0b\u5e8f\u5b9e\u73b0\u4e86\u5927\u91cf\u7684UI\u8bbe\u8ba1\uff0c\u6210\u4e3aGoogle Android\u8bbe\u5907\u62e5\u62a4\u8005\u7684\u53c2\u8003\u6807\u51c6\u3002\u5f3a\u70c8\u63a8\u8350\u4f7f\u7528\u8be5\u5e94\u7528\u7a0b\u5e8f\u7684\u4eea\u8868\u76d8UI\u8bbe\u8ba1\u6a21\u5f0f\u3002\uff08<a href=\"http:\/\/code.google.com\/p\/iosched\/source\/browse\/android\/src\/com\/google\/android\/apps\/iosched\/ui\/widget\/DashboardLayout.java\" target=\"_blank\">Google\u4ee3\u7801\u94fe\u63a5\uff1aDashboard.java<\/a>\uff09<\/p>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"http:\/\/code.google.com\/p\/iosched\/\" target=\"_blank\">http:\/\/code.google.com\/p\/iosched\/<\/a><\/p>\n<p><strong>2. Android-Viewflow\u00a0<\/strong><\/p>\n<p>\u8be5\u9879\u76ee\u7684\u5de5\u4f5c\u533aUI\u8bbe\u8ba1\u6a21\u5f0f\u4e0eGoogle Docs\u6240\u4f7f\u7528\u975e\u5e38\u76f8\u4f3c\u3002<\/p>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"https:\/\/github.com\/pakerfeldt\/android-viewflow\" target=\"_blank\">https:\/\/github.com\/pakerfeldt\/android-viewflow<\/a><\/p>\n<p><strong>3. android-coverflow\u00a0<\/strong><\/p>\n<p>\u8be5\u9879\u76ee\u53ef\u4ee5\u7528\u4e8e\u5b8c\u6210\u4e00\u4e2acover flow\u3002\u5728\u8fd9\u4e2a\u9879\u76ee\u7f51\u7ad9\u7684\u89c6\u9891\u4e2d\u53ef\u4ee5\u5f97\u5230\u66f4\u591a\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"http:\/\/code.google.com\/p\/android-coverflow\/\" target=\"_blank\">http:\/\/code.google.com\/p\/android-coverflow\/<\/a><\/p>\n<p><strong>4. android-viewbadger\u00a0<\/strong><\/p>\n<p>\u8be5\u9879\u76ee\u8ba9devs\u65e0\u9700\u4fee\u6539\u5e03\u5c40\u6587\u4ef6\uff08layout file\uff09\u5373\u53ef\u663e\u793abadges\u3002<\/p>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"https:\/\/github.com\/jgilfelt\/android-viewbadger\" target=\"_blank\">https:\/\/github.com\/jgilfelt\/android-viewbadger<\/a><\/p>\n<p><strong>5. android-pulltorefresh\u00a0<\/strong><\/p>\n<p>\u8be5\u9879\u76ee\u5b9e\u73b0\u52a8\u6001\u5217\u8868\/\u4e0b\u62c9\u5237\u65b0\uff08pull to refresh\uff09\u7684UI\u8bbe\u8ba1\u3002<\/p>\n<p>\u9879\u76ee\u7f51\u7ad9\uff1a<a href=\"https:\/\/github.com\/johannilsson\/android-pulltorefresh\" target=\"_blank\">https:\/\/github.com\/johannilsson\/android-pulltorefresh<\/a><\/p>\n<p><strong>6. Android-ViewPagerIndicator\u00a0<\/strong><\/p>\n<p>\u8be5\u9879\u76ee\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u5de5\u4f5c\u533a\u7684UI\u8bbe\u8ba1\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/JakeWharton\/Android-ViewPagerIndicator\" target=\"_blank\">\u9879\u76ee\u7f51\u7ad9<\/a>\/<a href=\"https:\/\/market.android.com\/details?id=com.viewpagerindicator.sample\" target=\"_blank\">\u793a\u4f8b<\/a><\/p>\n<p>VIA\u00a0<a href=\"http:\/\/www.androiduipatterns.com\/2011\/10\/free-android-ui-library-component.html\" target=\"_blank\">http:\/\/www.androiduipatterns.com\/2011\/10\/free-android-ui-library-component.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u77ed\u77ed\u6570\u5e74\u65f6\u95f4Android\u5e73\u53f0\u5c31\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u4e2a\u5e9e\u5927\u800c\u6d3b\u8dc3\u7684\u5f00\u53d1\u8005\u793e\u533a\u3002\u8bb8\u591a\u793e\u533a\u5f00\u53d1\u7684\u9879\u76ee\u4e1a\u5df2\u8fdb\u5165\u6210\u719f\u9636\u6bb5\uff0c\u751a\u81f3\u53ef\u4ee5\u7528\u4e8e\u5546\u4e1a\u7684\u8f6f\u4ef6\u751f\u4ea7\u4e2d\uff0c\u4e14\u4e0d\u7528\u62c5\u5fc3\u8d28\u91cf\u95ee\u9898\u3002 \u672c\u6587\u7f16\u8bd1\u81eaandroiduipatterns\uff0c\u610f\u5728\u5206\u4eab\u4e00\u4e9b\u514d\u8d39\u3001\u5f00\u6e90\u7684Android UI\u5e93\u53ca\u7ec4\u4ef6\u8d44\u6e90\u3002 \u4e00\u3001UI\u7ec4\u4ef6\u5e93 1. GreenDroid\u00a0 \u8be5\u9879\u76ee\u53ef\u4ee5\u5b9e\u73b0\u4e0b\u5217\u7684UI\u8bbe\u8ba1\uff1a \u52a8\u4f5c\u680f\uff08Action Bar\uff09 \u5feb\u6377\u52a8\u4f5c\uff08Quick Action\uff09 \u5de5\u4f5c\u533a\uff08Workspace\uff09 \u52a8\u6001\u5217\u8868\uff08Dynamic List\uff09 \u4ee5\u53ca\u8bb8\u591a\u66f4\u6709\u7528\u7684\u7ec4\u4ef6\u3002 \u9879\u76ee\u7f51\u7ad9\u00a0\/\u00a0\u793a\u4f8b 2. ActionBarSherlock\u00a0 \u5728Google\u9488\u5bf9\u624b\u673a\u7684\u52a8\u4f5c\u6761API\u63a8\u51fa\u524d\uff0c\u8be5\u9879\u76ee\u4e00\u76f4\u4e0eICS\u4e00\u8d77\u4f7f\u7528\u3002Jake\u6700\u8fd1\u5c06\u9879\u76ee\u62d3\u5c55\u5230\u4e86\u52a8\u4f5c\u6761\u4e4b\u5916\u3002\u8fd9\u91cc\u4e5f\u6709\u9488\u5bf9\u5de5\u4f5c\u533a\u7b49\u7684\u7ec4\u4ef6\u3002 \u9879\u76ee\u7f51\u7ad9\u00a0\/\u00a0\u793a\u4f8b 3. Android Compatibility Package \u8fd9\u662f\u4e00\u4e2a\u6765\u81eaGoogle Android\u5e93\u7684\u5b98\u65b9\u6269\u5c55\u3002Compatibility Package\u987e\u540d\u601d\u4e49\u5c31\u662fAndroid\u5b98\u65b9\u9488\u5bf9\u65e7\u5e73\u53f0\u7248\u672c\u6240\u4e0d\u652f\u6301\u7684API\u6216\u662fAndroid Framework\u6ca1\u6709\u63d0\u4f9b\u7684\u51fd\u6570\u5e93\uff0c\u5c06\u5176\u6253\u5305\u53d1\u5e03\u3002\u5b83\u5305\u542b\u4e86\u8bb8\u591a\u975e\u5e38\u6709\u7528\u7684API\u3002\u8be5\u5305\u540c\u6837\u5305\u542b\u5de5\u4f5c\u533aUI\u8bbe\u8ba1\u7684\u5b9e\u73b0\u3002 \u9879\u76ee\u7f51\u7ad9 \u4e8c\u3001UI\u7ec4\u4ef6 1. iosched\u00a0 \u8fd9\u662f\u4e00\u4e2a\u5b98\u65b9\u7684Google I\/O\u7684\u5e94\u7528\uff08\u540c\u6837\u53ef\u7528\u5728GDD\uff0cGoogle Developer Day\uff09\uff08\u6ce8\uff1aGoogle I\/O\u662fGoogle\u6bcf\u5e74\u90fd\u4f1a\u4e3e\u529e\u7684\u5386\u65f6\u4e24\u5929\u7684\u5f00\u53d1\u8005\u5927\u4f1a\uff0c\u8be5\u5927\u4f1a\u8c08\u53ca\u5404\u79cd\u6280\u672f\u95ee\u9898\u3002\u5f00\u53d1\u4eba\u5458\u4f1a\u63d0\u4f9b\u975e\u5e38\u591a\u7684\u793a\u4f8b\u6765\u5c55\u793a\u4ed6\u4eec\u7684\u6280\u672f\u3002\u8fd9\u4e2a\u9879\u76ee\u4e13\u95e8\u4e3a\u4e86\u8fd9\u4e2a\u4f1a\u8bae\u63d0\u4f9b\u4e86\u4e00\u4e2aAndroid\u5e94\u7528\u7a0b\u5e8f\u3002\uff09\u3002\u8be5\u5e94\u7528\u7a0b\u5e8f\u5b9e\u73b0\u4e86\u5927\u91cf\u7684UI\u8bbe\u8ba1\uff0c\u6210\u4e3aGoogle Android\u8bbe\u5907\u62e5\u62a4\u8005\u7684\u53c2\u8003\u6807\u51c6\u3002\u5f3a\u70c8\u63a8\u8350\u4f7f\u7528\u8be5\u5e94\u7528\u7a0b\u5e8f\u7684\u4eea\u8868\u76d8UI\u8bbe\u8ba1\u6a21\u5f0f\u3002\uff08Google\u4ee3\u7801\u94fe\u63a5\uff1aDashboard.java\uff09 \u9879\u76ee\u7f51\u7ad9\uff1ahttp:\/\/code.google.com\/p\/iosched\/ 2. Android-Viewflow\u00a0 \u8be5\u9879\u76ee\u7684\u5de5\u4f5c\u533aUI\u8bbe\u8ba1\u6a21\u5f0f\u4e0eGoogle Docs\u6240\u4f7f\u7528\u975e\u5e38\u76f8\u4f3c\u3002 \u9879\u76ee\u7f51\u7ad9\uff1ahttps:\/\/github.com\/pakerfeldt\/android-viewflow 3. android-coverflow\u00a0 \u8be5\u9879\u76ee\u53ef\u4ee5\u7528\u4e8e\u5b8c\u6210\u4e00\u4e2acover flow\u3002\u5728\u8fd9\u4e2a\u9879\u76ee\u7f51\u7ad9\u7684\u89c6\u9891\u4e2d\u53ef\u4ee5\u5f97\u5230\u66f4\u591a\u7684\u4fe1\u606f\u3002 \u9879\u76ee\u7f51\u7ad9\uff1ahttp:\/\/code.google.com\/p\/android-coverflow\/ 4. android-viewbadger\u00a0 \u8be5\u9879\u76ee\u8ba9devs\u65e0\u9700\u4fee\u6539\u5e03\u5c40\u6587\u4ef6\uff08layout file\uff09\u5373\u53ef\u663e\u793abadges\u3002 \u9879\u76ee\u7f51\u7ad9\uff1ahttps:\/\/github.com\/jgilfelt\/android-viewbadger 5. &hellip; <a href=\"https:\/\/www.strongd.net\/?p=1060\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">\u514d\u8d39\u7684Android UI\u5e93\u53ca\u7ec4\u4ef6\u63a8\u8350<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[205,178],"class_list":["post-1060","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-ui"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1060"}],"version-history":[{"count":4,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1060\/revisions"}],"predecessor-version":[{"id":1063,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1060\/revisions\/1063"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}