An in‑depth guide to designing and implementing a unified popup SDK for a mobile commerce app, covering project background, pain points, architectural modules, data models, template factories, code integration, and measurable benefits such as reduced development effort and cleaner dialog management.
This article explains why fixed elements break when the iOS soft keyboard appears in a WebView, compares iOS and Android keyboard behaviors, shows how to listen for keyboard events, and provides practical solutions—including native headers, scrollIntoView tricks and scroll adjustments—to keep sticky UI components correctly positioned.
This article provides an in‑depth tutorial on Jetpack Compose's Text composable, detailing every available attribute, usage examples, styling techniques, selectable and clickable text handling, annotated strings, and practical implementations such as hyperlink integration for Android developers.
This article explains the design, presentation modes, precise positioning, keyboard interaction, and technical implementation—including mask handling, popover placement, and React portal usage—of a step‑by‑step guide component for frontend applications, along with code examples and deployment considerations.
This article details the background, research, identified issues, and step‑by‑step technical solutions—including code examples—for implementing comprehensive accessibility support in the JD Daojia React Native (RN) platform, aiming to enable visually impaired users to complete the full purchase flow.
This article teaches front‑end developers how to improve UI quality by applying three core layout principles—block segmentation, proper alignment, and effective color usage—backed by practical examples, commit‑message standards, and color‑model insights.
To enable mixed‑span waterfall layouts in Flutter, we built a custom FlowView that mimics RecyclerView’s StaggeredGridLayoutManager, handling normal and full‑width cards by dynamically selecting the shortest or tallest column, recycling off‑screen items, and achieving performance comparable to native GridView, now deployed in Xianyu’s home and search pages.
This article explains how to design and implement multiple TitleBar styles—including standard, colored, immersive, and immersive with IconTextBtn—for hybrid Native+H5 Android applications, detailing the required URL parameters, layout adjustments, Java code snippets, and interaction between WebView and native components.
A leaked early draft of Google’s Android 12 documentation shows a flatter UI with more white space and rounded corners, a redesigned notification panel, new privacy indicators for camera and microphone use, and a small “Conversation” widget that may become mandatory on all devices.
The Optimus platform centralizes Xianyu feed tag configuration into a three‑layer system of tags, scenes, and experiments, providing a console for AB testing, time‑ and version‑based targeting, fast HSF/Diamond client integration, parallel rule‑based data fetching, cutting latency from 120 ms to 15 ms and enabling rapid tag updates that boosted pCTR and pCVR, with plans to broaden coverage and add smarter personalization.
This article chronicles the step‑by‑step evolution of Kuaishou's special‑effects authoring tool—from early QWidget layouts through QML redesign, then JSON/Lua configuration, and finally dynamic QML loading—highlighting how each stage reduced code size, improved developer efficiency, and enabled seamless hot updates without app releases.
The article explains why Android TextView line spacing varies across devices due to mismatched FontMetrics calculations, and presents a low‑intrusion fix that uses a custom LineHeightSpan applied via an ETextView subclass to enforce a visual‑consistent line height equal to the text size on all screen resolutions.
This article explains how Hema redesigned its enterprise backend workflows by creating a full‑scene cross‑device design system, reusable components, and a layered application architecture that lets staff operate seamlessly across PCs, tablets, phones, and IoT devices in stores, warehouses and delivery trucks.
This article explains how designers can give UI motion effects texture and realism by mastering time, speed, space, motion tone, and method, while aligning animations with brand identity and using appropriate curves and elastic expressions for natural, engaging user experiences.
This guide explains why information accessibility matters for billions of users, and provides actionable recommendations for designers on screen‑reader labels, safe color choices, control sizing, readable text, and responsible animation to create inclusive digital experiences.
This article explains Flutter's animation system, covering core concepts like Animation, AnimationController, CurvedAnimation, Tween, and listeners, then demonstrates basic and combined animations, introduces system widgets such as AnimatedContainer and AnimatedCrossFade, and shows how to create custom page transitions with PageRouteBuilder and Hero.
This article lists twelve popular open‑source Vue.js admin dashboard frameworks, providing their GitHub or Gitee repository links, documentation URLs, live demo sites, and license information for developers seeking ready‑made front‑end solutions.
This article explains how front‑end “materials” – from basic components and business components to blocks, pages and full applications – are organized, developed, packaged, published, and consumed using the Iceworks CLI and VS Code integration, providing a complete workflow for reusable UI assets.
This article explains how Alibaba's Youku app uses a responsive SDK, unified architecture, and data re‑processing techniques to adapt Android UI layouts across phones, tablets, split‑screen and foldable devices, delivering a consistent user experience while reducing development effort.
This article details the redesign of the 58 APP Android home page (version 9.0), covering overall UI and data module architecture, component design inspired by fragments, handling of search bar animations, fling behavior, performance optimizations, and lessons learned from the development process.
This tutorial walks through setting up an iOS demo project in Xcode, creating a yellow rectangle view, adding a clickable button and a centered image using Swift code, and then compares the Swift syntax with equivalent Objective‑C snippets, while also covering useful comment tags.
This article explains why Apple requires apps to use LaunchScreen.storyboard instead of static LaunchImage after June 30 2020, details the preparation steps, presents three implementation approaches, and discusses device‑specific adaptation problems and persistent black‑screen issues with code examples.
This article explains how a frontend configuration engine can be designed to boost page development efficiency by using component‑based architecture, detailing attribute definitions, data requests, hierarchical relationships, and cross‑component interactions, and illustrates the approach with JSON schemas and React code examples.
This article explains Apple's requirement to switch to LaunchScreen.storyboard before June 30 2020, compares LaunchImage and LaunchScreen.storyboard, details the preparation steps, presents three implementation approaches, and discusses device‑specific layout problems and cache‑related black‑screen issues with code examples.
This article examines the performance bottlenecks of Android's LayoutInflater, analyzes its source code and loading process, and demonstrates how to use AsyncLayoutInflater to off‑load layout inflation to a background thread, resulting in measurable UI frame‑time improvements.
After receiving extensive feedback on a global grayscale hack that broke WebView and video playback, the author presents a cleaner, hardware‑accelerated solution using View.setLayerType with a Paint‑based ColorMatrix, explains its advantages, limitations, and when to apply it selectively.
This article introduces ten impressive open‑source Android UI libraries—ranging from liquid swipe animations to animated bottom navigation bars—provides Gradle dependencies, Kotlin/Java usage examples, XML integration steps, and visual screenshots to help developers quickly adopt these tools in their apps.
This article explains the Android NestedScrolling mechanism, compares it with the traditional view event dispatch system, details the core scrolling flow, presents the key NestedScrollingParent and NestedScrollingChild interfaces with code examples, and walks through a practical demo and source‑level analysis.
The article details Xianyu’s migration of its messaging rich‑text system to Flutter, explaining how RichText became a MultiChildRenderObjectWidget, how custom emoji placeholders are converted to HTML tags and parsed into TextSpan and WidgetSpan elements, enabling colored text, clickable links, and emoji rendering across Flutter versions.
This article demonstrates how to achieve a global grayscale (black‑and‑white) effect in Android applications by adding simple CSS‑like styles for web pages and creating custom ImageView, TextView, Button, LinearLayout, FrameLayout subclasses that override draw and dispatchDraw methods, and integrating them via Activity onCreateView to replace the default content view.
This article explores how icons function as a universal visual language, detailing methods to enhance recognizability, convey personality through shape and color, and maintain visual consistency, while aligning design with business goals, user demographics, and brand identity.
This tutorial walks you through transforming a standard QR code into a holiday‑themed design by using an online QR editor and graphic software, covering image upload, advanced beautification, size adjustments, adding Christmas graphics, and testing for scan reliability.
This article outlines essential design principles for onboarding new users, covering what information to convey, various presentation formats such as splash screens, overlay guides, bubble tips, tutorial flows, empty‑state prompts, interactive cues, and pre‑loaded tasks, plus practical takeaways for creating concise, engaging, and unobtrusive user experiences.
This article explains the design and implementation of a car‑sales e‑commerce storefront editor, covering its three‑area layout, drag‑and‑drop module handling, TypeScript‑based backend processing, and Gulp build pipeline, while also discussing configuration, tasks, and future VR extensions.
This article walks through the author’s hands‑on experience creating a Flutter‑based sample of the Penguin Tutor app, covering project setup, UI layout, routing, event handling, dependency management, and code snippets, while reflecting on lessons learned and best‑practice recommendations.
Xianyu integrated accessibility directly into its Flutter‑Native hybrid app, establishing a systematic workflow—from design to monitoring—that makes all interactive elements focusable, described, and properly ordered, enabling over 40 000 visually impaired users to navigate the marketplace with an 87.5% issue‑fix rate.
Facing iOS App Store review delays, the article explores a lightweight approach that combines native iOS UI with JavaScript via JavaScriptCore, detailing JSContext and JSValue usage, code examples for UI components, and the conversion process that enables dynamic, low‑overhead UI updates without heavy frameworks.
The article examines Flutter's rise as a leading cross‑platform mobile framework, compares it with other solutions like Hybrid, React Native, and Qt, explores its ecosystem, and highlights key breakthroughs such as Code‑Push and Hummingbird that could redefine the mobile development landscape.
This article walks through creating a hierarchical menu using NSOutlineView entirely in code, covering view initialization, data model preparation, custom cell and row views, essential NSOutlineViewDataSource and NSOutlineViewDelegate methods, and handling selection to achieve a fully functional macOS outline interface.
This article describes the design and implementation of a component template platform that separates front‑end components from Qunar's special activity system, introduces a layered architecture, presents code‑level file structures, and explains how dynamic configuration and on‑demand loading solve reuse, theming, and maintenance challenges.
This article explains how to build a classic link‑matching puzzle game in Java, covering the grid data model, random map generation, three connection algorithms (direct, one‑corner, two‑corner), mouse interaction, drawing routines, smart hint, shuffling, win detection and game restart, all illustrated with complete source code.
This article explains React as a JavaScript library for building user interfaces, covering its component model, state‑driven rendering, DOM diffing, pure functions, the importance of treating it as a library rather than a framework, and practical state management with MobX.
In large iOS apps like Meituan, navigation‑bar transitions require a systematic approach—using viewWillAppear/WillDisappear to modify styles, employing fake bars during pushes and pops, and following best‑practice rules—to avoid hard‑coded hacks, reduce coupling, and maintain scalable, reliable UI state.
The article explains Android’s Nine‑Patch format—a bitmap with a 1‑pixel black border defining stretchable and content areas—covers creation methods (Photoshop, Draw9patch, Android Studio), runtime parsing, practical use in network‑loaded chat bubbles, required conversion workflow, and the underlying PNG “npTc” chunk structure with code examples for manual drawable construction.
This article introduces a lightweight easing algorithm that moves an element by half the remaining distance each frame, provides a requestAnimationFrame polyfill, a reusable Math.easeout function, and shows real‑world usage in Qidian's scroll‑to‑top and other UI effects.
This article explains how Android's TextView renders text, detailing its coordinate system, layout classes, span types, HTML conversion, and practical implementations such as custom ReplacementSpan and link handling within the Snowball app, providing developers with a comprehensive guide to advanced text styling.
This article explains why simple HTML/CSS solutions are often preferable to JavaScript, and demonstrates seven practical techniques—including navigation highlighting, hover‑based menus, custom form controls, equal‑height columns, dynamic item layouts, form submission, and automatic Enter‑key handling—each with clean code examples.
The article examines Android Toast crashes, explains the system‑level window and drawing lifecycle, and proposes safer alternatives by replacing Toast with a Snackbar or custom view hierarchy, using parent‑finding logic, weak‑reference management, and a protective handler wrapper to prevent exceptions.
This article examines common overdesign pitfalls—such as excessive loading indicators, rigid design rules, misplaced assumptions about user behavior, and unnecessary exposure of internal logic—and offers concrete, user‑focused strategies to simplify interfaces, improve usability, and keep development effort in check.
The article reflects on the evolution of front‑end technology from early HTML/CSS/JS to Node‑based BFF architectures, discusses the convergence of front‑end with mobile, IoT and design, and outlines future directions such as TWA, UI intelligence, data visualization, and immersive experience technology.
The article recounts the first Ant Financial SEE Conf 2018, then details the conception, mathematical foundations, and practical implementation of Ant Design 3.0's design system—including design language, assets, typography, layout, and color—aimed at improving efficiency, consistency, and user experience for enterprise products.
The article introduces Android’s ConstraintLayout, explains how it solves performance and nesting problems of RelativeLayout, LinearLayout, and TableLayout, guides developers through setup and step‑by‑step conversions—including proportional spacing, aspect‑ratio, gone margins, and chains—present a modest 10 % performance gain versus claims, and shares practical developer insights.
This article outlines the rapid growth of Baidu Takeaway's operations backend, analyzes the limitations of the FIS‑based modular approach, describes the transition to React‑Redux componentization, and presents a third‑generation, model‑driven component sharing platform designed to reduce repetitive development and improve developer happiness.
When Android cannot use a specified nextFocusId, it gathers all focusable views via ViewGroup.addFocusables, converts their rectangles to the root’s coordinate space, and through FocusFinder.findNextFocus selects the nearest view in the requested direction, then requests focus, with key‑event handling prioritized before this automatic search.
After Android 5.0 introduced the NestedScrolling API, this article explains the underlying mechanism, key interfaces such as NestedScrollingChild and Parent, demonstrates a sample CollapsingLayout with NestedScrollView, and walks through the sequence of start, pre‑scroll, scroll, and stop callbacks with code examples.
This guide explains how to use Inceptor's management UI—specifically the Local, Storage, Holddesk, Environment, and Executors tabs—to monitor stage counts, inspect in‑memory table distribution, detect data skew, and verify executor health, enabling more effective job optimization.
In an era of information overload, this article explores how emotional and psychological principles—instinct, behavior, and reflection—drive user experience design, illustrating the three layers of emotional design with examples from UI elements, emojis, and game interfaces, and showing how both positive and negative emotions can be leveraged to create more intuitive and engaging products.
This article examines the caching mechanisms of Android's RecyclerView and ListView, comparing their hierarchical caches, view holder strategies, and partial refresh capabilities, and concludes when each component is preferable based on performance, animation support, and data update frequency.
This article explains how to define Java enum classes, demonstrates their usage with code snippets, and shows a practical technique for converting numeric database values into readable Chinese labels for display in user interfaces.
Android’s Data Binding framework links code and XML UI elements through compile‑time generated binding classes, supporting one‑ and two‑way bindings, reducing boiler‑plate, improving performance via a single view‑hierarchy traversal, offering expressive layout expressions, event binding, observable data models, dirty‑flag rebinds, and built‑in null safety.
This article presents a detailed technical guide on optimizing Android applications across UI smoothness, memory management, network efficiency, power consumption, and code structure, illustrating practical tools, metrics, and real‑world case studies from Ctrip’s large‑scale mobile platform.
This article presents a detailed overview of mobile app performance optimization, covering UI responsiveness, memory management, network efficiency, power consumption, and code improvements, with practical analysis methods, tools, and case studies from major companies such as Ctrip and Alibaba to help developers enhance Android applications.
This article presents Qunar's card‑based native app engine, detailing its design origins, advantages such as reuse, dynamic page organization, style theming, operational delivery, data‑driven personalization, and performance optimizations, while also outlining the framework's boundaries, implementation process, and future roadmap.
This article presents the design principles, architecture, advantages, implementation details, performance optimizations, and future plans of a card‑based framework for native mobile applications, as shared at Qunar's 2016 Tech Carnival by iOS engineer Peng Donghua.
This article explains Android Vector Drawable, covering its advantages over bitmap drawables, the SVG‑based syntax, how to obtain and create vectors, compatibility across Android versions, static and animated usage in UI components, performance considerations, and relevant code examples.
This article explains the complex front‑end requirements of WeChat’s product‑editing feature accessed via the Scan function and details a modular, MMVC‑based architecture with real‑time preview, dynamic validation, and mapping techniques to simplify intricate attribute interactions.
This article examines how modern frontend UI frameworks handle UI updates, comparing dirty‑check approaches like AngularJS with virtual‑DOM strategies such as React, exploring browser rendering mechanics, performance pitfalls, and the design of frameworks like Riot, to help developers choose efficient update patterns.
This article explains why attractive interfaces capture users' attention, explores the concept of beauty from mathematics and philosophy, and outlines practical visual design techniques—clear information hierarchy, removal of distractions, guided visual flow, organized icons, and emotional cues—to enhance overall user experience.
This guide explains what zkdash is, provides step‑by‑step installation and setup instructions, details its configuration file options, shows how to integrate with QConf, and highlights important usage notes for managing Zookeeper clusters.
This article introduces the AdherentLayout component for Android, explains its customizable features, API methods, core Bézier‑curve technology, provides full implementation details with code, and demonstrates how it can recreate the popular “one‑tap dismiss” effect and other sticky‑layout scenarios.
Understanding the distinction between UI (user interface) and UX (user experience) is essential for web design, as UI focuses on visual elements and interactions while UX emphasizes usability, satisfaction, and testing, and together they create a cohesive, enjoyable online experience.
The article explains that asynchronous programming is essential for creating responsive user interfaces and highly scalable server applications by preventing long‑running operations from blocking UI threads or thread‑pool threads, and outlines the differences between CPU‑bound and I/O‑bound workloads.
This article explores the concept of Exformation and demonstrates how strategic whitespace can enhance web design through ten curated examples, illustrating minimalist aesthetics, focus on content, and creative visual balance for modern websites.
Eye‑tracking studies show that traditional F‑ and E‑shaped layouts aren’t always optimal, highlighting the importance of high‑contrast, centrally placed content and the 3W principle (What, Why, Where) to guide user attention and improve web design effectiveness.