mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-26 20:46:04 +02:00
![◱ PixelyIon](/assets/img/avatar_default.png)
This commit adds in all the licenses to the end of settings by introducing a new type of preference: "LicensePreference"
36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/license_url"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:autoLink="web"
|
|
android:textAlignment="center"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
|
|
android:textSize="15sp" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/license_url"
|
|
android:layout_alignStart="@id/license_url"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@color/cardview_dark_background">
|
|
|
|
<TextView
|
|
android:id="@+id/license_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="monospace"
|
|
android:padding="10dp"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
android:textColor="@android:color/tertiary_text_light" />
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|