Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
1fdd041b
Commit
1fdd041b
authored
Sep 09, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fonts and dimens
parent
b9915592
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
26 deletions
+44
-26
bell_switch_track.xml
app/src/main/res/drawable/bell_switch_track.xml
+1
-8
acrom_medium.otf
app/src/main/res/font/acrom_medium.otf
+0
-0
acrom_regular.otf
app/src/main/res/font/acrom_regular.otf
+0
-0
fonts.xml
app/src/main/res/font/fonts.xml
+16
-0
styles.xml
app/src/main/res/values/styles.xml
+17
-18
text_size.xml
app/src/main/res/values/text_size.xml
+10
-0
No files found.
app/src/main/res/drawable/bell_switch_track.xml
View file @
1fdd041b
...
...
@@ -10,16 +10,12 @@
<corners
android:radius=
"12dp"
/>
</shape>
</item>
<item
android:right=
"8dp"
>
<bitmap
android:width=
"14dp"
android:height=
"15dp"
android:src=
"@drawable/ic_bell_off"
android:tintMode=
"multiply"
android:gravity=
"end"
android:tint=
"@color/colorPrimaryDark"
/>
...
...
@@ -39,10 +35,7 @@
</item>
<item
android:left=
"8dp"
>
android:left=
"8dp"
>
<bitmap
android:right=
"27dp"
android:top=
"5dp"
...
...
app/src/main/res/font/acrom_medium.otf
0 → 100644
View file @
1fdd041b
File added
app/src/main/res/font/acrom_regular.otf
0 → 100644
View file @
1fdd041b
File added
app/src/main/res/font/fonts.xml
0 → 100644
View file @
1fdd041b
<?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
app/src/main/res/values/styles.xml
View file @
1fdd041b
...
...
@@ -14,33 +14,15 @@
<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>-->
<!-- <!– inactive thumb color –>-->
<!-- <item name="colorSwitchThumbNormal">@color/colorAccent</item>-->
<!-- <!– inactive track color (30% transparency) –>-->
<!-- <item name="android:colorForeground">@color/colorPrimaryDark</item>-->
</style>
<style
name=
"Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle"
>
<item
name=
"track"
>
@drawable/bell_switch_track
</item>
<item
name=
"android:thumb"
>
@drawable/bell_switcher
</item>
<item
name=
"thumbTint"
>
@color/colorPrimaryDark
</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
name=
"Widget.Biganto.MaterialCardView"
parent=
"Widget.MaterialComponents.CardView"
>
<item
name=
"cardUseCompatPadding"
>
false
</item>
<item
name=
"strokeColor"
>
#1e000000
</item>
...
...
@@ -49,4 +31,21 @@
<item
name=
"cornerSize"
>
4dp
</item>
</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>
app/src/main/res/values/text_size.xml
0 → 100644
View file @
1fdd041b
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment