Implementing Navigation Drawers with NavigationView
Integration Steps
Dependency Inclusion
Include the Material Design library in your app-level build.gradle:
implementation 'com.android.support:design:23.1.1'
Layout Configuration
Configure DrawerLayout with NavigationView in your XML layout:
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/a ...
Posted on Wed, 05 Aug 2026 17:01:25 +0000 by Hybride
Implementing Swipeable Tabs in WeChat Mini Programs
Use a scroll-view component with horizontal scrolling to create the tab navigation bar. This enables the tabs to be swipealbe when they exceed the viewport width.
Maintain synchronization between the active tab header and its corresponding content panel by binding both to a shared state variable. This variable controls the active index for the ...
Posted on Sun, 02 Aug 2026 16:48:52 +0000 by shar
Building Custom iOS UI Components with XIB and Programmatic Layout
A custom UI component begins with an Interface Builder file. Start by creating a new file and selecting the User Interface category, then choose View. This generates a .xib file containing an empty view.
Design your reusable interface within this .xib file. Ensure you connect the File's Owner's Class in the "Custom Class" section to t ...
Posted on Tue, 21 Jul 2026 16:57:35 +0000 by NYSiRacer
Implementing and Customizing ViewPager in Android
ViewPager enables horizontal swiping between multiple screens in Android applications.
Basic ViewPager Implementation
Layout File
<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
Adapter Implementation
Cre ...
Posted on Thu, 25 Jun 2026 17:14:48 +0000 by Christopher
Bootstrap UI Components: Icons, Navigation, and Interactive Elements
Glyphicons Icon FontsGlyphicons provide scalable vector icons that can be customized using CSS properties like size, color, and shadow effects.<div class="container">
<span class="glyphicon glyphicon-envelope"></span>
<a href="#" class="btn btn-default">
<span class="glyphicon glyphicon-plus">& ...
Posted on Tue, 23 Jun 2026 17:10:12 +0000 by BigToach
Implementing Tab Navigation in HarmonyOS Applications
Bottom Navigation Bar
@Entry
@Component
struct MainScreen {
build() {
Column() {
Tabs({ barPosition: BarPosition.End }) {
TabContent() {
Text('Home Screen').fontSize(30)
}.tabBar('Home')
TabContent() {
Text('Discovery Screen').fontSize(30)
}.tabBar('Discovery')
TabContent ...
Posted on Tue, 23 Jun 2026 17:09:58 +0000 by rich1983
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