Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8da10cc0 authored by Yash Garg's avatar Yash Garg 💬 Committed by Mohammed Althaf T
Browse files

feat(blur): add all related utils, layouts and apply on default widgets

parent 78490cec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
        android:fullBackupContent="@xml/backupscheme"
        android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher"
        tools:replace="android:label"
        android:label="@string/derived_app_name"
        android:usesCleartextTraffic="true"
        android:allowClearUserData="true"
+2 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />

    <application android:icon="@mipmap/ic_launcher" />

</manifest>
 No newline at end of file
+35 −28
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<foundation.e.bliss.blur.BlurLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginHorizontal="4dp"
    android:layout_marginVertical="8dp"
    app:blurCornerRadius="15dp">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:animateLayoutChanges="true"
        android:background="@drawable/widget_background"
        android:orientation="vertical"
@@ -39,3 +45,4 @@
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp" />
    </LinearLayout>
</foundation.e.bliss.blur.BlurLayout>
 No newline at end of file
+43 −37
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<foundation.e.bliss.suggestions.BlissInput xmlns:android="http://schemas.android.com/apk/res/android"
<foundation.e.bliss.blur.BlurLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginHorizontal="3dp"
    app:blurCornerRadius="100dp">

    <foundation.e.bliss.suggestions.BlissInput
        android:layout_width="match_parent"
        android:layout_height="match_parent"
    android:orientation="vertical"
    android:paddingHorizontal="3dp"
    android:paddingBottom="6dp">
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
@@ -43,3 +48,4 @@
                android:visibility="gone" />
        </RelativeLayout>
    </foundation.e.bliss.suggestions.BlissInput>
</foundation.e.bliss.blur.BlurLayout>
 No newline at end of file
+20 −13
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<foundation.e.bliss.widgets.WidgetContainer 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:id="@id/search_container_workspace"
    android:layout_width="match_parent"
@@ -36,11 +37,16 @@
                android:tag="qsb_view"
                tools:ignore="FragmentTagUsage" />

            <foundation.e.bliss.blur.BlurLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginVertical="6dp"
                app:blurCornerRadius="20dp">

                <Button
                    android:id="@+id/manage_widgets"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                android:layout_marginVertical="6dp"
                    android:background="@drawable/btn_rounded_corner"
                    android:fontFamily="sans-serif-medium"
                    android:minWidth="0dp"
@@ -51,6 +57,7 @@
                    android:text="@string/edit"
                    android:textAllCaps="false"
                    android:textColor="#FFF" />
            </foundation.e.bliss.blur.BlurLayout>
        </LinearLayout>
    </ScrollView>
</foundation.e.bliss.widgets.WidgetContainer>
 No newline at end of file
Loading