feat: voiceActors (not info for now)

This commit is contained in:
aayush262 2024-04-05 01:09:56 +05:30
parent e0df092a70
commit dec4996760
8 changed files with 59 additions and 9 deletions

View file

@ -64,8 +64,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="0.58"
android:ellipsize="end"
android:includeFontPadding="false"
android:ellipsize="start"
android:singleLine="true"
android:textAlignment="textEnd"
android:textAllCaps="true"

View file

@ -22,15 +22,49 @@
android:layout_marginEnd="32dp"
android:layout_marginBottom="32dp"
android:alpha="0.58"
tools:maxLines="10"
tools:ignore="TextContrastCheck"
tools:text="@tools:sample/lorem/random" />
<LinearLayout
android:id="@+id/voiceActorContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="32dp"
android:fontFamily="@font/poppins_bold"
android:padding="8dp"
android:text="@string/voice_actors"
android:textSize="18sp" />
<ani.dantotsu.FadingEdgeRecyclerView
android:id="@+id/voiceActorRecycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:nestedScrollingEnabled="true"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:requiresFadingEdge="horizontal"
tools:itemCount="4"
tools:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
tools:listitem="@layout/item_media_compact"
tools:orientation="horizontal" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="32dp"
android:fontFamily="@font/poppins_bold"
android:padding="8dp"
android:text="@string/roles"
android:textSize="16sp" />
android:textSize="18sp" />
</LinearLayout>
</LinearLayout>