Skip to content

Commit

Permalink
[YDS-#240] Component - BottomBar (#241)
Browse files Browse the repository at this point in the history
* TopBar, SingleTitleTopBar, SearchTitleTopBar, DoubleTitleTopBar의 머티리얼 의존성 제거

- AppBar 파일 생성 -> TopAppBar, BottomAppBar 구현
- BottomBar 구현 중

* Navigation 실험중. Icon의 Size, haptic 주입 필요

* BottomNavigation 제작완료

- XML VectorDrawable 문제에 따라 build.gradle 수정함
https://wgtech.github.io/posts/2019/08/05/Android-drawables-references-to-other-resources-are-not-supported-by-build-time-png-generation/

- Drawable들 추가함
- BottomNavigation에 대한 설명 필요

* BottomNavigationItem 색상 변경: 기본->bottomBarSelected

* version up

* bug: 빠르게 이동하면 바텀네비게이션이 먹통

* 버그 해결, 주석 작성

* PreviewNavigation Private하게 변경

* 리뷰 반영: BottomAppBar 삭제, BottomNavigation -> BottomBar

* AppBar.kt -> TopAppBar.kt, TopAppBar internal (TopBar와 오인하지 않게)

* Update TopAppBar.kt

* topappbar는 topbar 패키지로

* Revert "topappbar는 topbar 패키지로"

This reverts commit 9f11f8f.

* Revert "Update TopAppBar.kt"

This reverts commit a8b710d.

* Revert "AppBar.kt -> TopAppBar.kt, TopAppBar internal (TopBar와 오인하지 않게)"

This reverts commit fb0d9ce.

* Revert "리뷰 반영: BottomAppBar 삭제, BottomNavigation -> BottomBar"

This reverts commit fafa5dc.

* Revert "TopBar, SingleTitleTopBar, SearchTitleTopBar, DoubleTitleTopBar의 머티리얼 의존성 제거"

This reverts commit 51fad9b.

* BottomNavigation -> BottomBar, BottomNavigationItem -> BottomBarItem
  • Loading branch information
Gael-Android authored Jan 15, 2024
1 parent 23fde8d commit ac10e2f
Show file tree
Hide file tree
Showing 13 changed files with 576 additions and 1 deletion.
4 changes: 4 additions & 0 deletions compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ android {

defaultConfig {
minSdk = 23
vectorDrawables.useSupportLibrary = true

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
Expand Down Expand Up @@ -59,6 +60,9 @@ dependencies {
implementation("androidx.compose.ui:ui-tooling")
implementation("androidx.compose.ui:ui-tooling-preview")

val navVersion = "2.5.3"
implementation("androidx.navigation:navigation-compose:$navVersion")

implementation("androidx.core:core-ktx:1.9.0")
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
implementation("androidx.appcompat:appcompat:1.6.1")
Expand Down
Loading

0 comments on commit ac10e2f

Please sign in to comment.