Skip to content

abhipate99/TarentoTestApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TarentoTestApp

This project is a UI Test Sample developed to demonstrate layout structuring and circular view placement using traditional XML-based Android UI.


🧪 Project Overview

The screen layout is divided vertically into two sections:

  • 🔷 Upper Layout: Takes up 70% of the screen height
  • 🔶 Lower Layout: Takes up the remaining 30%
  • Circular View: Intersects both layouts visually at their center boundary

This behavior was designed as per an interviewer’s request and implemented using standard Android ConstraintLayout.


⚙️ Technical Approach

  • ConstraintLayout is used to define the upper_layout and lower_layout with layout_constraintVertical_weight.
  • The circular intersection view is implemented as a customizable component — it can be:
    • A View
    • An ImageView
    • A Button
    • A FloatingActionButton (FAB)

You can freely replace these elements with FrameLayout, RelativeLayout, or basic View containers based on design requirements.


🧱 Architecture

This project follows the MVVM pattern and is structured according to Clean Architecture principles:

  • presentation layer contains the Home screen UI
  • XML is used for layout implementation to match the interview requirements

🧩 Jetpack Compose Alternative

The same layout can be reimagined using Jetpack Compose:

  • UpperLayout() and LowerLayout() can be implemented as two composable functions
  • A third optional CircularOverlay() can be created to simulate or replace the circular intersection view
  • You can also embed the XML circular view inside Compose using AndroidView

📁 Modules & Layers

com.example.tarentotestapp │ ├── presentation │ └── screens │ └── home │ └── HomeActivity.kt │ └── res ├── layout ├── drawable └── values

Screenshot_20250701_215131

Screenshot 2025-07-01 at 10 09 21 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages