349일차 - The Story (가명) : Bottom Navigation

2021. 12. 19. 00:28·아카이브/일기
반응형

 

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".activity.MainActivity">

    <FrameLayout
        android:id="@+id/main_frag"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintBottom_toTopOf="@+id/main_nav"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent">
    </FrameLayout>

    <com.kwon.mystroygame.widget.BottomNavigationContainer
        android:id="@+id/main_nav"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="#333333"
        app:nv_text_styles="@style/bottom_nav_text"
        app:nv_item_selector="@drawable/checkable_bottom_nav"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        >

        <com.kwon.mystroygame.widget.BottomNavigationItem
            android:id="@+id/bottom_story_btn"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:nv_image_src="@drawable/icon_pen_3"
            app:nv_text="@string/story"
            app:nv_action="@string/action_story"
            />

        <com.kwon.mystroygame.widget.BottomNavigationItem
            android:id="@+id/bottom_option_btn"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:nv_image_src="@drawable/icon_search"
            app:nv_text="@string/option"
            app:nv_action="@string/action_option"
            />

        <com.kwon.mystroygame.widget.BottomNavigationItem
            android:id="@+id/bottom_start_btn"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:nv_image_src="@drawable/icon_start"
            app:nv_text="@string/start"
            app:nv_action="@string/action_start"
            />

        <com.kwon.mystroygame.widget.BottomNavigationItem
            android:id="@+id/bottom_collection_btn"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:nv_image_src="@drawable/icon_book"
            app:nv_text="@string/collection"
            app:nv_action="@string/action_collection"
            />

        <com.kwon.mystroygame.widget.BottomNavigationItem
            android:id="@+id/bottom_setting_btn"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:nv_image_src="@drawable/icon_setting"
            app:nv_text="@string/setting"
            app:nv_action="@string/action_setting"
            />

    </com.kwon.mystroygame.widget.BottomNavigationContainer>
</androidx.constraintlayout.widget.ConstraintLayout>

 

끝!!

반응형

'아카이브 > 일기' 카테고리의 다른 글

353일차 - The Story (가명) : Story View Model (1)  (0) 2021.12.23
352일차 - The Story (가명) : 배경 음악 & 효과음  (0) 2021.12.22
351일차 - The Story (가명) : Play Layout  (0) 2021.12.21
350일차 - The Story (가명) : Bottom Navigation 완성  (0) 2021.12.20
348일차 - The Story (가명) : DB 설계  (0) 2021.12.18
347일차 - The Story (가명) : 기본 설정  (0) 2021.12.17
346일차 - The Story (가명) : 필요한 기능  (0) 2021.12.16
345일차 - 직장인과 관련된 아이디어가 없을까?  (0) 2021.12.15
'아카이브/일기' 카테고리의 다른 글
  • 351일차 - The Story (가명) : Play Layout
  • 350일차 - The Story (가명) : Bottom Navigation 완성
  • 348일차 - The Story (가명) : DB 설계
  • 347일차 - The Story (가명) : 기본 설정
권퓨터
권퓨터
만드는 걸 좋아하는 개발자의 기록. 코드든 글이든, 일단 만들어 봅니다.
  • 권퓨터
    권퓨터: Kwonputer
    권퓨터
  • 티스토리 홈 관리자
  • 전체
    오늘
    어제
    • 분류 전체보기 (559)
      • 개발 (56)
        • 프로젝트 (5)
        • 모바일 (44)
        • 프론트엔드 (0)
        • 백엔드 (2)
        • 인프라 (0)
        • AI · 머신러닝 (4)
      • IT · 테크 (10)
        • 기술 트렌드 (3)
        • 도구 · 생산성 (1)
        • 제품 리뷰 · 추천 (0)
        • 마케팅 · 수익화 (6)
      • 자기계발 (7)
        • 공부법 · 언어 (0)
        • 취업 · 커리어 (7)
      • 아카이브 (486)
        • 일기 (480)
        • 취미 (6)
  • 블로그 메뉴

    • 홈
  • 링크

    • 블로그 이전
  • 공지사항

    • 서브 블로그 => https://kwonputer.com/
  • 인기 글

  • 태그

    파이썬
    서버리스 아키텍처
    https://www.kwonputer.shop/
    dynamodb
    python
    aws lambda
    flutter 개발자
    kotlin
    next.js
    다국어 블로그
    ai 게임 개발
    AI블로그
    Prompt Engineering
    Clean Architecture
    콘텐츠자동화
    Single Table Design
    python 기초
    상태관리
    OpenAI GPT
    flutter 면접 질문
    내러티브 게임
    FACEBOOK광고
    injectable
    https://github.com/kwongeneral/kortfolio.git
    riverpod
    블로그수익화
    flutter
    클린 아키텍처
    AWS CDK
    TypeScript
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.6
권퓨터
349일차 - The Story (가명) : Bottom Navigation
상단으로

티스토리툴바