Style Improvements to LicenseDialog

Additional padding has been added to the text alongside making it be left-aligned rather than center-aligned and justified. A newline has also been added to the copyright notice for Skyline to make it look nicer.
This commit is contained in:
PixelyIon 2021-11-11 16:35:30 +05:30
parent 36a1f2a2ec
commit e4fbee1626
2 changed files with 5 additions and 3 deletions

View File

@ -38,7 +38,7 @@
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4"
android:textSize="17sp"
tools:text="Copyright © 2019-2021 Skyline Team and Contributors (https://github.com/skyline-emu/)" />
tools:text="Copyright © 2019-2021\nSkyline Team and Contributors" />
<TextView
android:id="@+id/license_content"
@ -46,7 +46,9 @@
android:layout_height="wrap_content"
android:autoLink="web"
android:paddingTop="10dp"
android:textAlignment="center"
android:paddingBottom="15dp"
android:paddingHorizontal="15dp"
android:justificationMode="inter_word"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
tools:text="@string/mpl2_license" />

View File

@ -122,7 +122,7 @@
android:title="@string/licenses"
app:initialExpandedChildrenCount="5">
<emu.skyline.preference.LicensePreference
app:libraryCopyright="Copyright © 2019-2021 Skyline Team and Contributors (https://github.com/skyline-emu/)"
app:libraryCopyright="Copyright © 2019-2021\nSkyline Team and Contributors"
app:libraryLicense="@string/mpl2_license"
app:libraryUrl="https://github.com/skyline-emu/skyline"
app:summary="@string/skyline_license_description"