AndroidCode / code /10132 /10132_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
8.91 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Android Home UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #0a0d14;
}
/* Wallpaper placeholder */
.wallpaper {
position: absolute;
left: 0; top: 0; width: 1080px; height: 2400px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex; justify-content: center; align-items: center;
font-size: 28px; letter-spacing: 0.5px;
}
/* Status bar */
.status-bar {
position: absolute; left: 0; top: 0; width: 100%; height: 110px;
background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0));
color: #fff;
font-family: Arial, Helvetica, sans-serif;
}
.status-left {
position: absolute; left: 34px; top: 30px; display: flex; align-items: center; gap: 18px;
font-size: 44px; font-weight: 600;
}
.status-right {
position: absolute; right: 34px; top: 36px; display: flex; align-items: center; gap: 26px;
}
.status-icon svg { width: 36px; height: 36px; fill: #fff; }
/* App icon + label near top-left */
.top-app {
position: absolute;
left: 94px; top: 420px;
display: flex; flex-direction: column; align-items: center;
color: #fff;
text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.app-circle {
width: 220px; height: 220px; border-radius: 50%;
background: #ECECEC; box-shadow: 0 8px 22px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: center;
}
.app-circle .m-label {
font-size: 140px; font-weight: 800; color: #E66A2B; line-height: 1;
}
.top-app .app-name {
margin-top: 20px; font-size: 44px;
}
/* Rows of icons */
.dock-row {
position: absolute; left: 60px; right: 60px;
display: flex; justify-content: space-between; align-items: flex-start;
color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.row-1 { top: 1500px; }
.row-2 { top: 1815px; }
.icon-block {
width: 210px;
display: flex; flex-direction: column; align-items: center;
}
.icon-circle {
width: 180px; height: 180px; border-radius: 50%;
background: #ECECEC; box-shadow: 0 8px 22px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 120px; height: 120px; }
.icon-label {
margin-top: 18px; font-size: 40px; font-weight: 500;
}
/* USB debugging prompt (translucent) */
.usb-banner {
position: absolute; left: 60px; bottom: 190px; width: 960px;
background: rgba(0,0,0,0.65); color: #fff;
border-radius: 36px; padding: 28px 32px;
font-size: 36px; line-height: 1.35;
display: flex; gap: 22px; align-items: flex-start;
backdrop-filter: blur(2px);
}
.usb-icon {
width: 72px; height: 72px; border-radius: 18px;
background: #ECECEC; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-weight: 700;
flex-shrink: 0;
}
.home-pill {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 90px; width: 320px; height: 14px; border-radius: 7px;
background: #fff; opacity: 0.75;
}
</style>
</head>
<body>
<div id="render-target">
<div class="wallpaper">[IMG: Abstract dark blue wallpaper]</div>
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>9:06</div>
<div class="status-icon">
<!-- Download icon -->
<svg viewBox="0 0 24 24">
<path d="M12 3v9l4-4 1 1-6 6-6-6 1-1 4 4V3h2zM4 19h16v2H4z"></path>
</svg>
</div>
</div>
<div class="status-right">
<div class="status-icon">
<!-- WiFi icon -->
<svg viewBox="0 0 24 24">
<path d="M12 18.5l2.5-2.5a3.5 3.5 0 0 0-5 0L12 18.5zm-5-5 1.2 1.2a7 7 0 0 1 9.6 0L19 13.5a9 9 0 0 0-14 0zm-3-3 1.2 1.2a12 12 0 0 1 17.6 0L22 10.5a14 14 0 0 0-20 0z"></path>
</svg>
</div>
<div class="status-icon">
<!-- Battery icon -->
<svg viewBox="0 0 24 24">
<path d="M20 8h1v8h-1v2H4V6h16v2zM6 8v10h12V8H6z"></path>
</svg>
</div>
</div>
</div>
<!-- Top-left app -->
<div class="top-app">
<div class="app-circle">
<div class="m-label">M</div>
</div>
<div class="app-name">Migros</div>
</div>
<!-- Row 1: Play Store, Photos, Gmail, YouTube -->
<div class="dock-row row-1">
<div class="icon-block">
<div class="icon-circle">
<!-- Play Store (simplified) -->
<svg viewBox="0 0 64 64">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#35A852"/><stop offset="1" stop-color="#4285F4"/>
</linearGradient>
</defs>
<path d="M12 10l34 22-34 22V10z" fill="url(#g1)"></path>
<path d="M12 10l10 12-10 10V10z" fill="#EA4335"></path>
<path d="M22 22l24 10-10 12-14-22z" fill="#FBBC04"></path>
</svg>
</div>
<div class="icon-label">Play Store</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- Photos (simplified) -->
<svg viewBox="0 0 64 64">
<circle cx="32" cy="20" r="10" fill="#EA4335"></circle>
<circle cx="20" cy="32" r="10" fill="#FBBC04"></circle>
<circle cx="32" cy="44" r="10" fill="#34A853"></circle>
<circle cx="44" cy="32" r="10" fill="#4285F4"></circle>
</svg>
</div>
<div class="icon-label">Photos</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- Gmail (simplified M) -->
<svg viewBox="0 0 64 64">
<rect x="10" y="16" width="44" height="32" rx="6" ry="6" fill="#fff" stroke="#DADCE0" stroke-width="2"></rect>
<path d="M12 20l20 14 20-14v8L32 42 12 28v-8z" fill="#EA4335"></path>
<path d="M12 20l20 14 0-10-12-8H12z" fill="#FBBC04"></path>
<path d="M52 20H44l-12 8v10l20-14v-4z" fill="#34A853"></path>
<path d="M32 24l-20-4 20 14 20-14-20 4z" fill="#4285F4" opacity="0.6"></path>
</svg>
</div>
<div class="icon-label">Gmail</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- YouTube -->
<svg viewBox="0 0 64 64">
<rect x="12" y="18" width="40" height="28" rx="8" ry="8" fill="#FF0000"></rect>
<polygon points="28,24 28,40 42,32" fill="#fff"></polygon>
</svg>
</div>
<div class="icon-label">YouTube</div>
</div>
</div>
<!-- Row 2: Phone, Messages, Chrome, Camera -->
<div class="dock-row row-2">
<div class="icon-block">
<div class="icon-circle">
<!-- Phone -->
<svg viewBox="0 0 64 64">
<path d="M22 14c-3 0-6 3-4 8 2 6 8 13 14 18s12 8 18 10c5 2 8-1 8-4l-6-9c-2-2-5 0-7 1l-4-3c-3-2-6-6-8-9l-3-4c1-2 3-5 1-7l-9-6z" fill="#4E8FF7"></path>
</svg>
</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- Messages -->
<svg viewBox="0 0 64 64">
<rect x="10" y="14" width="44" height="30" rx="8" fill="#7AA7FF"></rect>
<polygon points="16,44 26,44 24,52" fill="#7AA7FF"></polygon>
<rect x="18" y="24" width="10" height="4" fill="#fff"></rect>
<rect x="32" y="24" width="14" height="4" fill="#fff"></rect>
</svg>
</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- Chrome -->
<svg viewBox="0 0 64 64">
<circle cx="32" cy="32" r="12" fill="#46A5F5"></circle>
<path d="M32 12a20 20 0 0 1 18 10H34a12 12 0 0 0-2-10z" fill="#EA4335"></path>
<path d="M50 22a20 20 0 0 1-6 26l-10-17a12 12 0 0 0 16-9z" fill="#FBBC04"></path>
<path d="M44 48a20 20 0 0 1-30-12h20a12 12 0 0 0 10 12z" fill="#34A853"></path>
</svg>
</div>
</div>
<div class="icon-block">
<div class="icon-circle">
<!-- Camera -->
<svg viewBox="0 0 64 64">
<rect x="10" y="18" width="44" height="28" rx="6" fill="#B0B5BD"></rect>
<rect x="16" y="14" width="12" height="8" rx="2" fill="#8B9098"></rect>
<circle cx="32" cy="32" r="10" fill="#7A7F87"></circle>
<circle cx="32" cy="32" r="6" fill="#C7CBD1"></circle>
</svg>
</div>
</div>
</div>
<!-- USB debugging prompt -->
<div class="usb-banner">
<div class="usb-icon">G</div>
<div>
<div style="font-weight:700; margin-bottom:8px;">Allow USB debugging?</div>
<div>The computer's RSA key fingerprint is:</div>
<div style="opacity:0.85;">EC:1B:4F:FF:29:FC:26:35:D7:AA:4B:1D:13:B:D:D8:3</div>
</div>
</div>
<!-- Home pill -->
<div class="home-pill"></div>
</div>
</body>
</html>