Add colors in About page

This commit is contained in:
h4h13 2020-04-27 00:38:15 +05:30
parent ad6eec2240
commit 0bff6d1f3a
8 changed files with 103 additions and 35 deletions

View file

@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
app:cardBackgroundColor="@color/md_blue_100"
app:cardCornerRadius="@dimen/about_card_radius"
app:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
@ -11,7 +12,8 @@
android:layout_height="match_parent"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEAccentTextView
<com.google.android.material.textview.MaterialTextView
android:id="@+id/sb1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -21,7 +23,7 @@
android:paddingBottom="?attr/listPreferredItemPaddingEnd"
android:text="@string/credit_title"
android:textAppearance="@style/TextViewOverline"
android:textColor="?colorAccent"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"

View file

@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
app:cardBackgroundColor="@color/md_purple_100"
app:cardCornerRadius="@dimen/about_card_radius"
app:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
@ -11,7 +12,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEAccentTextView
<com.google.android.material.textview.MaterialTextView
android:id="@+id/sb4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -21,7 +22,7 @@
android:paddingBottom="?attr/listPreferredItemPaddingEnd"
android:text="@string/others"
android:textAppearance="@style/TextViewOverline"
android:textColor="?colorAccent"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"

View file

@ -3,16 +3,17 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardBackgroundColor="?colorSurface"
app:cardCornerRadius="8dp"
app:cardBackgroundColor="@color/md_light_green_100"
app:cardCornerRadius="@dimen/about_card_radius"
app:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEAccentTextView
<com.google.android.material.textview.MaterialTextView
android:id="@+id/sb2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -22,7 +23,7 @@
android:paddingBottom="?attr/listPreferredItemPaddingEnd"
android:text="@string/support_development"
android:textAppearance="@style/TextViewOverline"
android:textColor="?colorAccent"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"

View file

@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
app:cardBackgroundColor="@color/md_indigo_100"
app:cardCornerRadius="@dimen/about_card_radius"
app:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
@ -11,7 +12,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
<code.name.monkey.appthemehelper.common.views.ATEAccentTextView
<com.google.android.material.textview.MaterialTextView
android:id="@+id/sb3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -21,7 +22,7 @@
android:paddingBottom="?attr/listPreferredItemPaddingEnd"
android:text="@string/social"
android:textAppearance="@style/TextViewOverline"
android:textColor="?colorAccent"
android:textColor="?android:attr/textColorSecondary"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0"

View file

@ -54,4 +54,5 @@
<dimen name="slider_track_height">3dp</dimen>
<dimen name="adaptive_icon_size">48dp</dimen>
<dimen name="adaptive_icon_padding">12dp</dimen>
<dimen name="about_card_radius">16dp</dimen>
</resources>