Styling and Implementing Buttons in HarmonyOS ArkUI
Creating a Circular Button
A circular button can be created by setting the ButtonType to Circle.
Button('Circle', { type: ButtonType.Normal, stateEffect: false })
.backgroundColor(0x317aff)
.width(90)
.height(90)
Note: The borderRadius property cannot be used to override the shape of a Circle type button.
Customizing Button Appearance
Va ...
Posted on Sat, 20 Jun 2026 16:52:25 +0000 by xsaero00
Implementing a Drag-and-Drop Interface with Vue Draggable
The draggable component defines a source area from which elements can be dragged.
<draggable
v-if="sourcePanelActive"
:list="availableItems"
:group="{ name: 'dragGroup', pull: 'clone', put: false }"
:sort="false"
:move="validateDragOperation"
@end="handleDragEnd&q ...
Posted on Fri, 12 Jun 2026 18:31:09 +0000 by JasonTC
Creating Custom Bar Chart Views in Android
When implementing charts in Android applications, developers often rely on third-party libraries. However, for simple charting requirements, using a full-featured library might be overkill. This guide demonstrates how to create a custom bar chart view from scratch.For complex charting needs, consider established libraries like:MPAndroidCharthel ...
Posted on Tue, 26 May 2026 19:27:33 +0000 by shadypalm88
Embedding Flash and Managing Browser History with jQuery Tools
The jQuery Tools library includes a suppleemntary toolbox containing utilities that enhance the core components. This section covers FlashEmbed for embedding Flash content and the History plugin for managing browser navigation.
Embedding Flash with FlashEmbed
FlashEmbed provides a consistent method to embed Flash movies across different browser ...
Posted on Sat, 16 May 2026 08:20:43 +0000 by Shifty Geezer
Android Development Fundamentals: Getting Started with Core Components
Installation and Project Setup
Downloading Android Studio
Download location: https://developer.android.google.cn/studio
Installation Process
During installation, accept all default settings;
If you encounter the error "Unable to access Android SDK and-on list", select "Cancel" and the Android SDK will install during subsequ ...
Posted on Thu, 14 May 2026 22:58:06 +0000 by phpwizard01
WeChat Mini Program Development: Core Concepts and Advanced Techniques
Getting Started with WeChat Mini Programs
Registering a Mini Program
Visit: https://mp.weixin.qq.com/
Downloading the Development Tools
Download the official editor from: https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html
Implementing Throttling, Pagination, and Loading States
// pages/storeList/storeList.js
Page({
data: { ...
Posted on Thu, 14 May 2026 07:56:40 +0000 by Exdaix
Implementing Popup UI Components in Android
Toast
Toast is a transient notification component for displaying brief messages.
Control the display position.
Customize the content, such as adding an image.
Create a utility class for reuse.
Common files: ToastActivity, activity_toast.xml, ToastUtil.
AlertDialog
An AlertDialog presents a modal window for user decisions.
Standard dialog wit ...
Posted on Wed, 13 May 2026 00:28:02 +0000 by floppy
Implementing Expand/Collapse List Items with Vue.js
To create an exapndable list where clicking an item shows its content while hiding others, implement a Vue component with state management for tracking active items and toggle status.
Template Structure
<div class="faq-section">
<h3>Frequently Asked Questions</h3>
<ul class="faq-list">
...
Posted on Sun, 10 May 2026 13:14:52 +0000 by Firestorm3d
Building Interactive Components for HarmonyOS Applications
This guide demonstrates the construction of an interactive quiz application on HarmonyOS, focusing on component-based UI development and data flow management.
Quiz Interface Assembly
The quiz interface leverages a component-based architecture. Individual modules are encapsulated as components for reusability and to streamline the main UI. Compa ...
Posted on Sun, 10 May 2026 09:57:20 +0000 by el_kab0ng
Implementing a Meizu-style Banner View with ViewPager
Creating a Meizu-style Banner with ViewPager
Banner advertising positions are critical in mobile applications due to their revenue generation potential. High-traffic applications can generate substantial daily income from well-designed banners. This guide demonstrates how to implement a banner view similar to Meizu's implementation, which displ ...
Posted on Fri, 08 May 2026 07:14:35 +0000 by pojr