๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

์ „์ฒด ๊ธ€

(374)
[UI/UX] UI ๋””์ž์ธ์„ ์œ„ํ•œ ํœด๋ฆฌ์Šคํ‹ฑ ์‚ฌ์šฉ์„ฑ 10๊ฐ€์ง€ / 10 Usability Heuristics for User Interface Design ์„ ๋ฐฐ๋‹˜๊ณผ ์ด์•ผ๊ธฐํ•˜๋‹ค๊ฐ€ ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์„ ์œ„ํ•ด 10๋Œ€ ์›์น™์ด๋ผ๋Š” ๋ฌด์–ธ๊ฐ€๊ฐ€ ์žˆ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ๊ณ  ๊ฒ€์ƒ‰ํ•ด๋ณด์•˜๋‹ค. ๋„ˆ๋ฌด๋‚˜ ์ž˜ ์„ค๋ช…ํ•ด์ฃผ๊ณ , ์˜ˆ์‹œ๊นŒ์ง€ ๋“ค์–ด์ค€ ๋ฉ‹์ง„ ๊ธ€๋“ค์„ ํ™•์ธํ–ˆ๋‹ค. https://www.designprinciplesftw.com/collections/10-usability-heuristics-for-user-interface-design 10 Usability Heuristics for User Interface Design | Design Principles FTW 11 Jul 2013 10 Usability Heuristics for User Interface Design "The 10 most general principles for interaction design. They are called '..
[Android] target sdk version์„ ๋ณ€๊ฒฝํ•˜๋ฉด ํ•ด๋‹น version์˜ ๋‹จ๋ง์—์„œ ํ…Œ์ŠคํŠธํ•ด ๋ณด์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ค๋Š˜์˜ ๊ตํ›ˆ. target sdk version์„ ๋ณ€๊ฒฝํ•˜๋ฉด ํ•ด๋‹น version์˜ ๋‹จ๋ง์—์„œ ํ…Œ์ŠคํŠธํ•ด ๋ณด์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์• ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ๋Œ๋ ค์„œ๋ผ๋„ ํ™•์ธํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค. ๋‚ด ์•ฑ์˜ ์ฝ”๋“œ๋Š” ํ•ด๋‹น version์˜ ๋™์ž‘ ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ์—†์–ด์„œ ๊ดœ์ฐฎ๋‹ค ํ•ด๋„, ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ๋’คํ†ต์ˆ˜์น  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๐Ÿ“š๐Ÿ‘Š๐Ÿ’ฅ๐Ÿคฆ‍โ™€๏ธ๐Ÿคฆ‍โ™‚๏ธ
[์•ˆ๋“œ๋กœ์ด๋“œ] ์–ด๋Š ํ™”๋ฉด์—์„œ๋‚˜ ๋™์ผํ•˜๊ฒŒ ๋””์ž์ธ ๊ฐ€์ด๋“œ ์œ ์ง€ํ•  TabItem ์†์„ฑ ๊ณผ๊ฑฐ ํƒญ ์•„์ด์ฝ˜์œผ๋กœ ์ด๋ฆฌ์ €๋ฆฌ ์‚ฝ์งˆํ•˜๊ณ  ํ–‰๋ณตํ•˜๊ฒŒ ์›ํ•˜๋˜ ๋Œ€๋กœ ๊ตฌํ˜„ํ–ˆ์—ˆ๋‹ค. 2021.09.09 - [๋นˆ ๊ตฌ๋ฉ ์ฑ„์šฐ๊ธฐ] - [Android] TabLayout, TabItem ์›ํ•˜๋Š” UI ๋งŒ๋“ค๊ธฐ ๊ทธ๋ฆฌ๊ณ  ์ด์Šˆ๊ฐ€ ๋‚˜์™”๋‹ค. ๊ฐค๋Ÿญ์‹œ ํด๋“œ ๋‹จ๋ง์—์„œ๋Š” ๋””์ž์ธ ๊ฐ€์ด๋“œ๋Œ€๋กœ ํƒญ ์•„์ด์ฝ˜๋“ค์ด ๋‚˜์˜ค์ง€ ์•Š๋Š”๋‹ค๋Š” ๊ฑฐ์˜€๋‹ค. TabLayout์˜ ์„ค์ •๊ฐ’ ๋ฌธ์ œ์ผ ์ˆ˜ ์žˆ๋‹ค๋Š” ์„ ๋ฐฐ๋‹˜์˜ ๋ง์”€์„ ํžŒํŠธ๋กœ ๋ฐ›์•„๋“ค์ด๊ณ  ๊ฒ€์ƒ‰ํ•ด์„œ ์ฐพ์•˜๋‹ค. ์€์ธ : https://jeonghoe9.tistory.com/28 TabLayout์˜ Tabํฌ๊ธฐ ๊ท ๋“ฑ๋ถ„ํ• (?) ์˜ค๋Š˜์€ TabLayout(com.google.android.material.tabs.TabLayout)์„ ์‚ฌ์šฉํ•˜์˜€๋Š”๋ฐ Tab ๊ฐฏ์ˆ˜๊ฐ€ TabLayout์˜ width ๊ฐ’๋ณด๋‹ค ์ž‘์œผ๋‹ˆ Tab์˜ ํฌ๊ธฐ๊ฐ€ ์ž‘๊ฒŒ ๋ณด์ด๋Š” ๋ฌธ์ œ..
[Android] Potential Plurals / Quantity strings + ์‚ฝ์งˆ Android Studio์˜ Analyze > Inspect Code๋ฅผ ํ†ตํ•ด ๋‚˜์˜จ Warning๋“ค ์ค‘ ํ•˜๋‚˜๋กœ "Potential Plurals"๋ฅผ ๋ฐœ๊ฒฌํ–ˆ๋‹ค. ์Šคํƒ์˜ค๋ฒ„ํ”Œ๋กœ์šฐ ์„ ๋ฐฐ๋‹˜๋“ค https://stackoverflow.com/questions/47439853/lint-check-potential-plurals Lint check potential plurals? My Lintcheck complains regarding my string resources. Potential Plurals res/values/strings.xml Formatting %d followed by words ("Pers"): This should probably be a plural rather than a string ....
[Android] Value must be ≥ 0 / cursor.getColumnIndex() https://stackoverflow.com/questions/69053061/android-studio-value-must-be-%E2%89%A5-0 Android Studio - Value must be ≥ 0 I am getting an error in Android Studio to do with my Cursor. I have the following line in my code String data = cursor.getString(cursor.getColumnIndex(columnIndex)); columnIndex is being passed in... stackoverflow.com Android Studio ์˜ Anayze > Inspect Code๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋งŒ๋‚œ ๋นจ๊ฐ„ ์—๋Ÿฌ Valu..
[Android] Custom View ์ƒํƒœ ์ €์žฅ + ์ปค์Šคํ…€ ์บ˜๋ฆฐ๋”๋ทฐ ์ œ์ž‘ ๊ธฐ๋ก https://www.charlezz.com/?p=29013 Android์—์„œ View์˜ ์ƒ๋ช…์ฃผ๊ธฐ | ์ฐฐ์Šค์˜ ์•ˆ๋“œ๋กœ์ด๋“œ https://proandroiddev.com/the-life-cycle-of-a-view-in-android-6a2c4665b95e์„ ๋ฒˆ์—ญํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ ์•ฑ์„ ์‹คํ–‰ํ•  ๋•Œ ์šฐ๋ฆฌ๊ฐ€ ๊ฐ€์žฅ ๋จผ์ € ์Šคํฌ๋ฆฐ์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์ด View๋ผ๊ณ  ๋งํ•  ์ˆ˜ ์žˆ๋‹ค. View ํด๋ž˜์Šค๋Š” ์‚ฌ www.charlezz.com ์œ„ ๋ธ”๋กœ๊ทธ์˜ ์ƒํƒœ ์ €์žฅ๊ณผ ๋ณต๊ตฌ ์˜ˆ์‹œ ์ฝ”๋“œ๋ฅผ ์ž˜ ํ™œ์šฉํ–ˆ๋‹ค. ์ฐฐ์Šค๋‹˜ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค๐Ÿ‘ ์ปค์Šคํ…€๋ทฐ๋กœ ๋‹ฌ๋ ฅ์„ ๋งŒ๋“ค์—ˆ๋‹ค. ๋””์ž์ธ ๊ฐ€์ด๋“œ๋ฅผ ์ ์šฉํ•˜๊ณ  ์•ฑ ์„ฑ๋Šฅ์„ ์œ„ํ•ด์„œ๋Š” ์ปค์Šคํ…€๋ทฐ๋กœ ๊ตฌํ˜„ํ•˜๋Š” ๊ฒƒ์ด ์ ํ•ฉํ•˜๋‹ค๋Š” ๊ฒƒ์„ ์ธ์ •ํ•  ์ˆ˜ ๋ฐ–์— ์—†์—ˆ๋‹ค. ๋‹ฌ๋ ฅ์—์„œ ์ดˆ๊ธฐํ™”๋กœ ์„ ํƒ๋˜๊ฑฐ๋‚˜(์˜ค๋Š˜ ๋‚ ์งœ๊ฐ€ ์„ ํƒ๋จ), ์‚ฌ์šฉ์ž๊ฐ€ ์„ ํƒํ•œ..
[Retrofit2] Body๋กœ ZonedDateTime ๋ณด๋‚ด๊ธฐ ์„œ๋ฒ„ ๊ฐœ๋ฐœ์ž๋ถ„์ด api์˜ body ๊ฐ’์œผ๋กœ ZonedDateTime๋ฅผ ๋ณ€ํ™˜์—†์ด ๊ทธ๋ƒฅ ๋ณด๋‚ด๋ฉด ๋œ๋‹ค๊ณ  ํ•ด์„œ ์‘??? ํ–ˆ๋Š”๋ฐ... ์—ญ์‹œ๋‚˜. https://jinseongsoft.tistory.com/191 (Java) Gson ์‚ฌ์šฉ์‹œ ZonedDateTime JSON Serialize/Deserialize ๋ฐฉ๋ฒ• ๋“ค์–ด๊ฐ€๋ฉฐ Gson์„ ์‚ฌ์šฉํ•˜์—ฌ ZonedDateTime ๊ฐ์ฒด๋ฅผ Serialize/Deserialize ํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค. public void test() { String json = new GsonBuilder().create().toJson(ZonedDateTime.now()); ZonedDateTime dateTim.. jinseongsoft.tistory.com 1) ZonedDateTime์˜ Se..
[Android] LayoutInflater inflate ํ•  ๋•Œ viewGroup ์ง€์ • ์•ˆํ•ด์„œ ๋‚˜์˜จ ์ด์Šˆ ๋ฆฌ์‚ฌ์ดํด๋Ÿฌ๋ทฐ์˜ ์•„์ดํ…œ ์‚ฌ์ด์ฆˆ๊ฐ€ ์ด์ƒํ–ˆ๋‹ค. ๊ฐ ์•„์ดํ…œ ๋ ˆ์ด์•„์›ƒ์€ ConstraintLayout ์•ˆ์— ๊ตฌ์„ฑ๋˜์–ด ์žˆ์—ˆ๋‹ค. ์ตœ์ƒ์œ„ ๋ ˆ์ด์•„์›ƒ์˜ android:layout_width="match_parent" ๊ฐ€ ๋จนํžˆ์ง€ ์•Š์•„์„œ ๋ง๊ฐ€์ง€๋Š” ๊ฒƒ์œผ๋กœ ์ถ”์ธกํ–ˆ๋‹ค. ํ…์ŠคํŠธ๋งŒ ๋ฐ›๋Š” ์•„์ดํ…œ, ์ธ๋„ค์ผ๋„ ๋ฐ›๋Š” ์•„์ดํ…œ ์ด ๋‘ ๊ฐ€์ง€ ํƒ€์ž…์˜ ๋ทฐํ™€๋”๊ฐ€ ์žˆ๋Š”๋ฐ ์™œ ์ธ๋„ค์ผ ๋ฐ›๋Š” ์•„์ดํ…œ๋งŒ ์ด๋Ÿฌ๋Š” ๊ฑด์ง€ ๊ณ ๋ฏผ. ๋‹ต์„ ์ฐพ์Œ. override fun onCreateViewHolder(parent: ViewGroup, viewType: Int) : ViewHolder { val inflater = LayoutInflater.from(parent.context) return when(viewType) { VIEW_TEXT -> TextHolder( Item..