Commit 1fdd041b authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

add fonts and dimens

parent b9915592
...@@ -10,16 +10,12 @@ ...@@ -10,16 +10,12 @@
<corners android:radius="12dp"/> <corners android:radius="12dp"/>
</shape> </shape>
</item> </item>
<item <item
android:right="8dp"> android:right="8dp">
<bitmap <bitmap
android:width="14dp" android:width="14dp"
android:height="15dp" android:height="15dp"
android:src="@drawable/ic_bell_off" android:src="@drawable/ic_bell_off"
android:tintMode="multiply" android:tintMode="multiply"
android:gravity="end" android:gravity="end"
android:tint="@color/colorPrimaryDark" /> android:tint="@color/colorPrimaryDark" />
...@@ -39,10 +35,7 @@ ...@@ -39,10 +35,7 @@
</item> </item>
<item <item
android:left="8dp" android:left="8dp">
>
<bitmap <bitmap
android:right="27dp" android:right="27dp"
android:top="5dp" android:top="5dp"
......
<?xml version="1.0" encoding="utf-8"?>
<font-family
xmlns:app="http://schemas.android.com/apk/res-auto">
<font
app:fontStyle="normal"
app:fontWeight="400"
app:font="@font/acrom_regular"
/>
<font
app:fontStyle="normal"
app:fontWeight="100"
app:font="@font/acrom_medium"
/>
</font-family>
\ No newline at end of file
...@@ -14,33 +14,15 @@ ...@@ -14,33 +14,15 @@
<item name="switchStyle">@style/Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle</item> <item name="switchStyle">@style/Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle</item>
<!-- <item name="android:track" >@drawable/bell_switcher</item>-->
<!-- <item name="android:trackTint" tools:targetApi="m">@color/colorAccentSecondary</item>-->
<!-- active thumb & track color (30% transparency) -->
<!-- <item name="colorControlActivated">@color/colorOpacityBackground</item>-->
<!-- &lt;!&ndash; inactive thumb color &ndash;&gt;-->
<!-- <item name="colorSwitchThumbNormal">@color/colorAccent</item>-->
<!-- &lt;!&ndash; inactive track color (30% transparency) &ndash;&gt;-->
<!-- <item name="android:colorForeground">@color/colorPrimaryDark</item>-->
</style> </style>
<style name="Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle" > <style name="Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle" >
<item name="track" >@drawable/bell_switch_track</item> <item name="track" >@drawable/bell_switch_track</item>
<item name="android:thumb" >@drawable/bell_switcher</item> <item name="android:thumb" >@drawable/bell_switcher</item>
<item name="thumbTint">@color/colorPrimaryDark</item> <item name="thumbTint">@color/colorPrimaryDark</item>
<item name="trackTint">@drawable/bell_switch_track_tint</item> <item name="trackTint">@drawable/bell_switch_track_tint</item>
<!-- <item name="android:trackTint" tools:targetApi="m">@color/colorAccentSecondary</item>-->
<!-- <item name="android:thumb" >@drawable/bell_switcher</item>-->
<!-- <item name="android:thumbTint">@color/colorPrimaryDark</item>-->
</style> </style>
<style name="Widget.Biganto.MaterialCardView" parent="Widget.MaterialComponents.CardView"> <style name="Widget.Biganto.MaterialCardView" parent="Widget.MaterialComponents.CardView">
<item name="cardUseCompatPadding">false</item> <item name="cardUseCompatPadding">false</item>
<item name="strokeColor">#1e000000</item> <item name="strokeColor">#1e000000</item>
...@@ -49,4 +31,21 @@ ...@@ -49,4 +31,21 @@
<item name="cornerSize">4dp</item> <item name="cornerSize">4dp</item>
</style> </style>
<style name="Base.Widget.AppCompat.TextView.AcromMediumTextView">
<item name="android:fontFamily">@font/acrom_medium</item>
</style>
<style name="Base.Widget.AppCompat.TextView.AcromRegularTextView">
<item name="android:fontFamily">@font/acrom_regular</item>
</style>
<style name="Base.Widget.AppCompat.Button.AcromMediumButton">
<item name="android:fontFamily">@font/acrom_medium</item>
</style>
<style name="Base.Widget.AppCompat.Button.AcromRegularButton">
<item name="android:fontFamily">@font/acrom_regular</item>
</style>
</resources> </resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="main_header">32sp</dimen>
<dimen name="super_size">128sp</dimen>
<dimen name="accent_header">16sp</dimen>
<dimen name="minor_text">12sp</dimen>
<dimen name="common_text">14sp</dimen>
<dimen name="currency">24sp</dimen>
<dimen name="light_notice">11sp</dimen>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment