~oppen/latt

702eaf5e2f452e5ac1f38b3c8d5b6f4b31a2ee5b — Öppen 15 days ago 2c6ef8d
about screen improvements
4 files changed, 17 insertions(+), 75 deletions(-)

M app/src/main/java/oppen/filters/ui/about/AboutActivity.kt
D app/src/main/res/drawable/vector_gitea.xml
D app/src/main/res/drawable/vector_mastodon.xml
M app/src/main/res/layout/activity_about.xml
M app/src/main/java/oppen/filters/ui/about/AboutActivity.kt => app/src/main/java/oppen/filters/ui/about/AboutActivity.kt +2 -7
@@ 12,13 12,8 @@ class AboutActivity : AppCompatActivity() {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_about)

        //OppenLab Header
        codeberg_button.setOnClickListener {
            openBrowser("https://codeberg.org/oppen/Latt")
        }

        mastodon_button.setOnClickListener {
            openBrowser("https://fosstodon.org/@oppen")
        close_about_button.setOnClickListener {
            finish()
        }

        nounproject_button.setOnClickListener {

D app/src/main/res/drawable/vector_gitea.xml => app/src/main/res/drawable/vector_gitea.xml +0 -30
@@ 1,30 0,0 @@
<vector android:height="30dp" android:viewportHeight="135.46667"
    android:viewportWidth="135.46667" android:width="30dp" xmlns:android="http://schemas.android.com/apk/res/android">
    <path android:fillAlpha="1" android:fillColor="#000000"
        android:pathData="m27.71,33.618c-9.547,-0.027 -22.339,6.798 -21.632,23.904 1.106,26.729 25.457,29.208 35.192,29.423 1.068,5.014 12.522,22.306 21.002,23.217h37.153c22.278,-1.668 38.961,-75.757 26.593,-76.038 -46.782,2.477 -49.995,2.138 -88.6,0 -2.495,-0.027 -5.972,-0.495 -9.708,-0.505zM30.201,43.076c1.351,13.693 3.556,21.704 8.018,33.943 -11.383,-1.505 -21.07,-5.224 -22.852,-19.11 -0.951,-7.411 2.39,-15.168 14.833,-14.834z"
        android:strokeAlpha="1" android:strokeColor="#000000"
        android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="1"/>
    <path android:fillAlpha="1" android:fillColor="#ffffff"
        android:pathData="M75.647,57.092L97.051,67.493A5.483,5.483 70.915,0 1,99.586 74.82L89.186,96.224A5.483,5.483 70.915,0 1,81.858 98.759L60.454,88.359A5.483,5.483 70.915,0 1,57.919 81.032L68.319,59.628A5.483,5.483 70.915,0 1,75.647 57.092z"
        android:strokeAlpha="1" android:strokeColor="#00000000" android:strokeWidth="0.24757317"/>
    <path android:fillAlpha="1" android:fillColor="#ffffff"
        android:pathData="m79.805,57.359 l3.241,1.61V35.256h-3.263z"
        android:strokeAlpha="1" android:strokeColor="#00000000"
        android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="0.26644793"/>
    <path android:fillAlpha="1" android:fillColor="#000000"
        android:pathData="M76.672,68.138m-3.269,1.177a3.475,3.475 115.204,1 1,6.538 -2.353a3.475,3.475 115.204,1 1,-6.538 2.353"
        android:strokeAlpha="1" android:strokeColor="#00000000" android:strokeWidth="0.26458332"/>
    <path android:fillAlpha="1" android:fillColor="#000000"
        android:pathData="M69.215,83.604m-3.269,1.177a3.475,3.475 115.204,1 1,6.538 -2.353a3.475,3.475 115.204,1 1,-6.538 2.353"
        android:strokeAlpha="1" android:strokeColor="#00000000" android:strokeWidth="0.26458332"/>
    <path android:fillAlpha="1" android:fillColor="#000000"
        android:pathData="M81.479,89.111m-3.269,1.177a3.475,3.475 115.204,1 1,6.538 -2.353a3.475,3.475 115.204,1 1,-6.538 2.353"
        android:strokeAlpha="1" android:strokeColor="#00000000" android:strokeWidth="0.26458332"/>
    <path android:fillAlpha="1" android:fillColor="#000000"
        android:pathData="M79.54,58.935l2.402,1.173l-11.961,24.497l-2.402,-1.173z"
        android:strokeAlpha="1" android:strokeColor="#00000000" android:strokeWidth="0.27444693"/>
    <path android:fillColor="#00000000"
        android:pathData="m76.558,68.116c12.976,6.395 13.013,4.102 4.891,20.907"
        android:strokeAlpha="1" android:strokeColor="#000000"
        android:strokeLineCap="butt" android:strokeLineJoin="miter" android:strokeWidth="2.68000007"/>
</vector>

D app/src/main/res/drawable/vector_mastodon.xml => app/src/main/res/drawable/vector_mastodon.xml +0 -5
@@ 1,5 0,0 @@
<vector android:height="25.7295dp" android:viewportHeight="232.00977"
    android:viewportWidth="216.4144" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
    <path android:fillColor="#000000" android:pathData="M211.807,139.087c-3.181,16.366 -28.493,34.278 -57.563,37.749 -15.159,1.809 -30.084,3.471 -45.999,2.741 -26.028,-1.192 -46.565,-6.213 -46.565,-6.213 0,2.534 0.156,4.946 0.469,7.202 3.384,25.686 25.47,27.225 46.391,27.942 21.116,0.723 39.919,-5.206 39.919,-5.206l0.868,19.09s-14.77,7.931 -41.081,9.39c-14.509,0.798 -32.524,-0.365 -53.506,-5.919C9.232,213.82 1.406,165.311 0.209,116.091c-0.365,-14.614 -0.14,-28.394 -0.14,-39.919 0,-50.33 32.976,-65.082 32.976,-65.082C49.672,3.454 78.204,0.243 107.865,0h0.729c29.661,0.243 58.211,3.454 74.838,11.09 0,0 32.975,14.752 32.975,65.082 0,0 0.414,37.134 -4.599,62.915"/>
    <path android:fillColor="#fff" android:pathData="M177.51,80.077v60.941h-24.144v-59.15c0,-12.469 -5.246,-18.798 -15.74,-18.798 -11.602,0 -17.417,7.508 -17.417,22.353v32.376H96.207V85.423c0,-14.845 -5.816,-22.353 -17.419,-22.353 -10.494,0 -15.74,6.329 -15.74,18.798v59.15H38.905V80.077c0,-12.455 3.171,-22.353 9.541,-29.675 6.569,-7.323 15.171,-11.076 25.85,-11.076 12.355,0 21.711,4.749 27.897,14.248l6.014,10.081 6.015,-10.081c6.185,-9.499 15.541,-14.248 27.897,-14.248 10.677,0 19.28,3.754 25.85,11.076 6.369,7.323 9.54,17.22 9.54,29.675"/>
</vector>

M app/src/main/res/layout/activity_about.xml => app/src/main/res/layout/activity_about.xml +15 -33
@@ 9,18 9,28 @@
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="@dimen/def_padding">
        android:paddingTop="@dimen/def_padding_big"
        android:paddingBottom="@dimen/def_padding"
        android:paddingLeft="@dimen/def_padding"
        android:paddingRight="@dimen/def_padding">

        <androidx.appcompat.widget.AppCompatImageButton
            android:id="@+id/close_about_button"
            android:layout_width="36dp"
            android:layout_height="36dp"
            android:background="?attr/selectableItemBackgroundBorderless"
            android:src="@drawable/vector_close" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingTop="@dimen/def_padding"
            android:orientation="horizontal">

            <ImageView
                android:layout_width="45dp"
                android:layout_height="45dp"
                android:layout_marginTop="@dimen/def_padding"
                android:layout_marginEnd="@dimen/def_padding_small"
                android:src="@drawable/vector_olab"/>

            <ImageView


@@ 47,39 57,11 @@
            android:paddingTop="@dimen/def_padding"
            tools:text="1.0.0 alpha delta"/>

        <RelativeLayout
        <androidx.appcompat.widget.AppCompatButton
            android:id="@+id/oppenlab_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingTop="@dimen/def_padding">

            <androidx.appcompat.widget.AppCompatButton
                android:id="@+id/oppenlab_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:text="Öppenlab.net"/>

            <androidx.appcompat.widget.AppCompatImageButton
                android:id="@+id/mastodon_button"
                android:layout_width="24dp"
                android:layout_height="25.7dp"
                android:layout_toRightOf="@+id/oppenlab_button"
                android:layout_centerVertical="true"
                android:background="@null"
                android:layout_marginLeft="@dimen/def_padding"
                android:src="@drawable/vector_mastodon" />

            <androidx.appcompat.widget.AppCompatImageButton
                android:id="@+id/codeberg_button"
                android:layout_width="28dp"
                android:layout_height="30dp"
                android:layout_toRightOf="@+id/mastodon_button"
                android:layout_centerVertical="true"
                android:background="@null"
                android:layout_marginLeft="@dimen/def_padding"
                android:src="@drawable/vector_gitea" />

        </RelativeLayout>
            android:text="Öppenlab.net"/>

        <TextView
            android:layout_width="wrap_content"