-
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.
- Loading branch information
Showing
8 changed files
with
126 additions
and
6 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
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
11 changes: 11 additions & 0 deletions
11
xquare-design-system-android/src/main/kotlin/com/xquare/xds/application/XdsApplication.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,11 @@ | ||
package com.xquare.xds.application | ||
|
||
import android.app.Application | ||
import com.google.android.material.color.DynamicColors | ||
|
||
class XdsApplication : Application() { | ||
override fun onCreate() { | ||
super.onCreate() | ||
DynamicColors.applyToActivitiesIfAvailable(this) | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="corner_xsmall">4dp</dimen> | ||
<dimen name="corner_small">8dp</dimen> | ||
<dimen name="corner_medium">12dp</dimen> | ||
<dimen name="corner_large">16dp</dimen> | ||
<dimen name="corner_xlarge">20dp</dimen> | ||
</resources> |
6 changes: 6 additions & 0 deletions
6
xquare-design-system-android/src/main/res/values/elevation.xml
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="elevation_low">8dp</dimen> | ||
<dimen name="elevation_medium">16dp</dimen> | ||
<dimen name="elevation_high">24dp</dimen> | ||
</resources> |
21 changes: 21 additions & 0 deletions
21
xquare-design-system-android/src/main/res/values/frame_margin.xml
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="margin_frame_start">16dp</dimen> | ||
<dimen name="margin_frame_end">16dp</dimen> | ||
<dimen name="margin_frame_top">12dp</dimen> | ||
<dimen name="margin_frame_bottom">12dp</dimen> | ||
<dimen name="margin_frame_horizontal">12dp</dimen> | ||
<dimen name="margin_frame_vertical">16dp</dimen> | ||
|
||
<style name="MarginFrameDefault"> | ||
<item name="android:layout_marginStart">16dp</item> | ||
<item name="android:layout_marginEnd">16dp</item> | ||
<item name="android:layout_marginTop">12dp</item> | ||
<item name="android:layout_marginBottom">12dp</item> | ||
</style> | ||
|
||
<style name="MarginFrameDefaultBackground" parent="@style/MarginFrameDefault"> | ||
<item name="android:colorBackground">@color/background</item> | ||
</style> | ||
|
||
</resources> |
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