mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 07:04:17 +01:00
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:
parent
36a1f2a2ec
commit
e4fbee1626
@ -38,7 +38,7 @@
|
|||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4"
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline4"
|
||||||
android:textSize="17sp"
|
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
|
<TextView
|
||||||
android:id="@+id/license_content"
|
android:id="@+id/license_content"
|
||||||
@ -46,7 +46,9 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:autoLink="web"
|
android:autoLink="web"
|
||||||
android:paddingTop="10dp"
|
android:paddingTop="10dp"
|
||||||
android:textAlignment="center"
|
android:paddingBottom="15dp"
|
||||||
|
android:paddingHorizontal="15dp"
|
||||||
|
android:justificationMode="inter_word"
|
||||||
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
||||||
tools:text="@string/mpl2_license" />
|
tools:text="@string/mpl2_license" />
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
android:title="@string/licenses"
|
android:title="@string/licenses"
|
||||||
app:initialExpandedChildrenCount="5">
|
app:initialExpandedChildrenCount="5">
|
||||||
<emu.skyline.preference.LicensePreference
|
<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:libraryLicense="@string/mpl2_license"
|
||||||
app:libraryUrl="https://github.com/skyline-emu/skyline"
|
app:libraryUrl="https://github.com/skyline-emu/skyline"
|
||||||
app:summary="@string/skyline_license_description"
|
app:summary="@string/skyline_license_description"
|
||||||
|
Loading…
Reference in New Issue
Block a user