This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from matsumo0922/tablet
Introduce adaptive layout
- Loading branch information
Showing
23 changed files
with
1,174 additions
and
594 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
20 changes: 20 additions & 0 deletions
20
app/src/main/java/caios/android/fanbox/ui/EmptyDetailScreen.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,20 @@ | ||
package caios.android.fanbox.ui | ||
|
||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.ui.Modifier | ||
import androidx.navigation.NavGraphBuilder | ||
import androidx.navigation.compose.composable | ||
import caios.android.fanbox.R | ||
import caios.android.fanbox.core.ui.view.EmptyView | ||
|
||
const val EmptyDetailRoute = "Empty" | ||
|
||
fun NavGraphBuilder.emptyDetailScreen() { | ||
composable(EmptyDetailRoute) { | ||
EmptyView( | ||
modifier = Modifier.fillMaxSize(), | ||
titleRes = R.string.empty_detail_title, | ||
messageRes = R.string.empty_detail_description, | ||
) | ||
} | ||
} |
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
Oops, something went wrong.