Download code/10113/10113_4.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 9.14 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10113/10113_4.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10113/10113_4.html
-
curl -L -o 10113_4.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10113/10113_4.html
9.14 kB
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Location Search UI</title> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; } | |
| #render-target { | |
| width: 1080px; | |
| height: 2400px; | |
| position: relative; | |
| overflow: hidden; | |
| background: #ffffff; | |
| font-family: Arial, Helvetica, sans-serif; | |
| color: #212121; | |
| } | |
| /* Top app bar */ | |
| .appbar { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 1080px; | |
| height: 200px; | |
| background: #0B5F6D; | |
| } | |
| .status-bar { | |
| height: 72px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 24px; | |
| color: #fff; | |
| font-size: 34px; | |
| letter-spacing: 0.5px; | |
| } | |
| .status-spacer { flex: 1; } | |
| .status-icons svg { margin-left: 22px; } | |
| .search-row { | |
| height: 128px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 24px; | |
| } | |
| .search-row input { | |
| flex: 1; | |
| height: 72px; | |
| border: none; | |
| outline: none; | |
| background: transparent; | |
| color: #ffffff; | |
| font-size: 52px; | |
| font-weight: 500; | |
| padding-left: 24px; | |
| } | |
| .icon-btn { | |
| width: 72px; | |
| height: 72px; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: default; | |
| } | |
| .icon-btn svg { fill: none; stroke: #ffffff; stroke-width: 5; } | |
| /* Content list */ | |
| .content { | |
| position: absolute; | |
| top: 200px; | |
| left: 0; | |
| right: 0; | |
| bottom: 900px; /* leave space for keyboard */ | |
| overflow-y: hidden; | |
| background: #fff; | |
| } | |
| .location-row { | |
| height: 120px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 32px; | |
| border-bottom: 1px solid #E0E0E0; | |
| color: #616161; | |
| font-size: 40px; | |
| background: #FAFAFA; | |
| } | |
| .location-row svg { margin-right: 24px; stroke: #0B5F6D; } | |
| .item { | |
| padding: 30px 32px; | |
| border-bottom: 1px solid #E0E0E0; | |
| } | |
| .item-title { | |
| font-size: 48px; | |
| font-weight: 600; | |
| color: #3E3E3E; | |
| margin-bottom: 10px; | |
| } | |
| .item-sub { | |
| font-size: 34px; | |
| color: #777777; | |
| } | |
| /* Keyboard */ | |
| .keyboard { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 1080px; | |
| height: 900px; | |
| background: #141414; | |
| border-top: 1px solid #2A2A2A; | |
| box-sizing: border-box; | |
| padding: 18px 18px 32px 18px; | |
| } | |
| .suggestions { | |
| height: 110px; | |
| display: flex; | |
| align-items: center; | |
| padding: 0 6px; | |
| color: #E0E0E0; | |
| } | |
| .suggest-left, .suggest-right { | |
| width: 120px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .pill { | |
| background: #2A2A2A; | |
| color: #EDEDED; | |
| font-size: 36px; | |
| padding: 12px 26px; | |
| border-radius: 30px; | |
| margin: 0 12px; | |
| } | |
| .keys-row { | |
| display: flex; | |
| padding: 8px 6px; | |
| } | |
| .key { | |
| flex: 1; | |
| height: 120px; | |
| margin: 6px; | |
| background: #242424; | |
| border-radius: 24px; | |
| color: #F1F1F1; | |
| font-size: 44px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: inset 0 0 0 1px #2F2F2F; | |
| } | |
| .key.small { flex: 0.9; } | |
| .key.wide { flex: 4.5; } | |
| .key.action { background: #CFE1F8; color: #1C2B3A; } | |
| .key.gray { background: #78828A; color: #ffffff; } | |
| .key.icon svg { stroke: #EDEDED; } | |
| .key.icon.fill svg { fill: #EDEDED; stroke: none; } | |
| .gesture-bar { | |
| position: absolute; | |
| bottom: 12px; | |
| left: 50%; | |
| width: 240px; | |
| height: 10px; | |
| background: #EDEDED; | |
| border-radius: 6px; | |
| transform: translateX(-50%); | |
| opacity: 0.85; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Top app bar --> | |
| <div class="appbar"> | |
| <div class="status-bar"> | |
| <div>10:16</div> | |
| <div class="status-spacer"></div> | |
| <div class="status-icons"> | |
| <!-- Notifications placeholder --> | |
| <svg width="30" height="30" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9" stroke="#fff" fill="none"/></svg> | |
| <!-- Network --> | |
| <svg width="34" height="34" viewBox="0 0 24 24"> | |
| <path d="M2 9c4-4 16-4 20 0M5 12c3-3 11-3 14 0M8 15c2-2 6-2 8 0M12 18h0" stroke="#fff" fill="none" stroke-linecap="round"/> | |
| </svg> | |
| <!-- Battery --> | |
| <svg width="46" height="34" viewBox="0 0 28 16"> | |
| <rect x="1" y="3" width="22" height="10" rx="2" ry="2" fill="none" stroke="#fff" stroke-width="2"/> | |
| <rect x="3" y="5" width="18" height="6" rx="1" ry="1" fill="#fff"/> | |
| <rect x="24" y="6" width="3" height="4" rx="1" fill="#fff"/> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="search-row"> | |
| <!-- Back arrow --> | |
| <div class="icon-btn"> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <path d="M15 6l-6 6 6 6" /> | |
| </svg> | |
| </div> | |
| <input type="text" value="Hamilton, ON" /> | |
| <!-- Clear (X) --> | |
| <div class="icon-btn"> | |
| <svg width="48" height="48" viewBox="0 0 24 24"> | |
| <path d="M6 6l12 12M18 6L6 18" /> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main content --> | |
| <div class="content"> | |
| <div class="location-row"> | |
| <svg width="50" height="50" viewBox="0 0 24 24" fill="none"> | |
| <path d="M3 11l18-7-7 18-2-7-7-4z" stroke-width="2" stroke-linejoin="round" /> | |
| </svg> | |
| <span>Enable location to see nearby cities</span> | |
| </div> | |
| <div class="item"> | |
| <div class="item-title">Hamilton, ON</div> | |
| <div class="item-sub">Canada</div> | |
| </div> | |
| <div class="item"> | |
| <div class="item-title">London, ON</div> | |
| <div class="item-sub">Canada</div> | |
| </div> | |
| <div class="item"> | |
| <div class="item-title">Washington, D.C.</div> | |
| <div class="item-sub">United States</div> | |
| </div> | |
| <div class="item"> | |
| <div class="item-title">London</div> | |
| <div class="item-sub">United Kingdom</div> | |
| </div> | |
| <div class="item"> | |
| <div class="item-title">London Gatwick Airport</div> | |
| <div class="item-sub">United Kingdom</div> | |
| </div> | |
| <div class="item" style="border-bottom: none;"> | |
| <div class="item-title">Phoenix-Tempe, AZ</div> | |
| <div class="item-sub">United States</div> | |
| </div> | |
| </div> | |
| <!-- Keyboard --> | |
| <div class="keyboard"> | |
| <div class="suggestions"> | |
| <div class="suggest-left"> | |
| <!-- grid/dots icon --> | |
| <svg width="54" height="54" viewBox="0 0 24 24" class="fill"> | |
| <circle cx="5" cy="5" r="2"/> | |
| <circle cx="12" cy="5" r="2"/> | |
| <circle cx="19" cy="5" r="2"/> | |
| <circle cx="5" cy="12" r="2"/> | |
| <circle cx="12" cy="12" r="2"/> | |
| <circle cx="19" cy="12" r="2"/> | |
| <circle cx="5" cy="19" r="2"/> | |
| <circle cx="12" cy="19" r="2"/> | |
| <circle cx="19" cy="19" r="2"/> | |
| </svg> | |
| </div> | |
| <div class="pill">ON</div> | |
| <div class="pill">IN</div> | |
| <div class="pill">ONE</div> | |
| <div class="suggest-right"> | |
| <!-- mic icon --> | |
| <svg width="54" height="54" viewBox="0 0 24 24" class="fill"> | |
| <rect x="9" y="4" width="6" height="10" rx="3"/> | |
| <path d="M5 11a7 7 0 0 0 14 0M12 18v3" fill="none" stroke="#EDEDED" stroke-width="2"/> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="keys-row"> | |
| <div class="key">q</div><div class="key">w</div><div class="key">e</div><div class="key">r</div><div class="key">t</div><div class="key">y</div><div class="key">u</div><div class="key">i</div><div class="key">o</div><div class="key">p</div> | |
| </div> | |
| <div class="keys-row"> | |
| <div class="key small"></div> | |
| <div class="key">a</div><div class="key">s</div><div class="key">d</div><div class="key">f</div><div class="key">g</div><div class="key">h</div><div class="key">j</div><div class="key">k</div><div class="key">l</div> | |
| <div class="key small"></div> | |
| </div> | |
| <div class="keys-row"> | |
| <div class="key gray small">?123</div> | |
| <div class="key">z</div><div class="key">x</div><div class="key">c</div><div class="key">v</div><div class="key">b</div><div class="key">n</div><div class="key">m</div> | |
| <div class="key icon small"> | |
| <!-- backspace --> | |
| <svg width="46" height="46" viewBox="0 0 24 24"> | |
| <path d="M6 5l-4 7 4 7h13a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H6z" fill="none"/> | |
| <path d="M10 9l6 6M16 9l-6 6" stroke-width="2"/> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="keys-row"> | |
| <div class="key gray small">?123</div> | |
| <div class="key icon small"> | |
| <!-- emoji --> | |
| <svg width="40" height="40" viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="9" fill="none"/> | |
| <circle cx="9" cy="10" r="1.4"/> | |
| <circle cx="15" cy="10" r="1.4"/> | |
| <path d="M8 15c2 2 6 2 8 0" stroke-width="2" fill="none"/> | |
| </svg> | |
| </div> | |
| <div class="key wide">space</div> | |
| <div class="key">.</div> | |
| <div class="key action icon small"> | |
| <!-- search icon --> | |
| <svg width="40" height="40" viewBox="0 0 24 24"> | |
| <circle cx="11" cy="11" r="6" fill="none" stroke="#1C2B3A" stroke-width="2"/> | |
| <path d="M16 16l5 5" stroke="#1C2B3A" stroke-width="2" /> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="gesture-bar"></div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |