GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - faob-dev/MotionLayoutMenuA: Dribble menu design built with Android MotionLayout

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
screenshots
screenshots
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

MotionLayout Menu

Dribble menu design https://dribbble.com/shots/2653519-Menu built with Android MotionLayout

Demo

Youtube demo https://www.youtube.com/watch?v=CT0qKL3F278

alt tag

Description

In layout file views v1, v2, v3, v4 are four menus c1, c2, c3, c4 are four background content views and view ic1 is down arrow image. My screen height is 640dp - 24dp = 616dp (24dp is status bar height). If you want to change menu size according to your screen resolution open dimens.xml and change menu height in expanded and collapsed state

menu_expanded_height = 154dp (616dp / 4)
menu_collapsed_height = 80dp

Change top margins of each menu according to your screen height to place menus one after another

v1_expanded_margin_top
v2_expanded_margin_top
v3_expanded_margin_top
v4_expanded_margin_top

MotionScene file in xml/motion_scene.xml contains comments about each Transition and ConstraintSet. MenuActicity only handles click events and run transitions defined in motion_scene file.

About

Dribble menu design built with Android MotionLayout

Topics

androidandroid-motionlayoutanimationmenumotionlayout

Resources

Readme
MIT license
Activity

Stars

38 stars

Watchers

0 watching

Forks

10 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.