feat(social): like button fix

This commit is contained in:
aayush262 2024-04-26 19:57:55 +05:30
parent 856deb7755
commit da456d3067
19 changed files with 223 additions and 172 deletions

View file

@ -309,50 +309,34 @@
</LinearLayout>
</FrameLayout>
<LinearLayout
<FrameLayout
android:id="@+id/homeUserStatusContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
android:layout_height="wrap_content"
android:minHeight="100dp">
<TextView
android:id="@+id/homeUserStatus"
<ProgressBar
android:id="@+id/homeUserStatusProgressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:fontFamily="@font/poppins_bold"
android:padding="8dp"
android:text="@string/social"
android:textSize="16sp" />
android:layout_gravity="center" />
<FrameLayout
<ani.dantotsu.FadingEdgeRecyclerView
android:id="@+id/homeUserStatusRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="100dp">
android:clipToPadding="false"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:requiresFadingEdge="horizontal"
tools:itemCount="4"
tools:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_user_status"
tools:orientation="horizontal" />
</FrameLayout>
<ProgressBar
android:id="@+id/homeUserStatusProgressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="90dp" />
<ani.dantotsu.FadingEdgeRecyclerView
android:id="@+id/homeUserStatusRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:requiresFadingEdge="horizontal"
tools:itemCount="4"
tools:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_user_status"
tools:orientation="horizontal" />
</FrameLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/homeContinueWatchingContainer"
android:layout_width="match_parent"

View file

@ -112,10 +112,12 @@
tools:ignore="HardcodedText,RtlSymmetry" />
<LinearLayout
android:id="@+id/statusUserActions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:orientation="vertical"
android:paddingHorizontal="24dp"
tools:ignore="UseCompoundDrawables">
<ImageView

View file

@ -12,7 +12,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:backgroundTint="@color/bg_white"
android:backgroundTint="@color/transparent"
app:strokeColor="@color/transparent"
app:cardCornerRadius="124dp">
<ImageView
@ -28,10 +29,11 @@
android:id="@+id/profileUserName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/poppins_semi_bold"
android:layout_gravity="center_horizontal|center_vertical"
android:ellipsize="end"
android:text="@string/username"
android:textColor="?attr/colorOnBackground"
android:textSize="14sp" />
android:textSize="12sp" />
</LinearLayout>