android: add wallpaper-aware chat background and overlays
Some checks are pending
CI / test (push) Has started running
Some checks are pending
CI / test (push) Has started running
This commit is contained in:
@@ -228,3 +228,8 @@
|
||||
- Added archive statistics stream in `ChatListViewModel` and special archive top-row entry in `All` tab.
|
||||
- Extended list preview formatting with media-type markers and retained unread/mention/pinned indicators.
|
||||
- Updated Telegram UI checklists for chat-list advanced states (batch 2 and batch 3).
|
||||
|
||||
### Step 37 - Chat UI / wallpaper-aware readability
|
||||
- Added gradient wallpaper-like chat background layer in `ChatScreen`.
|
||||
- Kept pinned/composer/action surfaces on semi-transparent containers to preserve readability over wallpaper.
|
||||
- Updated Telegram UI checklist items for wallpaper and overlay readability.
|
||||
|
||||
@@ -47,6 +47,8 @@ import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.layout.ContentScale
|
||||
import androidx.compose.ui.draw.clip
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.graphics.Brush
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.foundation.layout.WindowInsets
|
||||
import androidx.compose.foundation.layout.safeDrawing
|
||||
import androidx.hilt.navigation.compose.hiltViewModel
|
||||
@@ -120,6 +122,15 @@ fun ChatScreen(
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.background(
|
||||
brush = Brush.verticalGradient(
|
||||
colors = listOf(
|
||||
Color(0xFF1B1A22),
|
||||
Color(0xFF242034),
|
||||
Color(0xFF1A202A),
|
||||
),
|
||||
),
|
||||
)
|
||||
.windowInsetsPadding(WindowInsets.safeDrawing),
|
||||
) {
|
||||
Row(
|
||||
|
||||
Reference in New Issue
Block a user