Merge pull request #488 from Naveen3Singh/recyclerview_improvements

Recyclerview related improvements
This commit is contained in:
Tibor Kaputa 2022-11-19 20:37:12 +01:00 committed by GitHub
commit 322ccbd76a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 413 additions and 214 deletions

View file

@ -3,9 +3,10 @@
android:shape="rectangle">
<corners
android:bottomRightRadius="@dimen/normal_margin"
android:topLeftRadius="@dimen/normal_margin"
android:topRightRadius="@dimen/normal_margin" />
android:bottomLeftRadius="@dimen/small_margin"
android:bottomRightRadius="@dimen/big_margin"
android:topLeftRadius="@dimen/big_margin"
android:topRightRadius="@dimen/big_margin" />
<solid android:color="@color/activated_item_foreground" />

View file

@ -3,9 +3,10 @@
android:shape="rectangle">
<corners
android:bottomLeftRadius="@dimen/normal_margin"
android:topLeftRadius="@dimen/normal_margin"
android:topRightRadius="@dimen/normal_margin" />
android:bottomLeftRadius="@dimen/big_margin"
android:bottomRightRadius="@dimen/small_margin"
android:topLeftRadius="@dimen/big_margin"
android:topRightRadius="@dimen/big_margin" />
<solid android:color="@color/color_primary" />

View file

@ -29,6 +29,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/medium_margin"
android:orientation="vertical">
@ -48,6 +49,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="@dimen/normal_text_size"
android:visibility="gone"
tools:text="2.18 KB" />
</LinearLayout>
</LinearLayout>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:gravity="center"
android:orientation="vertical"
android:paddingVertical="@dimen/normal_margin">
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/thread_loading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/small_margin"
android:indeterminate="true"
app:indicatorSize="@dimen/big_margin"
app:trackCornerRadius="@dimen/normal_margin" />
</LinearLayout>