AndroidCode / code /10119 /10119_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
10.9 kB
<!DOCTYPE html>
<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, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #000;
border-radius: 32px;
box-shadow: 0 20px 60px rgba(0,0,0,0.35);
color: #fff;
}
/* Wallpaper placeholder */
.wallpaper {
position: absolute;
left: 0; top: 0; right: 0; bottom: 0;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 32px;
letter-spacing: 0.2px;
}
.scrim {
position: absolute;
inset: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.35));
pointer-events: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 24px;
left: 24px;
right: 24px;
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
font-weight: 500;
}
.status-left {
display: flex;
align-items: center;
gap: 14px;
}
.clock {
font-size: 40px;
line-height: 40px;
text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.status-mini {
display: inline-flex;
gap: 8px;
align-items: center;
}
.status-mini svg { opacity: 0.95; }
.status-right {
display: flex;
align-items: center;
gap: 16px;
}
/* Date and weather */
.date-weather {
position: absolute;
top: 210px;
left: 48px;
color: #FFFFFF;
}
.date-weather .date {
font-size: 64px;
font-weight: 500;
letter-spacing: 0.2px;
text-shadow: 0 3px 8px rgba(0,0,0,0.45);
}
.date-weather .weather {
margin-top: 18px;
display: flex;
align-items: center;
gap: 14px;
font-size: 32px;
opacity: 0.95;
text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
/* App grid */
.app-grid {
position: absolute;
top: 1420px;
left: 0;
right: 0;
display: flex;
justify-content: space-around;
padding: 0 90px;
}
.app {
width: 180px;
text-align: center;
color: #fff;
}
.icon-circle {
width: 160px;
height: 160px;
border-radius: 50%;
background: #FFFFFF;
box-shadow: 0 12px 28px rgba(0,0,0,0.35);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.app-label {
margin-top: 14px;
font-size: 28px;
font-weight: 500;
text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
/* Dock */
.dock {
position: absolute;
bottom: 340px;
left: 0; right: 0;
display: flex;
justify-content: space-evenly;
padding: 0 80px;
}
.dock .icon-circle {
width: 140px;
height: 140px;
}
/* Search bar */
.search-bar {
position: absolute;
left: 60px;
right: 60px;
bottom: 200px;
height: 120px;
background: rgba(32,32,32,0.85);
border-radius: 60px;
box-shadow: 0 12px 28px rgba(0,0,0,0.45);
display: flex;
align-items: center;
padding: 0 34px;
color: #DADADA;
}
.search-left, .search-right {
display: flex;
align-items: center;
gap: 18px;
}
.search-left {
flex: 1;
gap: 22px;
}
.search-text {
font-size: 32px;
color: #D0D0D0;
}
.search-g {
width: 64px;
height: 64px;
border-radius: 32px;
background: #FFF;
display: flex; align-items: center; justify-content: center;
font-weight: 700; font-size: 34px;
color: #4285F4;
}
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 52px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 12px;
background: #FFFFFF;
border-radius: 12px;
opacity: 0.85;
}
/* Utility */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Wallpaper placeholder -->
<div class="wallpaper">[IMG: Browser interface background]</div>
<div class="scrim"></div>
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div class="clock">10:20</div>
<div class="status-mini">
<!-- small screen icon -->
<svg width="28" height="20" viewBox="0 0 28 20">
<rect x="1" y="3" width="24" height="14" rx="2" fill="#FFFFFF" opacity="0.7"></rect>
<rect x="4" y="6" width="18" height="8" fill="#000000" opacity="0.6"></rect>
</svg>
<!-- small video icon -->
<svg width="28" height="20" viewBox="0 0 28 20">
<rect x="2" y="4" width="16" height="12" rx="2" fill="#FFFFFF" opacity="0.75"></rect>
<polygon points="20,7 26,10 20,13" fill="#FFFFFF" opacity="0.75"></polygon>
</svg>
</div>
</div>
<div class="status-right">
<!-- WiFi icon -->
<svg width="34" height="24" viewBox="0 0 34 24">
<path d="M2 6c8-6 22-6 30 0" stroke="#FFFFFF" stroke-width="2.6" fill="none" opacity="0.9"></path>
<path d="M7 11c6-4 14-4 20 0" stroke="#FFFFFF" stroke-width="2.6" fill="none" opacity="0.9"></path>
<path d="M13 16c4-3 8-3 12 0" stroke="#FFFFFF" stroke-width="2.6" fill="none" opacity="0.9"></path>
<circle cx="17" cy="20" r="2.8" fill="#FFFFFF" opacity="0.95"></circle>
</svg>
<!-- Battery icon -->
<svg width="38" height="24" viewBox="0 0 38 24">
<rect x="1" y="4" width="30" height="16" rx="3" stroke="#FFFFFF" stroke-width="2" fill="none" opacity="0.9"></rect>
<rect x="3" y="6" width="22" height="12" rx="2" fill="#FFFFFF" opacity="0.95"></rect>
<rect x="32" y="9" width="4" height="6" rx="1" fill="#FFFFFF" opacity="0.9"></rect>
</svg>
</div>
</div>
<!-- Date & Weather -->
<div class="date-weather">
<div class="date">Mon, Jun 26</div>
<div class="weather">
<!-- Cloud icon -->
<svg width="40" height="40" viewBox="0 0 40 40">
<path d="M14 26h14a6 6 0 0 0 0-12c-1.4 0-2.7.4-3.8 1.1A8 8 0 0 0 10 18a6.5 6.5 0 0 0 4 8z" fill="#FFFFFF"></path>
</svg>
<span>28°C · Today 29° / 26° · Cloudy</span>
</div>
</div>
<!-- App Grid Row -->
<div class="app-grid">
<!-- Play Store -->
<div class="app">
<div class="icon-circle">
<svg width="96" height="96" viewBox="0 0 96 96">
<polygon points="18,16 76,48 18,80" fill="#34A853"></polygon>
<polygon points="18,16 40,40 18,40" fill="#FBBC04"></polygon>
<polygon points="18,80 40,56 18,56" fill="#EA4335"></polygon>
<polygon points="40,40 76,48 40,56" fill="#4285F4"></polygon>
</svg>
</div>
<div class="app-label">Play Store</div>
</div>
<!-- Gmail -->
<div class="app">
<div class="icon-circle">
<svg width="96" height="96" viewBox="0 0 96 96">
<rect x="16" y="26" width="64" height="44" rx="8" fill="#FFFFFF" stroke="#DADADA" stroke-width="2"></rect>
<path d="M18 28 L48 50 L78 28" stroke="#EA4335" stroke-width="10" fill="none"></path>
<path d="M18 72 L18 36 L48 56 L78 36 L78 72" stroke="#34A853" stroke-width="8" fill="none" opacity="0.9"></path>
</svg>
</div>
<div class="app-label">Gmail</div>
</div>
<!-- Photos -->
<div class="app">
<div class="icon-circle">
<svg width="96" height="96" viewBox="0 0 96 96">
<path d="M48 48 L48 16 A32 32 0 0 1 80 48 Z" fill="#EA4335"></path>
<path d="M48 48 L80 48 A32 32 0 0 1 48 80 Z" fill="#FBBC04"></path>
<path d="M48 48 L48 80 A32 32 0 0 1 16 48 Z" fill="#34A853"></path>
<path d="M48 48 L16 48 A32 32 0 0 1 48 16 Z" fill="#4285F4"></path>
<circle cx="48" cy="48" r="10" fill="#FFFFFF"></circle>
</svg>
</div>
<div class="app-label">Photos</div>
</div>
<!-- YouTube -->
<div class="app">
<div class="icon-circle">
<svg width="96" height="96" viewBox="0 0 96 96">
<rect x="16" y="26" width="64" height="44" rx="10" fill="#FF0000"></rect>
<polygon points="44,34 66,48 44,62" fill="#FFFFFF"></polygon>
</svg>
</div>
<div class="app-label">YouTube</div>
</div>
</div>
<!-- Dock -->
<div class="dock">
<!-- Phone -->
<div class="icon-circle">
<svg width="80" height="80" viewBox="0 0 80 80">
<path d="M24 20c6 18 18 30 36 36l-6 8c-3 1-8-1-14-5s-12-10-16-16-6-11-5-14l5-6z" fill="#1A73E8"></path>
</svg>
</div>
<!-- Messages -->
<div class="icon-circle">
<svg width="80" height="80" viewBox="0 0 80 80">
<rect x="14" y="16" width="52" height="40" rx="12" fill="#007AFF"></rect>
<polygon points="26,56 32,44 44,56" fill="#007AFF"></polygon>
<circle cx="28" cy="36" r="4" fill="#FFFFFF"></circle>
<circle cx="40" cy="36" r="4" fill="#FFFFFF"></circle>
<circle cx="52" cy="36" r="4" fill="#FFFFFF"></circle>
</svg>
</div>
<!-- Chrome -->
<div class="icon-circle">
<svg width="80" height="80" viewBox="0 0 80 80">
<circle cx="40" cy="40" r="36" fill="#EA4335"></circle>
<path d="M40 40 L10 40 A30 30 0 0 1 35 12 L40 40 Z" fill="#FBBC04"></path>
<path d="M40 40 L56 12 A30 30 0 0 1 70 40 L40 40 Z" fill="#34A853"></path>
<circle cx="40" cy="40" r="16" fill="#4285F4" stroke="#FFFFFF" stroke-width="2"></circle>
</svg>
</div>
<!-- Camera -->
<div class="icon-circle">
<svg width="80" height="80" viewBox="0 0 80 80">
<rect x="16" y="26" width="48" height="32" rx="8" fill="#3C4043"></rect>
<rect x="24" y="20" width="16" height="8" rx="4" fill="#5F6368"></rect>
<circle cx="40" cy="42" r="10" fill="#1A73E8"></circle>
<circle cx="40" cy="42" r="4" fill="#FFFFFF"></circle>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-bar">
<div class="search-left">
<div class="search-g">G</div>
<div class="search-text">Search...</div>
</div>
<div class="search-right">
<!-- Microphone -->
<svg width="40" height="40" viewBox="0 0 40 40">
<rect x="14" y="8" width="12" height="16" rx="6" fill="#FFFFFF"></rect>
<path d="M10 20c0 8 20 8 20 0" stroke="#FFFFFF" stroke-width="2" fill="none"></path>
<rect x="18" y="26" width="4" height="8" fill="#FFFFFF"></rect>
</svg>
<!-- Lens (simple camera) -->
<svg width="40" height="40" viewBox="0 0 40 40">
<rect x="8" y="12" width="24" height="16" rx="6" fill="#FFFFFF"></rect>
<circle cx="20" cy="20" r="6" fill="#000000" opacity="0.6"></circle>
</svg>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>