Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / appstore / src / main / res / drawable / tv_banner.xml
tv_banner.xml25 lines · 1.1 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Leanback-row banner (320x180): a dark tile with a white storefront glyph. The launcher |
| 3 | icon (launcherIcon symbol="store") stays the phone adaptive icon; this is what TV rows show. --> |
| 4 | <!-- 320x180 is the leanback banner size the launcher requests; this is a two-path tile, so rasterizing it would only add APK size. --> |
| 5 | <vector xmlns:android="http://schemas.android.com/apk/res/android" |
| 6 | xmlns:tools="http://schemas.android.com/tools" |
| 7 | tools:ignore="VectorRaster" |
| 8 | android:width="320dp" |
| 9 | android:height="180dp" |
| 10 | android:viewportWidth="320" |
| 11 | android:viewportHeight="180"> |
| 12 | <path |
| 13 | android:fillColor="#FF1B1B1F" |
| 14 | android:pathData="M0,0h320v180H0z" /> |
| 15 | <!-- Storefront: awning + body, centered. --> |
| 16 | <path |
| 17 | android:fillColor="#FFFFFFFF" |
| 18 | android:pathData="M120,78 L200,78 L192,96 L128,96 Z" /> |
| 19 | <path |
| 20 | android:fillColor="#FFFFFFFF" |
| 21 | android:pathData="M128,100h64v36h-64z" /> |
| 22 | <path |
| 23 | android:fillColor="#FF1B1B1F" |
| 24 | android:pathData="M150,100h20v36h-20z" /> |
| 25 | </vector> |