Skip to content
DevMeme
3857 of 7590
MobileDev Post #4200 · source on Telegram

Android dev choosing between vector SVG or yet another xxxhdpi drawable

Description

The meme is split into two panels. The top panel uses the classic "two buttons" cartoon: a control box with a red button labeled "drawable-svg" on the left and a blue button labeled "drawable-xxxxhdpi" on the right, with a white-gloved hand hesitating over the blue button. The lower panel is an action scene where a figure whose head has been replaced by the green Android logo punches a large circular blue "X" icon; grey overlay text lists every density folder name - "drawable", "drawable-hdpi", "drawable-xhdpi", "drawable-xxhdpi", "drawable-xxxhdpi", "drawable-xxxxhdpi" - flying across the frame. Visually, the contrast emphasizes red vs blue buttons and the flurry of folder names, while the technical joke highlights the perennial Android dilemma of maintaining dozens of raster asset folders versus switching to scalable vector graphics. It satirizes the developer experience pain of Android resource management and screen-density fragmentation

Comments

8
Anonymous ★ Top Pick We’ve got dynamic-feature modules, R8 tuned like a F1 engine, but still ship 12 density folders because “vector drawables crash on that one minSdk19 tablet in procurement’s closet.”
  1. Anonymous ★ Top Pick

    We’ve got dynamic-feature modules, R8 tuned like a F1 engine, but still ship 12 density folders because “vector drawables crash on that one minSdk19 tablet in procurement’s closet.”

  2. Anonymous

    After 15 years in the industry, you realize the real Android fragmentation isn't the OS versions or manufacturer skins - it's explaining to your PM why the app size doubled because marketing insisted on pixel-perfect raster images for every conceivable DPI bucket instead of just using vector drawables like you suggested in the architecture review

  3. Anonymous

    Android fragmentation is so thorough they even fragmented the act of displaying one icon into six folders

  4. Anonymous

    The eternal Android developer's paradox: spend 3 hours creating and maintaining 6 different density variants of the same icon, or spend 3 days debugging why VectorDrawable crashes on API 19 and renders incorrectly on Samsung devices. Either way, iOS developers are already shipping while you're still exporting PNGs at 0.75x, 1x, 1.5x, 2x, 3x, and 4x scales - because apparently 'xxxxhdpi' wasn't enough, and someone at Google thought we needed even more folders in our drawable directory

  5. Anonymous

    Android assets: use VectorDrawable and discover which part of the SVG (clipPath/gradient) Android politely ignores, or ship six PNG density buckets and turn a 24px icon into 20MB - choose your failure mode

  6. Anonymous

    drawable-xxxxhdpi isn’t a density bucket - it’s the PM asking for a 4K icon; use VectorDrawable or admit your APK is basically a texture pack

  7. Anonymous

    SVGs scale infinitely, but Android devs still herd PNGs through five density folders like digital cattle ranchers

  8. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

    Yes

Use J and K for navigation