mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 15:45:30 +03:00
Create a unified style for section titles
This commit is contained in:
parent
8d56fa3194
commit
c5797fdff6
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/text_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -7,6 +8,6 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textAppearance="@style/SectionTitle"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
tools:text="NSP" />
|
||||
|
@ -1,6 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="SectionTitle" parent="TextAppearance.MaterialComponents.Headline6">
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="SectionTitle.Attribute" parent="TextAppearance.MaterialComponents.Subtitle2">
|
||||
<item name="android:textColor">@android:color/tertiary_text_light</item>
|
||||
</style>
|
||||
|
||||
<style name="ShapeAppearance.App.SmallComponent" parent="ShapeAppearance.MaterialComponents.SmallComponent">
|
||||
<item name="cornerFamily">rounded</item>
|
||||
<item name="cornerSize">@dimen/corner_radius</item>
|
||||
|
Loading…
Reference in New Issue
Block a user