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

Verified Commit b79dba17 authored by Fahim M. Choudhury's avatar Fahim M. Choudhury
Browse files

chore: improve Home screen content placeholders

parent d59fd0a0
Loading
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Apps  Quickly and easily install Android apps onto your device!
  ~ Copyright (C) 2021  E FOUNDATION
  ~ Copyright (C) 2021-2025 e Foundation
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
@@ -16,6 +15,7 @@
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  ~
  -->

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -53,6 +53,7 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:contentDescription="@string/app_icon"
            tools:src="@tools:sample/avatars"
            android:scaleType="fitXY" />
    </androidx.cardview.widget.CardView>

@@ -70,7 +71,7 @@
        app:layout_constraintLeft_toRightOf="@+id/app_icon_card"
        app:layout_constraintRight_toLeftOf="@+id/installButton"
        app:layout_constraintTop_toTopOf="@+id/app_icon_card"
        tools:text="Google Chrome - Fast and Secured" />
        tools:text="@tools:sample/lorem/random" />

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/app_author"
@@ -85,7 +86,7 @@
        app:layout_constraintLeft_toLeftOf="@+id/app_title"
        app:layout_constraintRight_toLeftOf="@+id/installButton"
        app:layout_constraintBottom_toBottomOf="@+id/app_icon_card"
        tools:text="App author" />
        tools:text="@tools:sample/full_names" />

    <ImageView
        android:id="@+id/icon_star"
+8 −5
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Apps  Quickly and easily install Android apps onto your device!
  ~ Copyright (C) 2021  E FOUNDATION
  ~ Copyright (C) 2021-2025 e Foundation
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
@@ -14,6 +13,7 @@
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  ~
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -27,7 +27,8 @@
        android:id="@+id/shimmerLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">
        android:orientation="vertical"
        tools:visibility="gone">

        <ScrollView
            android:layout_width="match_parent"
@@ -64,6 +65,8 @@
        android:clipToPadding="false"
        android:paddingTop="20dp"
        android:paddingBottom="10dp"
        android:visibility="gone" />
        android:visibility="gone"
        tools:listitem="@layout/home_parent_list_item"
        tools:visibility="visible" />

</LinearLayout>
+6 −3
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Apps  Quickly and easily install Android apps onto your device!
  ~ Copyright (C) 2021  E FOUNDATION
  ~ Copyright (C) 2021-2025 e Foundation
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
@@ -14,10 +13,12 @@
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  ~
  -->

<LinearLayout 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/homeLayout"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
@@ -41,6 +42,7 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:contentDescription="@string/app_icon"
            tools:src="@tools:sample/avatars"
            android:scaleType="fitXY" />

    </com.google.android.material.card.MaterialCardView>
@@ -55,6 +57,7 @@
        android:lines="2"
        android:textAlignment="center"
        android:textColor="?android:textColorPrimary"
        tools:text="@tools:sample/lorem/random"
        android:textSize="12sp" />

    <RelativeLayout
+7 −4
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Apps  Quickly and easily install Android apps onto your device!
  ~ Copyright (C) 2021  E FOUNDATION
  ~ Copyright (C) 2021-2025 e Foundation
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
@@ -14,6 +13,7 @@
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  ~
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -64,7 +64,10 @@
            android:clipToPadding="false"
            android:paddingStart="10dp"
            android:paddingEnd="10dp"
            android:paddingBottom="5dp" />
            android:paddingBottom="5dp"
            tools:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
            tools:listitem="@layout/home_child_list_item"
            tools:orientation="horizontal" />
    </RelativeLayout>

</LinearLayout>