Updated sections' title colors

This commit is contained in:
Viktor De Pasquale 2020-02-01 13:46:46 +01:00 committed by John Wu
parent 373092af16
commit c18db555a4
4 changed files with 7 additions and 3 deletions

View File

@ -38,6 +38,7 @@
android:layout_marginStart="@dimen/l1" android:layout_marginStart="@dimen/l1"
android:text="@string/home_device_title" android:text="@string/home_device_title"
android:textAppearance="@style/AppearanceFoundation.Title" android:textAppearance="@style/AppearanceFoundation.Title"
android:textColor="?colorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/home_device_icon" app:layout_constraintBottom_toBottomOf="@+id/home_device_icon"
app:layout_constraintEnd_toStartOf="@+id/home_device_action_reboot" app:layout_constraintEnd_toStartOf="@+id/home_device_action_reboot"
app:layout_constraintStart_toEndOf="@+id/home_device_icon" app:layout_constraintStart_toEndOf="@+id/home_device_icon"
@ -212,7 +213,7 @@
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
style="@style/W.Home.ItemContent.Right" style="@style/W.Home.ItemContent.Right"
android:text="@{XAndroidKt.isAB ? @string/yes : @string/no}" android:text="@{XAndroidKt.isAB ? @string/yes : @string/no}"
tools:text="Google" /> tools:text="Yes" />
</LinearLayout> </LinearLayout>
@ -229,7 +230,7 @@
<androidx.appcompat.widget.AppCompatTextView <androidx.appcompat.widget.AppCompatTextView
style="@style/W.Home.ItemContent.Right" style="@style/W.Home.ItemContent.Right"
android:text="@{XAndroidKt.isSAR ? @string/yes : @string/no}" android:text="@{XAndroidKt.isSAR ? @string/yes : @string/no}"
tools:text="Pixel 4" /> tools:text="Yes" />
</LinearLayout> </LinearLayout>

View File

@ -40,6 +40,7 @@
android:layout_marginStart="@dimen/l1" android:layout_marginStart="@dimen/l1"
android:text="@string/magisk" android:text="@string/magisk"
android:textAppearance="@style/AppearanceFoundation.Title" android:textAppearance="@style/AppearanceFoundation.Title"
android:textColor="?colorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/home_magisk_icon" app:layout_constraintBottom_toBottomOf="@+id/home_magisk_icon"
app:layout_constraintEnd_toStartOf="@+id/home_magisk_action" app:layout_constraintEnd_toStartOf="@+id/home_magisk_action"
app:layout_constraintStart_toEndOf="@+id/home_magisk_icon" app:layout_constraintStart_toEndOf="@+id/home_magisk_icon"

View File

@ -40,6 +40,7 @@
android:layout_marginStart="@dimen/l1" android:layout_marginStart="@dimen/l1"
android:text="@{viewModel.stateHideManagerName}" android:text="@{viewModel.stateHideManagerName}"
android:textAppearance="@style/AppearanceFoundation.Title" android:textAppearance="@style/AppearanceFoundation.Title"
android:textColor="?colorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/home_manager_icon" app:layout_constraintBottom_toBottomOf="@+id/home_manager_icon"
app:layout_constraintEnd_toStartOf="@+id/home_manager_action" app:layout_constraintEnd_toStartOf="@+id/home_manager_action"
app:layout_constraintStart_toEndOf="@+id/home_manager_icon" app:layout_constraintStart_toEndOf="@+id/home_manager_icon"

View File

@ -78,12 +78,13 @@
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:includeFontPadding">false</item> <item name="android:includeFontPadding">false</item>
<item name="android:textAppearance">@style/AppearanceFoundation.Caption</item> <item name="android:textAppearance">@style/AppearanceFoundation.Caption.Variant</item>
</style> </style>
<style name="W.Home.ItemContent.Right"> <style name="W.Home.ItemContent.Right">
<item name="android:layout_marginStart">@dimen/l_50</item> <item name="android:layout_marginStart">@dimen/l_50</item>
<item name="android:textStyle">bold</item> <item name="android:textStyle">bold</item>
<item name="android:textAppearance">@style/AppearanceFoundation.Caption</item>
</style> </style>
<!--endregion--> <!--endregion-->