AndroidCode / code /10128 /10128_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.8 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Android Home UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, Helvetica, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
border-radius: 0;
background: radial-gradient(1200px 1600px at 20% 10%, #80907f 0%, #6e816e 40%, #5b6f5e 70%, #536a58 100%);
color: #fff;
}
/* abstract glassy curves */
.curve {
position: absolute;
border-radius: 50%;
filter: blur(0.2px);
mix-blend-mode: soft-light;
}
.curve.c1 {
width: 1400px; height: 2400px;
left: -420px; top: -200px;
background: linear-gradient(180deg, rgba(30,40,34,0.35), rgba(0,0,0,0.0));
border: 2px solid rgba(20,30,24,0.35);
transform: rotate(8deg);
}
.curve.c2 {
width: 1200px; height: 1700px;
right: -520px; top: 540px;
background: linear-gradient(180deg, rgba(16,22,18,0.55), rgba(0,0,0,0.0));
border: 2px solid rgba(15,25,18,0.5);
transform: rotate(-18deg);
}
.curve.c3 {
width: 1000px; height: 1400px;
right: -100px; top: 980px;
background: linear-gradient(140deg, rgba(0,0,0,0.3), rgba(0,0,0,0));
border: 2px solid rgba(25,35,28,0.45);
transform: rotate(12deg);
}
.status {
position: absolute;
top: 0; left: 0;
width: 100%; height: 96px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 38px;
font-size: 40px;
letter-spacing: 0.5px;
color: #f5f7f6;
}
.status .left { display: flex; align-items: center; gap: 20px; }
.status .right { display: flex; align-items: center; gap: 28px; }
/* simple right icons */
.icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.icon svg { width: 44px; height: 44px; fill: #fff; }
.date-widget {
position: absolute;
left: 68px; top: 210px;
color: #f7faf7;
}
.date-widget .day {
font-size: 72px; font-weight: 500;
}
.date-widget .weather {
display: flex; align-items: center; gap: 18px;
margin-top: 30px;
font-size: 40px; opacity: 0.95;
}
.weather .waves svg { width: 70px; height: 36px; }
/* apps grid */
.apps { position: absolute; left: 0; width: 100%; }
.apps.row1 { top: 1500px; }
.apps.row2 { top: 1758px; }
.app-row {
display: flex;
justify-content: space-around;
padding: 0 60px;
}
.app {
width: 210px;
text-align: center;
color: #f9f9f9;
}
.app .circle {
width: 170px; height: 170px;
background: #ffffff;
border-radius: 50%;
margin: 0 auto 20px auto;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
position: relative;
}
.app .label { font-size: 36px; text-shadow: 0 1px 1px rgba(0,0,0,0.25); }
/* gmail badge */
.badge {
position: absolute;
right: 14px; top: 14px;
width: 34px; height: 34px; border-radius: 50%;
background: #7bd1d5; border: 3px solid #fff;
}
/* Google search pill */
.search {
position: absolute;
left: 66px; bottom: 210px;
width: 948px; height: 128px;
background: #222629;
border: 2px solid rgba(255,255,255,0.08);
border-radius: 70px;
display: flex; align-items: center; justify-content: space-between;
padding: 0 34px 0 40px;
color: #dfe5df;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.search .left-group { display: flex; align-items: center; gap: 22px; }
.search .g {
width: 64px; height: 64px; border-radius: 50%;
background: #fff; display: flex; align-items: center; justify-content: center;
font-weight: 700; color: #4285F4; font-size: 40px;
}
.search .prompt { font-size: 40px; opacity: 0.9; }
/* bottom nav pill */
.nav-pill {
position: absolute; bottom: 40px; left: 50%;
transform: translateX(-50%);
width: 360px; height: 12px; background: rgba(230,235,230,0.6);
border-radius: 8px;
}
/* small helpers for app glyphs */
.glyph svg { width: 110px; height: 110px; }
.glyph-small svg { width: 90px; height: 90px; }
</style>
</head>
<body>
<div id="render-target">
<!-- abstract background shapes -->
<div class="curve c1"></div>
<div class="curve c2"></div>
<div class="curve c3"></div>
<!-- Status bar -->
<div class="status">
<div class="left">
<div>11:03</div>
</div>
<div class="right">
<!-- wifi -->
<span class="icon">
<svg viewBox="0 0 24 24">
<path d="M12 18.5c-.9 0-1.7.7-1.7 1.5S11.1 21.5 12 21.5s1.7-.7 1.7-1.5-.8-1.5-1.7-1.5zm7.6-6.9C16.6 8.1 13.4 7 12 7s-4.6 1.1-7.6 4.6l1.5 1.3C8.4 9.8 10.6 9 12 9s3.6.8 6.2 3.5l1.4-1.9zM12 3C8.5 3 4.9 4.4 1.7 7.7L3.3 9c2.8-2.7 5.7-4 8.7-4s5.9 1.3 8.7 4l1.6-1.3C19.1 4.4 15.5 3 12 3z"/>
</svg>
</span>
<!-- battery -->
<span class="icon">
<svg viewBox="0 0 24 24">
<path d="M17 6h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v1h-2v-1H7a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h10zm0 2H7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1z"/>
</svg>
</span>
</div>
</div>
<!-- Date and weather -->
<div class="date-widget">
<div class="day">Mon, Sep 11</div>
<div class="weather">
<span class="waves">
<svg viewBox="0 0 64 24">
<path d="M4 8c4 4 8 4 12 0s8-4 12 0 8 4 12 0" stroke="#e7efe6" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M4 16c4 4 8 4 12 0s8-4 12 0 8 4 12 0" stroke="#e7efe6" stroke-width="3" fill="none" stroke-linecap="round" opacity="0.9"/>
</svg>
</span>
<span>27°C</span>
</div>
</div>
<!-- App icons row 1 -->
<div class="apps row1">
<div class="app-row">
<!-- Play Store -->
<div class="app">
<div class="circle glyph">
<svg viewBox="0 0 64 64">
<path d="M14 10l28 22-28 22z" fill="#4CAF50"/>
<path d="M42 32l10 8-10 8-10-8z" fill="#F4B400"/>
<path d="M14 10l28 22-10 8L14 10z" fill="#4285F4"/>
<path d="M14 54l28-22-10-8-18 30z" fill="#DB4437"/>
</svg>
</div>
<div class="label">Play Store</div>
</div>
<!-- Gmail -->
<div class="app">
<div class="circle glyph">
<div class="badge"></div>
<svg viewBox="0 0 64 64">
<path d="M8 18v28a4 4 0 0 0 4 4h40a4 4 0 0 0 4-4V18L32 34 8 18z" fill="#ffffff"/>
<path d="M8 18l24 16 24-16v-2a4 4 0 0 0-4-4H12a4 4 0 0 0-4 4v2z" fill="#EA4335"/>
<path d="M12 20v30h8V26l12 8 12-8v24h8V20L32 34 12 20z" fill="#34A853"/>
<path d="M20 26v-8h24v8L32 34 20 26z" fill="#FBBC05"/>
<path d="M12 20l20 14L52 20" fill="none" stroke="#4285F4" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="label">Gmail</div>
</div>
<!-- Photos -->
<div class="app">
<div class="circle glyph-small">
<svg viewBox="0 0 64 64">
<circle cx="22" cy="22" r="12" fill="#FBBC05"/>
<circle cx="42" cy="22" r="12" fill="#34A853"/>
<circle cx="22" cy="42" r="12" fill="#EA4335"/>
<circle cx="42" cy="42" r="12" fill="#4285F4"/>
</svg>
</div>
<div class="label">Photos</div>
</div>
<!-- YouTube -->
<div class="app">
<div class="circle glyph-small">
<svg viewBox="0 0 64 64">
<rect x="8" y="18" width="48" height="28" rx="8" fill="#FF0000"/>
<path d="M28 24l16 10-16 10V24z" fill="#fff"/>
</svg>
</div>
<div class="label">YouTube</div>
</div>
</div>
</div>
<!-- App icons row 2 -->
<div class="apps row2">
<div class="app-row">
<!-- Phone -->
<div class="app">
<div class="circle glyph-small">
<svg viewBox="0 0 64 64">
<path d="M22 14l8 6-4 7c3 5 7 9 12 12l7-4 6 8-4 6c-2 2-6 3-9 2-8-3-18-13-21-21-1-3 0-7 2-9l3-3z" fill="#1E88E5"/>
</svg>
</div>
<div class="label">Phone</div>
</div>
<!-- Messages -->
<div class="app">
<div class="circle glyph-small">
<svg viewBox="0 0 64 64">
<path d="M10 14h44a6 6 0 0 1 6 6v18a6 6 0 0 1-6 6H26l-12 8v-8h-4a6 6 0 0 1-6-6V20a6 6 0 0 1 6-6z" fill="#2A74F5"/>
<rect x="18" y="24" width="28" height="6" rx="3" fill="#ffffff"/>
<rect x="18" y="34" width="20" height="6" rx="3" fill="#ffffff" opacity="0.95"/>
</svg>
</div>
<div class="label">Messages</div>
</div>
<!-- Chrome -->
<div class="app">
<div class="circle glyph">
<svg viewBox="0 0 64 64">
<circle cx="32" cy="32" r="28" fill="#DB4437"/>
<path d="M32 4a28 28 0 0 1 24 14H32z" fill="#F4B400"/>
<path d="M8 18l12 22h12l12-22" fill="#0F9D58" opacity="0.95"/>
<circle cx="32" cy="32" r="13" fill="#4285F4" stroke="#fff" stroke-width="2"/>
</svg>
</div>
<div class="label">Chrome</div>
</div>
<!-- Camera -->
<div class="app">
<div class="circle glyph">
<svg viewBox="0 0 64 64">
<rect x="8" y="18" width="48" height="30" rx="6" fill="#424B57"/>
<rect x="16" y="10" width="14" height="10" rx="3" fill="#2E3742"/>
<circle cx="32" cy="33" r="11" fill="#1E88E5"/>
<circle cx="32" cy="33" r="6" fill="#A6C8FF"/>
<circle cx="50" cy="22" r="3" fill="#A3B1BE"/>
</svg>
</div>
<div class="label">Camera</div>
</div>
</div>
</div>
<!-- Google search pill -->
<div class="search">
<div class="left-group">
<div class="g">G</div>
<div class="prompt">Search</div>
</div>
<div class="left-group">
<!-- mic -->
<span class="icon" style="width:56px;height:56px;">
<svg viewBox="0 0 24 24">
<path d="M12 14a3 3 0 0 0 3-3V7a3 3 0 0 0-6 0v4a3 3 0 0 0 3 3z" fill="#4CAF50"/>
<path d="M5 11a7 7 0 0 0 14 0h-2a5 5 0 0 1-10 0H5z" fill="#FBBC05"/>
<rect x="11" y="17" width="2" height="4" rx="1" fill="#4285F4"/>
</svg>
</span>
<!-- lens/camera -->
<span class="icon" style="width:56px;height:56px;">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="3" fill="#34A853"/>
<circle cx="12" cy="12" r="4" fill="#ffffff"/>
<circle cx="12" cy="12" r="2" fill="#4285F4"/>
</svg>
</span>
</div>
</div>
<!-- bottom navigation pill -->
<div class="nav-pill"></div>
</div>
</body>
</html>