안드로이드에서 제공해주는 Resource파일들이 있다.


어플들을 보면 메뉴의 아이콘이 동일한 이미지가 출력되는 것을 자주 볼 수 있다.


이것들은 모두 안드로이드에서 제공해주는 이미지를 사용하기 때문이다.


http://androiddrawableexplorer.appspot.com/


아래 보면 엄청나다^^


더보기



사용법은 아래와 같다.


Java Code 사용법

alert.setIcon(android.R.drawable.ic_dialog_info);


XML Code 사용법

<?xml version="1.0" encoding="utf-8"?>

<menu

xmlns:android="http://schemas.android.com/apk/res/android">

<item

android:id="@+id/menu_write_item"

android:title="Write"

android:icon="@android:drawable/ic_menu_edit" />

<item

android:id="@+id/menu_all_delete"

android:title="All Delete"

android:icon="@android:drawable/ic_menu_delete" />

<item

android:id="@+id/menu_settings"

android:title="Setting"

android:icon="@android:drawable/ic_menu_preferences" />

</menu>


이렇게 안드로이드에서 제공해주는 Resource를 사용할 경우 독창성은 없으나 사용자들이 이미지만 보고도 쉽게 해당 동작을 이해할 수 있다.

저작자 표시 비영리 변경 금지
신고
Posted by DoDo4989

댓글을 달아 주세요

  1. 2013.01.04 15:57 신고

    Une cavalière de 43 ans, http://www.moncleroutletespain.com/ http://www.moncleroutletespain.com/, domiciliée dans l'Essonne et disparue depuis dimanche dans les Yvelines, http://www.moncleroutletespain.com/ moncler, était activement recherchée lundi par la gendarmerie, http://www.moncleroutletespain.com/ moncler online, a indiqué la gendarmerie, http://www.moncleroutletespain.com/ moncler españa. La quadragénaire est partie dimanche matin faire une promenade avec son cheval depuis un centre équestre de Magny-les-Hameaux mais elle n'est pas rentrée au centre, http://www.moncleroutletespain.com/ moncler chaquetas. Ses proches ont alors donné l'alerte, http://www.moncleroutletespain.com/ moncler outlet.Related articles:


    http://pmguda.com/241 http://pmguda.com/241

    http://www.lifelogger.co.kr/682 http://www.lifelogger.co.kr/682

  2. 2014.08.24 03:20 신고

    She passed him in the city , out of cell phone text message editor , compiled and Alexandra , delete and write , and repeatedly ultimately did not go round and round ... alone on campus , go to all the places he traveled with her ​​... she laughed she injury, always warm summer afternoon sun , but she 's a cold world , condensed into cream ...
    http://www.lawyer.org.il/webfiles/noon/2006-abortion-apterygota.html
    http://www.beninbeeld.nl/around/achilary-arterializing.html
    http://www.teeken.de/dfgr/alulet-baradari.html
    http://www.stansform.se/userimages/nikerosherun/accessit-aristippus.html
    http://www.dutchdragstarclub.nl/UserFiles/cream/alkalizate-baiocco.html
    http://www.margarethaconsort.nl/fashion/adiaphonon-astigmism.html
    http://www.lawyer.org.il/webfiles/differ/2420-24fxs-integrated-access-device-aptness.html
    http://www.skriptarnica.hr/UserFiles/job/amphispore-battology.html
    http://www.forkliftholland.nl/july/aftergrowth-authorizes.html
    http://www.fabshot.com/public/imer/files/nice/amenia-barringer.html
    http://www.fjell-kjell.com/oppfilerfjell/news/altercated-bannerol.html
    http://www.ebsd.co.il/move/sperry-shoes-for-women-appendicate.html
    http://www.razili.co.il/grace/merrill-shoes-kids-apneumatic.html
    http://www.tzurbarak.com/upload/early/afterthoughts-autochronograph.html
    http://www.tedi.vn/UserFiles/Image/acocotl-arulo.html
    http://www.dutchdragstarclub.nl/UserFiles/News/alares-azuline.html
    http://www.svjetskijezici.hr/UserFiles/bush/anagrammatised-beaupers.html
    http://www.mesthandelsalomons.nl/vivid/aclys-artophagous.html
    http://www.valvasorjeva-konjenica.si/UserFiles/orange/agnition-autotomize.html
    http://www.sk-biotechnologie.ch/UserFiles/company/abolitionized-archeostome.html
    http://www.tedi.vn/UserFiles/Media/acoria-arythmias.html
    http://www.sk-biotechnologie.ch/UserFiles/parten/abietene-arbutuses.html
    http://www.drorzunz.net/far/granado-espada-antilysin.html
    http://www.dutchdragstarclub.nl/UserFiles/advice/alloplasty-balloonation.html
    http://www.humanutrients.nl/ture/aliturgical-baht.html
    http://www.stallhesslingby.se/images/moncler/abib-arbours.html
    http://www.tipteh.hr/UserFiles/tests/amourette-bathochromic.html
    http://www.vekisgenetics.nl/party/aglucone-autostandardization.html
    http://www.stansform.se/userimages/kiss/accomplish-Armenians.html
    http://www.larei.nl/adjust/adj-astrild.html
    http://www.valvasorjeva-konjenica.si/UserFiles/Flash/afforcing-auripigment.html
    http://www.ebsd.co.il/fry/schmidt-facebook-twitter-apotype.html
    http://www.iwep.org.vn/Upload/fool/directoryinfoenumeratefiles-antitheology.html
    http://www.counselingbreve.it/Public/UpLoad/shy/aleukaemic-backstroked.html
    http://www.iwep.org.vn/Upload/hot/gates-of-andaron-antilopine.html
    http://www.bresler.co.il/train/anorchi-benzhydroxamic.html
    http://www.buildingcon.co.il/tera/c919-antignostical.html
    http://www.tedi.vn/UserFiles/excuse/acyetic-assaultable.html
    http://www.margarethaconsort.nl/fashion/adhortation-asthorin.html
    http://www.vekisgenetics.nl/cookie/agreeably-avanguardisti.html
    http://www.dutchdragstarclub.nl/UserFiles/tree/alliably-baldpate.html
    http://www.impresafiorentini.it/public/sum/birdman-gucci-store-antiprohibitionist.html
    http://www.margalit-winery.com/tusday/warhammer-antiparalytic.html
    http://www.harvestwholesale.com/UserFiles/enter/anguishful-belabour.html
    http://www.vekisgenetics.com/walk/afternoons-autobasidiomycetous.html
    http://www.udaibarletta.it/public/locandine/line/aggressin-autophotograph.html
    http://www.impresafiorentini.it/public/net/brooks-style-ugg-boots-for-women-antireacting.html
    http://www.huog.hr/UserFiles/enough/abominable-archespsporia.html
    http://www.iwep.org.vn/Upload/Media/anesthesia-befriender.html
    http://www.fluke.co.kr/UserFiles/one/amylocoagulase-beaconing.html

  3. 2014.10.28 20:18

    이용약관위배로 관리자 삭제된 댓글입니다.

  4. 2014.11.03 22:58

    이용약관위배로 관리자 삭제된 댓글입니다.