AndroidCode / 25_0.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
raw
history blame
10.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Android Home Screen Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #CFCFCF; /* outer canvas behind wallpaper */
}
/* Wallpaper placeholder covering entire screen */
.wallpaper {
position: absolute;
inset: 0;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
justify-content: center;
align-items: center;
font-size: 34px;
letter-spacing: 0.5px;
}
/* Status bar */
.status-bar {
position: absolute;
top: 24px;
left: 28px;
right: 28px;
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
z-index: 2;
font-size: 30px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.status-icon svg {
width: 40px;
height: 40px;
fill: none;
stroke: #FFFFFF;
stroke-width: 3;
}
/* Date & Weather */
.date {
position: absolute;
top: 260px;
left: 60px;
color: #FFFFFF;
font-size: 64px;
font-weight: 500;
z-index: 2;
text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.weather {
position: absolute;
top: 348px;
left: 60px;
color: rgba(255,255,255,0.92);
font-size: 34px;
display: flex;
align-items: center;
gap: 16px;
z-index: 2;
text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.weather svg {
width: 44px;
height: 44px;
}
/* App grid */
.icon-grid {
position: absolute;
left: 42px;
right: 42px;
top: 1360px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(210px, auto);
row-gap: 170px;
z-index: 2;
}
.app {
display: flex;
flex-direction: column;
align-items: center;
}
.icon-circle {
width: 150px;
height: 150px;
border-radius: 50%;
background: #FFFFFF;
box-shadow: 0 6px 18px rgba(0,0,0,0.18);
display: flex;
align-items: center;
justify-content: center;
}
.icon-label {
margin-top: 26px;
font-size: 30px;
color: rgba(255,255,255,0.92);
text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
/* Dock search pill */
.dock {
position: absolute;
left: 80px;
right: 80px;
bottom: 170px;
height: 120px;
border-radius: 60px;
background: #2F2F2F;
z-index: 2;
display: flex;
align-items: center;
padding: 0 28px;
}
.dock-left {
display: flex;
align-items: center;
gap: 18px;
}
.dock-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 28px;
}
.dock svg {
width: 56px;
height: 56px;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 64px;
left: 420px;
width: 240px;
height: 12px;
border-radius: 6px;
background: rgba(255,255,255,0.55);
z-index: 2;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Wallpaper placeholder -->
<div class="wallpaper">[IMG: Account page background]</div>
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">8:15</div>
<div class="status-right">
<!-- Signal bars -->
<span class="status-icon" title="Cell Signal">
<svg viewBox="0 0 24 24">
<rect x="2" y="14" width="3" height="8" fill="#FFFFFF"></rect>
<rect x="7" y="10" width="3" height="12" fill="#FFFFFF"></rect>
<rect x="12" y="6" width="3" height="16" fill="#FFFFFF"></rect>
<rect x="17" y="2" width="3" height="20" fill="#FFFFFF"></rect>
</svg>
</span>
<!-- Wi‑Fi -->
<span class="status-icon" title="Wi‑Fi">
<svg viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#FFFFFF" stroke-linecap="round"></path>
<path d="M5 12c4-3 10-3 14 0" stroke="#FFFFFF" stroke-linecap="round"></path>
<path d="M8 16c3-2 5-2 8 0" stroke="#FFFFFF" stroke-linecap="round"></path>
<circle cx="12" cy="19" r="2" fill="#FFFFFF"></circle>
</svg>
</span>
<!-- Battery -->
<span class="status-icon" title="Battery">
<svg viewBox="0 0 28 18">
<rect x="1" y="2" width="22" height="14" rx="2" ry="2" stroke="#FFFFFF"></rect>
<rect x="24" y="6" width="3" height="6" rx="1" ry="1" fill="#FFFFFF"></rect>
<rect x="3" y="4" width="16" height="10" fill="#FFFFFF"></rect>
</svg>
</span>
</div>
</div>
<!-- Date & Weather -->
<div class="date">Fri, Jun 30</div>
<div class="weather">
<svg viewBox="0 0 48 48">
<path d="M4 18c5 4 15 4 20 0M8 26c4 3 12 3 16 0M12 34c3 2 9 2 12 0" stroke="#FFFFFF" stroke-width="3" stroke-linecap="round" fill="none"></path>
</svg>
<div>28°C · Today 33° · 5° · Fog</div>
</div>
<!-- App Grid -->
<div class="icon-grid">
<!-- Play Store -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<!-- Simple Play Store-like kite -->
<polygon points="10,10 46,32 10,54" fill="#34A853"></polygon>
<polygon points="10,10 30,22 46,10" fill="#4285F4"></polygon>
<polygon points="10,54 30,42 46,54" fill="#FBBC04"></polygon>
<polygon points="30,22 30,42 46,32" fill="#EA4335"></polygon>
</svg>
</div>
<div class="icon-label">Play Store</div>
</div>
<!-- Gmail -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<rect x="10" y="18" width="44" height="28" rx="4" ry="4" fill="#FFFFFF" stroke="#BDBDBD"></rect>
<path d="M12 20 L32 36 L52 20" stroke-width="6" stroke-linecap="round" fill="none" stroke="#EA4335"></path>
<path d="M12 46 L12 24 L32 40 L52 24 L52 46" stroke-width="6" stroke-linecap="round" fill="none" stroke="#34A853"></path>
<path d="M12 24 L32 40 L52 24" stroke-width="6" stroke-linecap="round" fill="none" stroke="#FBBC04"></path>
<path d="M12 24 L32 40 L52 24" stroke-width="6" stroke-linecap="round" fill="none" stroke="#4285F4" opacity="0.8"></path>
</svg>
</div>
<div class="icon-label">Gmail</div>
</div>
<!-- Photos -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<circle cx="24" cy="24" r="12" fill="#EA4335"></circle>
<circle cx="40" cy="24" r="12" fill="#FBBC04"></circle>
<circle cx="24" cy="40" r="12" fill="#34A853"></circle>
<circle cx="40" cy="40" r="12" fill="#4285F4"></circle>
</svg>
</div>
<div class="icon-label">Photos</div>
</div>
<!-- YouTube -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<rect x="14" y="18" width="36" height="28" rx="6" ry="6" fill="#FF0000"></rect>
<polygon points="28,24 28,40 42,32" fill="#FFFFFF"></polygon>
</svg>
</div>
<div class="icon-label">YouTube</div>
</div>
<!-- Phone -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<path d="M20 18c4 0 6 6 6 6s-4 4-4 6c2 6 12 12 18 14 2-2 6-4 6-4s6 2 6 6c-1 4-8 6-12 6-18-4-28-18-30-32 0-4 2-10 6-12 4 0 4 4 4 4z" fill="#1A73E8"></path>
</svg>
</div>
<div class="icon-label">Play Store</div>
</div>
<!-- Messages -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<rect x="12" y="14" width="40" height="30" rx="10" ry="10" fill="#4285F4"></rect>
<rect x="20" y="38" width="14" height="10" rx="5" ry="5" fill="#FFFFFF"></rect>
</svg>
</div>
<div class="icon-label">Gmail</div>
</div>
<!-- Chrome -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<circle cx="32" cy="32" r="28" fill="#EA4335"></circle>
<path d="M32 32 L54 32 A22 22 0 0 1 20 54" fill="#FBBC04"></path>
<path d="M32 32 L20 54 A22 22 0 0 1 10 20" fill="#34A853"></path>
<circle cx="32" cy="32" r="12" fill="#4285F4" stroke="#FFFFFF" stroke-width="3"></circle>
</svg>
</div>
<div class="icon-label">Photos</div>
</div>
<!-- Camera -->
<div class="app">
<div class="icon-circle">
<svg viewBox="0 0 64 64">
<rect x="12" y="20" width="40" height="26" rx="6" ry="6" fill="#FFFFFF" stroke="#9E9E9E" stroke-width="3"></rect>
<rect x="20" y="12" width="12" height="8" rx="3" ry="3" fill="#9E9E9E"></rect>
<circle cx="32" cy="33" r="10" fill="#4285F4"></circle>
</svg>
</div>
<div class="icon-label">YouTube</div>
</div>
</div>
<!-- Dock Search -->
<div class="dock">
<div class="dock-left">
<!-- Google G simplified -->
<svg viewBox="0 0 64 64">
<circle cx="32" cy="32" r="26" fill="#FFFFFF"></circle>
<path d="M32 16a16 16 0 1 0 11.3 27.3" stroke="#4285F4" stroke-width="6" fill="none"></path>
<path d="M32 16a16 16 0 0 1 11 4" stroke="#EA4335" stroke-width="6" fill="none"></path>
<path d="M43 20a16 16 0 0 1 0 24" stroke="#FBBC04" stroke-width="6" fill="none"></path>
<path d="M32 48a16 16 0 0 1-11-4" stroke="#34A853" stroke-width="6" fill="none"></path>
</svg>
</div>
<div class="dock-right">
<!-- Mic -->
<svg viewBox="0 0 64 64">
<rect x="26" y="16" width="12" height="24" rx="6" ry="6" fill="#FFFFFF"></rect>
<path d="M16 30c0 10 8 18 16 18s16-8 16-18" stroke="#FFFFFF" stroke-width="4" fill="none"></path>
<rect x="30" y="48" width="4" height="8" fill="#FFFFFF"></rect>
<rect x="26" y="56" width="12" height="4" rx="2" ry="2" fill="#FFFFFF"></rect>
</svg>
<!-- Camera/Lens -->
<svg viewBox="0 0 64 64">
<rect x="12" y="20" width="40" height="26" rx="10" ry="10" fill="#FFFFFF"></rect>
<circle cx="32" cy="33" r="9" fill="#4285F4"></circle>
<rect x="22" y="12" width="14" height="8" rx="4" ry="4" fill="#EA4335"></rect>
</svg>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>