The main menu is the central dashboard of ThunderRAR and the screen employees land on after a successful login. It is implemented byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Viruz7w7/thunderRAR/llms.txt
Use this file to discover all available pages before exploring further.
Activity_menu and launched from MainActivity when the entered credentials match the registered ones. The screen presents four business modules arranged in a 2×2 grid, each represented by an icon button and a label. All modules are currently stubbed and are planned for a future release.
Menu Modules
Comunidad
The community module is intended for employee communication and collaboration features. This module is planned for a future update.
Venta
The sales module will handle product listings, pricing, and transaction management. This module is planned for a future update.
Logistica
The logistics module will cover delivery tracking, inventory movement, and supply chain operations. This module is planned for a future update.
Reporte
The reports module will provide business analytics, summaries, and exportable data views. This module is planned for a future update.
All four modules are stubbed for a future release. Tapping any module button currently displays the informational Toast message “para la siguiente actualizacion” and performs no further action.
Module Handler Methods
EachImageButton in the menu grid declares its corresponding handler method via android:onClick. All four methods in Activity_menu follow the same pattern: they display a short Toast and return. No navigation or business logic is executed yet.
Activity_menu.java
| Handler | Button ID | Module |
|---|---|---|
men_comunidad | imageButton2 | Comunidad |
men_venta | imageButton3 | Venta |
men_logistica | imageButton4 | Logistica |
men_reporte | imageButton5 | Reporte |
Layout
The screen uses aConstraintLayout root with a full-bleed background image (fondo_pantalla_menu_prueba). Inside it, a TableLayout (372 dp × 546 dp) structures the grid as four TableRow entries:
- Row 1 —
ImageButtonfor Comunidad, a 100 dpSpaceseparator,ImageButtonfor Venta. - Row 2 —
TextViewlabel “Comunidad”, a 100 dpSpaceseparator,TextViewlabel “Venta”. - Spacer — An 80 dp tall
Spacerow creates vertical breathing room between the two module pairs. - Row 3 —
ImageButtonfor Logistica, a 100 dpSpaceseparator,ImageButtonfor Reporte. - Row 4 —
TextViewlabel “Logistica”, a 100 dpSpaceseparator,TextViewlabel “Reporte”.
ImageButton has a fully transparent background tint so only the icon graphic is visible against the background image — imageButton2 uses #00FBFBFB while imageButton3, imageButton4, and imageButton5 use #00FFFFFF. Labels are rendered in black at 20 sp with centre gravity.