Tweak section headers in about screen
Use same style that is used in the settings screens.
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingEnd="0dp"
+ android:paddingHorizontal="16dp"
android:paddingTop="16dp"
- android:paddingBottom="16dp"
+ android:paddingBottom="8dp"
android:text="@string/about_title"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textColor="?android:attr/textColorPrimary" />
+ android:textAppearance="@style/TextAppearance.AppCompat.Body2"
+ android:textColor="?attr/colorAccent" />
<LinearLayout
android:id="@+id/versionLayout"
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingStart="16dp"
- android:paddingEnd="0dp"
- android:paddingTop="32dp"
- android:paddingBottom="16dp"
+ android:paddingHorizontal="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="8dp"
android:text="@string/about_project_title"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textColor="?android:attr/textColorPrimary" />
+ android:textAppearance="@style/TextAppearance.AppCompat.Body2"
+ android:textColor="?attr/colorAccent" />
<LinearLayout
android:id="@+id/websiteLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
- android:paddingStart="16dp"
- android:paddingEnd="0dp"
- android:paddingTop="32dp"
- android:paddingBottom="16dp"
+ android:paddingHorizontal="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="8dp"
android:text="@string/about_libraries"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textColor="?android:attr/textColorPrimary" />
+ android:textAppearance="@style/TextAppearance.AppCompat.Body2"
+ android:textColor="?attr/colorAccent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/libraries"
