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
2ce0f00b
Commit
2ce0f00b
authored
Sep 09, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text view styles
parent
1fdd041b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
115 additions
and
1 deletion
+115
-1
styles.xml
app/src/main/res/values/styles.xml
+114
-0
text_size.xml
app/src/main/res/values/text_size.xml
+1
-1
No files found.
app/src/main/res/values/styles.xml
View file @
2ce0f00b
...
...
@@ -31,6 +31,7 @@
<item
name=
"cornerSize"
>
4dp
</item>
</style>
//region TextView
<style
name=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:fontFamily"
>
@font/acrom_medium
</item>
...
...
@@ -48,4 +49,117 @@
<item
name=
"android:fontFamily"
>
@font/acrom_regular
</item>
</style>
<style
name=
".Header_TextView"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/main_header
</item>
</style>
<style
name=
".Main_Header"
parent=
".Header_TextView"
>
<item
name=
"android:textColor"
>
@color/colorHeaderText
</item>
</style>
<style
name=
".Accent_Header"
parent=
".Header_TextView"
>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
</style>
<style
name=
".Inverted_Header"
parent=
".Header_TextView"
>
<item
name=
"android:textColor"
>
@color/colorCommonText
</item>
</style>
<style
name=
".Flat_Input_TextView"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/super_size
</item>
</style>
<style
name=
".Flat_Text"
parent=
".Flat_Input_TextView"
>
<item
name=
"android:textColor"
>
@color/colorHeaderText
</item>
</style>
<style
name=
".Flat_Error"
parent=
".Flat_Input_TextView"
>
<item
name=
"android:textColor"
>
@color/colorError
</item>
</style>
<style
name=
".Flat_Notice"
parent=
".Flat_Input_TextView"
>
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
".Currency_TextView"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/currency
</item>
</style>
<style
name=
".Currency"
parent=
".Currency_TextView"
>
<item
name=
"android:textColor"
>
@color/colorHeaderText
</item>
</style>
<style
name=
".Currency_Accent"
parent=
".Currency_TextView"
>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
</style>
<style
name=
".Default_TextView"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/accent_header
</item>
</style>
<style
name=
".Accent_Text"
parent=
".Default_TextView"
>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
</style>
<style
name=
".Header_Text"
parent=
".Default_TextView"
>
<item
name=
"android:textColor"
>
@color/colorHeaderText
</item>
</style>
<style
name=
".Inverted_Text"
parent=
".Default_TextView"
>
<item
name=
"android:textColor"
>
@color/colorInvertedText
</item>
</style>
<style
name=
".Feed_Title"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/common_text
</item>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
</style>
<style
name=
".Common_Text"
parent=
"Base.Widget.AppCompat.TextView.AcromRegularTextView"
>
<item
name=
"android:textSize"
>
@dimen/common_text
</item>
</style>
<style
name=
".Default"
parent=
".Common_Text"
>
<item
name=
"android:textColor"
>
@color/colorCommonText
</item>
</style>
<style
name=
".Notice"
parent=
".Common_Text"
>
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
".Inverted"
parent=
".Common_Text"
>
<item
name=
"android:textColor"
>
@color/colorInvertedText
</item>
</style>
<style
name=
"Inverted_Notice"
parent=
".Common_Text"
>
<item
name=
"android:textColor"
>
@color/colorInvertedNoticeText
</item>
</style>
<style
name=
".Accent_Minor_TextView"
parent=
"Base.Widget.AppCompat.TextView.AcromMediumTextView"
>
<item
name=
"android:textSize"
>
@dimen/minor_text
</item>
</style>
<style
name=
".Default"
parent=
".Accent_Minor_TextView"
>
<item
name=
"android:textColor"
>
@color/colorAccent
</item>
</style>
<style
name=
".Inverted"
parent=
".Accent_Minor_TextView"
>
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
".Feed"
parent=
"Base.Widget.AppCompat.TextView.AcromRegularTextView"
>
<item
name=
"android:textSize"
>
@dimen/lite_notice
</item>
</style>
<style
name=
".Notice"
parent=
".Accent_Minor_TextView"
>
<item
name=
"android:textColor"
>
@color/colorNoticeText
</item>
</style>
<style
name=
".Description"
parent=
".Accent_Minor_TextView"
>
<item
name=
"android:textColor"
>
@color/colorCommonText
</item>
</style>
//endregion
</resources>
app/src/main/res/values/text_size.xml
View file @
2ce0f00b
...
...
@@ -6,5 +6,5 @@
<dimen
name=
"minor_text"
>
12sp
</dimen>
<dimen
name=
"common_text"
>
14sp
</dimen>
<dimen
name=
"currency"
>
24sp
</dimen>
<dimen
name=
"li
ght
_notice"
>
11sp
</dimen>
<dimen
name=
"li
te
_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