-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.2.0.alpha/AN_UI] 홈 화면 메뉴 추가 (#204)
* ui: 홈 메뉴와 관련된 아이콘 추가 * ui: 추가된 메뉴 xml 작성 * feat: 바이옴 화면 추가 * feat: 아이템 화면 추가 * feat: 홈 화면과 연결 * style: ktFormat
- Loading branch information
Showing
14 changed files
with
362 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
android/app/src/main/java/poke/rogue/helper/presentation/biome/BiomeActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package poke.rogue.helper.presentation.biome | ||
|
||
import android.content.Context | ||
import android.content.Intent | ||
import androidx.appcompat.widget.Toolbar | ||
import poke.rogue.helper.R | ||
import poke.rogue.helper.databinding.ActivityBiomeBinding | ||
import poke.rogue.helper.presentation.toolbar.ToolbarActivity | ||
|
||
class BiomeActivity : ToolbarActivity<ActivityBiomeBinding>(R.layout.activity_biome) { | ||
override val toolbar: Toolbar | ||
get() = binding.toolbarBiome | ||
|
||
companion object { | ||
fun intent(context: Context): Intent { | ||
return Intent(context, BiomeActivity::class.java) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
android/app/src/main/java/poke/rogue/helper/presentation/item/ItemActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package poke.rogue.helper.presentation.item | ||
|
||
import android.content.Context | ||
import android.content.Intent | ||
import androidx.appcompat.widget.Toolbar | ||
import poke.rogue.helper.R | ||
import poke.rogue.helper.databinding.ActivityItemBinding | ||
import poke.rogue.helper.presentation.toolbar.ToolbarActivity | ||
|
||
class ItemActivity : ToolbarActivity<ActivityItemBinding>(R.layout.activity_item) { | ||
override val toolbar: Toolbar | ||
get() = binding.toolbarItem | ||
|
||
companion object { | ||
fun intent(context: Context): Intent { | ||
return Intent(context, ItemActivity::class.java) | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
|
||
<data> | ||
|
||
</data> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<com.google.android.material.appbar.MaterialToolbar | ||
android:id="@+id/toolbar_biome" | ||
style="@style/CustomToolbarStyle" | ||
android:layout_width="0dp" | ||
android:layout_height="?attr/actionBarSize" | ||
android:contentInsetStartWithNavigation="0dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:title="@string/biome_title_name" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
Oops, something went wrong.