add list of open source licenses

This commit is contained in:
Josia Pietsch 2025-01-11 23:15:50 +01:00
parent eff7cfda5e
commit 8fc69e10e9
Signed by: jrpie
GPG key ID: E70B571D66986A2D
7 changed files with 173 additions and 33 deletions

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".ui.settings.SettingsActivity">
<com.google.android.material.appbar.AppBarLayout
android:background="@null"
app:elevation="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.Toolbar
android:id="@+id/legal_info_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.appbar.AppBarLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".ui.LegalInfoActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="10dp">
<de.jrpie.android.launcher.ui.util.HtmlTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/legal_info_text" />
</LinearLayout>
</ScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -84,5 +84,12 @@
android:text="@string/settings_meta_privacy"
android:textAllCaps="false" />
<Button
android:id="@+id/settings_meta_button_licenses"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/settings_meta_licenses"
android:textAllCaps="false" />
</LinearLayout>
</ScrollView>