AndroidCode / code /10182 /10182_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
11.4 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Android Home UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
}
/* Wallpaper placeholder */
.wallpaper {
position: absolute;
left: 0; top: 0; width: 100%; height: 100%;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex; align-items: center; justify-content: center;
font-size: 28px; letter-spacing: 0.5px;
}
/* Overlay content */
.overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; color: #FFFFFF; }
/* Status bar */
.status-bar {
position: absolute; top: 22px; left: 24px; right: 24px; height: 60px;
display: flex; align-items: center; justify-content: space-between;
color: #fff;
}
.status-left { font-size: 28px; font-weight: 600; letter-spacing: 0.5px; }
.status-right { display: flex; gap: 18px; align-items: center; }
.icon { width: 30px; height: 30px; }
/* Date & weather */
.date-block { position: absolute; left: 52px; top: 300px; }
.date-title { font-size: 64px; font-weight: 600; margin-bottom: 18px; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.weather-line { display: flex; align-items: center; gap: 16px; font-size: 28px; opacity: 0.95; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
/* App grid */
.app-grid {
position: absolute; left: 0; right: 0;
top: 1500px;
display: flex; justify-content: space-around; align-items: flex-start;
padding: 0 40px;
}
.app { width: 180px; text-align: center; color: #fff; }
.app .circle {
width: 160px; height: 160px; background: #fff; border-radius: 50%;
margin: 0 auto 22px auto; position: relative; box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.app-label { font-size: 30px; text-shadow: 0 2px 6px rgba(0,0,0,0.35); }
/* Dock */
.dock {
position: absolute; left: 0; right: 0; top: 1820px;
display: flex; justify-content: space-around; padding: 0 90px;
}
.dock .circle {
width: 140px; height: 140px; background: #fff; border-radius: 50%;
box-shadow: 0 8px 20px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: center;
}
/* Search bar */
.search-bar {
position: absolute; left: 60px; right: 60px; top: 2020px; height: 120px;
background: #fff; border-radius: 60px; box-shadow: 0 10px 24px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: space-between;
padding: 0 36px;
}
.search-left { display: flex; align-items: center; gap: 22px; }
.search-right { display: flex; align-items: center; gap: 36px; }
.search-placeholder {
color: #777; font-size: 32px;
}
/* Home gesture pill */
.home-pill {
position: absolute; bottom: 36px; left: 50%;
transform: translateX(-50%);
width: 360px; height: 14px; background: rgba(255,255,255,0.85);
border-radius: 10px;
}
/* Utility: small notification dot */
.notify-dot {
position: absolute; right: 14px; top: 14px;
width: 34px; height: 34px; background: #F6A8C8; border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
</style>
</head>
<body>
<div id="render-target">
<div class="wallpaper">[IMG: Rocky cliff wallpaper]</div>
<div class="overlay">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">8:20</div>
<div class="status-right">
<!-- Notification dot icon representation -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#ffffff" opacity="0.9"></circle>
</svg>
<!-- Cast/record icon (simple) -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="12" rx="2" fill="#ffffff" opacity="0.9"></rect>
<circle cx="18" cy="12" r="3" fill="#ffffff"></circle>
</svg>
<!-- Wi-Fi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.9"/>
<path d="M5 11c4-3 10-3 14 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.9"/>
<path d="M9 15c2-2 4-2 6 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.9"/>
<circle cx="12" cy="18" r="2" fill="#fff"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 26 24">
<rect x="2" y="6" width="18" height="12" rx="2" stroke="#fff" stroke-width="2" fill="none"></rect>
<rect x="4" y="8" width="14" height="8" fill="#fff"></rect>
<rect x="20" y="9" width="3" height="6" rx="1" fill="#fff"></rect>
</svg>
</div>
</div>
<!-- Date & Weather -->
<div class="date-block">
<div class="date-title">Thu, Jul 27</div>
<div class="weather-line">
<!-- Fog icon: wavy lines -->
<svg width="46" height="30" viewBox="0 0 46 30">
<path d="M2 8c4 3 10 3 14 0s10-3 14 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.95"/>
<path d="M2 18c4 3 10 3 14 0s10-3 14 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.95"/>
<path d="M2 26c4 3 10 3 14 0s10-3 14 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.95"/>
</svg>
<div>28°C · Today 31° / 26° · Fog</div>
</div>
</div>
<!-- App Grid Row -->
<div class="app-grid">
<!-- Play Store -->
<div class="app">
<div class="circle">
<svg viewBox="0 0 160 160" width="160" height="160">
<defs>
<clipPath id="clipCircle"><circle cx="80" cy="80" r="78"/></clipPath>
</defs>
<g clip-path="url(#clipCircle)">
<polygon points="40,45 110,80 40,115" fill="#34A853"/>
<polygon points="60,40 110,80 60,80" fill="#4285F4"/>
<polygon points="60,80 110,80 70,120" fill="#FBBC04"/>
<polygon points="40,45 60,40 60,120 40,115" fill="#EA4335"/>
</g>
</svg>
</div>
<div class="app-label">Play Store</div>
</div>
<!-- Gmail -->
<div class="app">
<div class="circle">
<svg viewBox="0 0 160 160" width="160" height="160">
<rect x="34" y="50" width="92" height="60" rx="10" fill="#ffffff"/>
<path d="M34 60 L80 95 L126 60" stroke="#ccc" stroke-width="6" fill="none"/>
<path d="M40 55 L80 85 L120 55" stroke="#EA4335" stroke-width="16" fill="none"/>
<path d="M40 55 L40 110" stroke="#34A853" stroke-width="16"/>
<path d="M120 55 L120 110" stroke="#4285F4" stroke-width="16"/>
<path d="M40 110 L120 110" stroke="#FBBC04" stroke-width="16"/>
</svg>
</div>
<div class="app-label">Gmail</div>
</div>
<!-- Photos -->
<div class="app">
<div class="circle">
<svg viewBox="0 0 160 160" width="160" height="160">
<circle cx="80" cy="80" r="20" fill="#fff"/>
<path d="M80 40 a40 40 0 0 1 40 40 h-40 z" fill="#4285F4"/>
<path d="M120 80 a40 40 0 0 1 -40 40 v-40 z" fill="#34A853"/>
<path d="M80 120 a40 40 0 0 1 -40 -40 h40z" fill="#FBBC04"/>
<path d="M40 80 a40 40 0 0 1 40 -40 v40z" fill="#EA4335"/>
</svg>
</div>
<div class="app-label">Photos</div>
</div>
<!-- YouTube -->
<div class="app">
<div class="circle">
<svg viewBox="0 0 160 160" width="160" height="160">
<rect x="38" y="55" width="84" height="50" rx="12" fill="#FF0000"/>
<polygon points="70,65 70,95 100,80" fill="#fff"/>
</svg>
<div class="notify-dot"></div>
</div>
<div class="app-label">YouTube</div>
</div>
</div>
<!-- Dock Icons -->
<div class="dock">
<!-- Phone -->
<div class="circle">
<svg viewBox="0 0 120 120" width="90" height="90">
<path d="M40 25c-6 6-6 16 0 22l10 10c8-3 16-9 22-16l-10-10c-6-6-16-6-22 0z" fill="#3B82F6" opacity="0.9"/>
<path d="M55 78c14-5 26-16 32-30l12 12c-10 18-26 30-44 36l-16-18z" fill="#1D4ED8"/>
</svg>
</div>
<!-- Messages -->
<div class="circle">
<svg viewBox="0 0 120 120" width="90" height="90">
<rect x="24" y="28" width="72" height="48" rx="18" fill="#4F9EF9"/>
<rect x="36" y="42" width="48" height="26" rx="12" fill="#1A73E8"/>
<path d="M60 76 L44 92 L64 86" fill="#4F9EF9"/>
</svg>
</div>
<!-- Chrome -->
<div class="circle">
<svg viewBox="0 0 120 120" width="90" height="90">
<circle cx="60" cy="60" r="45" fill="#fff"/>
<path d="M60 60 L100 60 A40 40 0 0 0 32 30z" fill="#EA4335"/>
<path d="M60 60 L32 30 A40 40 0 0 0 34 98z" fill="#FBBC04"/>
<path d="M60 60 L34 98 A40 40 0 0 0 100 60z" fill="#34A853"/>
<circle cx="60" cy="60" r="22" fill="#4285F4"/>
<circle cx="60" cy="60" r="12" fill="#73B0FF"/>
</svg>
</div>
<!-- Camera -->
<div class="circle">
<svg viewBox="0 0 120 120" width="90" height="90">
<rect x="24" y="36" width="72" height="44" rx="10" fill="#8A98A6"/>
<rect x="40" y="30" width="20" height="12" rx="4" fill="#6E7A88"/>
<circle cx="60" cy="58" r="16" fill="#3B4D66"/>
<circle cx="60" cy="58" r="10" fill="#5E7FB1"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-bar">
<div class="search-left">
<!-- Google G -->
<svg width="56" height="56" viewBox="0 0 56 56">
<circle cx="28" cy="28" r="26" fill="#fff"/>
<path d="M28 14a14 14 0 1 0 0 28c6 0 10-3 12-6l-6-4c-2 3-4 4-6 4a8 8 0 1 1 0-16c3 0 6 1 8 3l6-4c-3-4-8-5-14-5z" fill="#4285F4"/>
<path d="M20 34l-4 4a14 14 0 0 0 12 4v-6c-3 0-6-1-8-2z" fill="#34A853"/>
<path d="M36 22l6-4a14 14 0 0 0-14-4v6c3 0 6 1 8 2z" fill="#FBBC04"/>
<path d="M40 28h-12v6h12a14 14 0 0 0 0-6z" fill="#EA4335"/>
</svg>
<div class="search-placeholder">Search…</div>
</div>
<div class="search-right">
<!-- Microphone -->
<svg width="40" height="40" viewBox="0 0 24 24">
<rect x="8" y="4" width="8" height="10" rx="4" fill="#4285F4"/>
<rect x="10" y="6" width="4" height="6" rx="2" fill="#fff"/>
<path d="M6 11c0 4 3 7 6 7s6-3 6-7" stroke="#EA4335" stroke-width="2" fill="none"/>
<rect x="11" y="18" width="2" height="3" fill="#34A853"/>
<rect x="9" y="21" width="6" height="1.5" fill="#FBBC04"/>
</svg>
<!-- Lens/Camera -->
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="4" y="6" width="16" height="12" rx="4" fill="#fff" stroke="#ccc"/>
<circle cx="12" cy="12" r="4" fill="#4285F4"/>
<rect x="7" y="4" width="4" height="3" rx="1" fill="#EA4335"/>
<rect x="15" y="4" width="4" height="3" rx="1" fill="#FBBC04"/>
<rect x="19" y="9" width="2" height="6" rx="1" fill="#34A853"/>
</svg>
</div>
</div>
<!-- Home gesture pill -->
<div class="home-pill"></div>
</div>
</div>
</body>
</html>