You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ã¹ãã¼ã¿ã¹ãã¼ã«ãã¼ã¿ã«å¿ããæ°åã表示ãããããªè©±ã¯ããããã ããããªã¼ãé水確çãetc.. ãã¨ãã°0ã99ã®å ´åããããªãµãã«ããã¨100æã®ç»åãç¨æããªãã¦æ¸ããããªæ°ãããã æ°åã®ç´ æ ã¹ãã¼ã¿ã¹ãã¼ã¢ã¤ã³ã³ã®ååãããã®å¹ ã®0ã9ã®ã¢ã¤ã³ã³ãç¨æããã (ã¢ãããã¼ãããããªããééè²ãæ¶ããã£ã½ããã©ãã»ãã¨ã¯èæ¯ã¯éé) res/drawable-hdpi/n0.png res/drawable-hdpi/n1.png res/drawable-hdpi/n2.png res/drawable-hdpi/n3.png èæ¯ã®ç´ æ ãµã¤ãã®ã¹ãã¼ã¿ã¹ãã¼ã¢ã¤ã³ã³ã®å¹ ã§ç¨æããã res/drawable-hdpi/b.png level-list drawable ã¬ãã«ãã¨ã®itemã«layer-listãæå®ãã¦èæ¯ã®ããã«æ°åãéããç»åã«ããã res/dra
ããã¤ãã®ã¢ããªã使ã£ã¦ããã¨ãã¹ãã¼ã¿ã¹ãã¼ã®ã¢ã¤ã³ã³ãåçã«åãæ¿ãã£ã¦ãããã®ãããã¾ãããã©ã®ããã«å®è£ ãã¦ããã®ã§ãããï¼ç§ãä½ã£ã¦ã¿ã¾ããã æ¦è¦ ãããªç»é¢ã¤ã¡ã¼ã¸ã®ãã®ãä½ãã¾ãããã¾ãã¯ããã¼ãã£ãã£ã±ã¼ã·ã§ã³åæ表示æã®ã¤ã¡ã¼ã¸ã§ããæåã®ã¢ã¤ã³ã³ã表示ããã¦ãã¾ãã ãã¼ãã£ãã£ã±ã¼ã·ã§ã³ã®ã¢ã¤ã³ã³ãåçã«åãæ¿ããæã§ãã éç¥ã¦ã¤ã³ãã¦ã表示ããã¨ããã§ããã¿ã¤ãã«ã¨æ¦è¦ã®æ«å°¾ã®æ°åã¯ãåçã«å¤æ´ããã¦ãã¾ãã ä½æ¥ã®æµã è¤æ°ã®ç»åãç¨æãã ä¸è¨ç»åãã¾ã¨ããXMLãä½æãã ãã¼ãã£ãã£ã±ã¼ã·ã§ã³ã表示ãã ä¸è¨ã§ä½æãããã¼ãã£ãã£ã±ã¼ã·ã§ã³ãé©å®åãæ¿ãã XML ããã¸ã§ã¯ãã®/res/drawableã«ä»»æã®ååã§ãä¸è¨ã®ãããªXMLãã¡ã¤ã«ãä½æãã¾ãããããã§ã¯ãlevel_list.xmlã¨ãããã¡ã¤ã«åã«ãã¾ããã â»maxLevelã«ã¯æ´æ°
Processing Bitmaps Off the UI Thread ã®å 容ã«è£è¶³ãä»ãã¦è§£èª¬ãã¦ã¾ãã ååã®ã¨ã³ããªã¼ã§å¤§ããç»åãå¹æçã«èªãè¾¼ãæ¹æ³ã解説ãã¾ãããããã³ã¼ããããã¼ã¿ããã£ã¹ã¯ããããã¯ã¼ã¯ã«ããå ´åãBitmapFactory ã® decode* ã¡ã½ãã㯠UI ã¹ã¬ããã§è¡ã£ã¦ã¯ããã¾ããï¼ã¨ãããã¡ã¢ãªä¸ä»¥å¤ã®ãã¼ã¿ãèªã¿è¾¼ãå ´åã¯å ¨é¨ã ãï¼ã ãããã®å¦çã¯ãã£ã¹ã¯ããããã¯ã¼ã¯ã®ã¹ãã¼ããç»åã®ãµã¤ãºãCPUã®ãã¯ã¼ãªã©ãã¾ãã¾ãªè¦å ã§å®äºã¾ã§ã®æéãå¤ããããã¤å®äºããã®ããããã¾ããã ããç»åã®ãã³ã¼ãå¦ç㧠UI ã¹ã¬ããããããã¯ãã¦ãã¾ãã¨ãææª ANR ãçºçãã¾ãã ããã§ãAsyncTask ã使ã£ã¦ããã¯ã°ã©ã³ã㧠Bitmap ãèªã¿è¾¼ãããã«ãã¾ãã â AsyncTask ã使ã ç¹ã«ä½ãèããªãã§ä½ãã¨ããã£ã¨ãããªæã
ï¼ http://fchiba.blog114.fc2.com/blog-entry-35.html ãããå°ãããããããæ¸ããªãããã ï¼ ã¬ã¤ã¢ã¦ãè¨ç®ã®è©³ç´°ãç¥ããªãã¦ãèªããããã«ãªã£ãã¯ãã ImageViewã®è¡¨ç¤ºãµã¤ãºã¯ã以ä¸ã®è¦ç´ ã«ãã£ã¦æ±ºã¾ãã¾ãã 1. layout_width / layout_heightã®ãã©ã¡ã¼ã¿ 2. Drawableã®ç»åãµã¤ãº(IntrinsicWidth/Height) 3. minWidth / minHeight 4. maxWidth / maxHeight 5. BackgroundDrawable ã®ç»åãµã¤ãº(IntrinsicWidth/Height) 6. adjustViewBounds 7. padding 8. matrix 9. scaleType 10. cropToPadding ãã®ãã¡ã1.ï½7.ã«ãã£ã¦
We make society rich ITã¯ä»ããä¼æ¥æ´»åãªãã³ã«å人ã®çæ´»ãããåãé¢ããªãã»ã©ã®å¤§ããªåå¨ã¨ãªã£ã¦ãã¾ãã ITã®æè¡åä¸ã¯ãééããªã社ä¼ãè±ãã«ãããã¨ã«ã¤ãªãããã®ã¨èãã¦ããã¾ãã SORICHã¯ãITã«ãããæè¡åä¸ãã¯ãªãªãã£åä¸ããããã社ä¼ã«å¤§ããè²¢ç®ãã¦ã¾ããã¾ãã éçºå®ç¸¾ Development record FXåå¼ã·ã¹ãã éè Java JavaScript MySQL 大è¦æ¨¡ãªãã©ã³ã¶ã¯ã·ã§ã³å¦çãè¦æ±ããããã©ã¤ã¹ãã¼ãã注ææ©è½çããªã¢ã«ã¿ã¤ã æ§ã®é«ãããã³ãã·ã¹ãã éçºã«å ããæ³å»·å¸³ç°¿åºåãå«ããããã¯æ¥åã·ã¹ãã ãªã©ãFXäºæ¥ãéå¶ããä¸ã§å¿ è¦ã¨ãªãå æ¬çãªã·ã¹ãã ãä¾çµ¦ã é常ã«é«ãå質ãæ±ããããã·ã¹ãã ã®ããããã¹ã許ãããªãã¨ãããã¬ãã·ã£ã¼ã®æ¯æ¥ã§ããã ã¬ã³ã¿ã«ç«¯æ«å¨åº«ç®¡ç IT Java PHP JavaScrip
åé¡ Androidã®MapActivityä¸ã«ãã¼ã«ã¼ãæç»ï¼ããã©ã«ããã¼ã«ã¼ããå¤æ´ï¼ããããã«ãOverlayItem#setMarker(Drawable marker)ãå¼ã³åºãã¦ãä½ã表示ãããªãã ãã¼ã«ã¼ã表示ãããªãã³ã¼ã GeoPoint geoPoint = new GeoPoint(0, 0); OverlayItem overlayItem = new OverlayItem(geoPoint, "", ""); Drawable drawable = getResources().getDrawable(R.drawable.marker); overlayItem.setMarker(drawable); //ItemizedOverlayã«è¿½å ããå¦çã¨ã //MapViewã®Listã«è¿½å ããå¦çã¨ã 解決æ¹æ³ ãã¼ã«ã¼ç¨ã®Drawableã«bound
ã¡ãã¥ã¼ã¢ã¤ã³ã³ãªã©ã®ãªã½ã¼ã¹ã¯drawableã¨ãã¦åç §ãããã¨ãã§ããããããã£ãã¢ã¤ã³ã³ãªã©ã¯ãã§ããã ãã·ã¹ãã ã«å«ã¾ãããªã½ã¼ã¹ã使ã£ãæ¹ãã¦ã¼ã¶ã«ã¨ã£ã¦ãããããããã ã¡ãã¥ã¼ã¢ã¤ã³ã³ã®è¨å®æ¹æ³ã¯ä¸è¨ã®ã¨ããã java itemãaddããsetIcon()ããã menu.add(0,SETTING_ID,0,R.string.menu_setting).setIcon(android.R.drawable.ic_menu_setting); xml <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/setting" android:title="@string/menu_setting" android:icon="@android:drawa
/** * ã«ã¹ã¿ã ãªã¼ãã¼ã¬ã¤ * Activityã®å é¨ã¯ã©ã¹ã¨ãã¦å®ç¾© */ private class CustomOverlay extends ItemizedOverlay<OverlayItem> { // ãªã¹ã protected LinkedList<SampleData> list = null; public void setDataList(LinkedList<SampleData> list) { this.list = list; // 親ã¯ã©ã¹ã®OverlayItemãªã¹ãã®åæ§ç¯ populate(); } /** * ã³ã³ã¹ãã©ã¯ã¿ * @param defaultMarker */ public CrimeOverlay(Drawable defaultMarker) { super(defaultMarker); } /** * SampleDa
LevelListDrawable 㯠Levelï¼æ´æ°å¤ï¼ã¨ç»åãªã½ã¼ã¹ãã²ãä»ãã¦ã1ã¤ã® drawable ã§è¤æ°ã®ç»åãªã½ã¼ã¹ãåãæ¿ããããããã«ãããã® å Level 㨠ç»åãªã½ã¼ã¹ã®ç´ä»ã㯠XML ãã¡ã¤ã«ã§å®ç¾©ãããã¨ãã§ãã â LevelList setLevel() 㧠drawable ã« level ãè¨å®ããã¨ãlevel list å ãä¸ããèµ°æ»ãã¦ãã£ã¦ãè¨å®å¤ãã大ãã or çãã android:maxLevel ãå®ç¾©ããããªã½ã¼ã¹ãèªã¿è¾¼ã XMLãã¡ã¤ã«ã®ä¿åå ´æ : res/drawable/filename.xml ï¼ãã¡ã¤ã«åã¯ãªã¼ã¹ID ã«ãªãï¼ ãªã½ã¼ã¹ã®åç § Java: R.drawable.filename XML: @[package:]drawable/filename syntax: <?xml version="1.0
Androidã®Drawableã«ã¯PNGã¨ãJPGã¨ãç´æ¥æ¾ãè¾¼ãã ãããããã¯æ¼ãããé¢ãããé¸æããããã¨ãè¨ã£ããç¶æ ä»ãButtonãXMLã§...ãããããã使ããããã³ãã§ãããæå¤ãªã¢ããDrawableã®ç¯çã«ãã£ãããã¾ãã Drawable Resources http://developer.android.com/guide/topics/resources/drawable-resource.html ã§ããã®ãã¡æå¾ã®Shape Drawableã¨ãããã®ããå¡ãã¨ãç·ã¨ããããã¾ãã shapeã¨ãgradientã¨ãã¿ã¦ããã£ã±ãã ã¨æãã®ã§ãå®ä¾ã以ä¸ã«ã ãã¨ãã°ãã°ã©ãã¼ã·ã§ã³èæ¯ï¼å°ç©ã¿ãããªä»¥ä¸ã®ç»åããã£ãã¨ãã¾ãã ãããæ®éã«ImageViewã§ã¯ã£ã¤ããã¨ããããªãã¾ãã ã§ãèæ¯é¨åã ããµã¤ãºå¯å¤ã«ãããã¨ããããããç»é¢è§£å度ãä¸ãã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}