skyline/app/src/main/res/layout/license_dialog.xml

36 lines
1.3 KiB
XML
Raw Normal View History

<?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>