Merge pull request #488 from Naveen3Singh/recyclerview_improvements
Recyclerview related improvements
This commit is contained in:
commit
322ccbd76a
22 changed files with 413 additions and 214 deletions
|
|
@ -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" />
|
||||
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
18
app/src/main/res/layout/item_thread_loading.xml
Normal file
18
app/src/main/res/layout/item_thread_loading.xml
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue