Change core:ui:compose:demo
module to `app-ui-catalog
7
app-ui-catalog/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Thunderbird UI Catalog
|
||||
|
||||
Uses [`:core:ui:compose:designsystem`](../core/ui/compose/designsystem/README.md)
|
||||
|
||||
This is a catalog of all the components in the Thunderbird design system.
|
||||
|
||||
It is a work in progress, and will be updated as the design system evolves.
|
|
@ -3,10 +3,10 @@ plugins {
|
|||
}
|
||||
|
||||
android {
|
||||
namespace = "app.k9mail.core.ui.compose.demo"
|
||||
namespace = "app.k9mail.ui.catalog"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "app.k9mail.core.ui.compose.demo"
|
||||
applicationId = "app.k9mail.ui.catalog"
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.K9"
|
||||
android:theme="@style/Theme.Thunderbird"
|
||||
>
|
||||
<activity
|
||||
android:name=".MainActivity"
|
|
@ -1,9 +1,8 @@
|
|||
package app.k9mail.core.ui.compose.demo
|
||||
package app.k9mail.ui.catalog
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
|
||||
class MainActivity : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
|
@ -1,4 +1,4 @@
|
|||
package app.k9mail.core.ui.compose.demo
|
||||
package app.k9mail.ui.catalog
|
||||
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.foundation.layout.Column
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
3
app-ui-catalog/src/main/res/values/strings.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<resources>
|
||||
<string name="app_name">Thunderbird Catalog</string>
|
||||
</resources>
|
4
app-ui-catalog/src/main/res/values/themes.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.Thunderbird" parent="android:Theme.Material.Light.NoActionBar" />
|
||||
</resources>
|
|
@ -1,3 +0,0 @@
|
|||
<resources>
|
||||
<string name="app_name">K-9 Compose Demo</string>
|
||||
</resources>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.K9" parent="android:Theme.Material.Light.NoActionBar" />
|
||||
</resources>
|
|
@ -21,6 +21,10 @@ rootProject.name = "k-9"
|
|||
|
||||
includeBuild("build-plugin")
|
||||
|
||||
include(
|
||||
":app-ui-catalog",
|
||||
)
|
||||
|
||||
include(
|
||||
":app:k9mail",
|
||||
":app:ui:base",
|
||||
|
@ -42,7 +46,6 @@ include(
|
|||
":core:common",
|
||||
":core:testing",
|
||||
":core:android:common",
|
||||
":core:ui:compose:demo",
|
||||
":core:ui:compose:designsystem",
|
||||
":core:ui:compose:theme",
|
||||
)
|
||||
|
|