ruined UI (#138)

* removed auto navbar hide

* ruined rebel's fabulous UI
This commit is contained in:
aayush262 2024-01-18 07:18:17 +05:30 committed by GitHub
parent 8142c966c0
commit 6b2ffdaf4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 52 additions and 46 deletions

View file

@ -8,7 +8,25 @@
android:id="@+id/refreshContainer"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="48dp"
app:tabContentStart="32dp"
app:tabPaddingEnd="16dp"
app:tabPaddingStart="16dp"
app:tabTextAppearance="@style/NavBarText"
app:tabGravity="fill">
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Anime Queue(WIP)"/>
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Manga Queue(WIP)"/>
</com.google.android.material.tabs.TabLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"

View file

@ -47,8 +47,8 @@
<ImageView
android:id="@+id/itemEpisodeImage"
android:layout_width="140dp"
android:layout_height="85dp"
android:layout_width="164dp"
android:layout_height="109dp"
android:layout_gravity="center"
android:scaleType="centerCrop"
tools:ignore="ContentDescription" />
@ -74,10 +74,9 @@
android:textSize="20sp"
tools:text="12" />
</androidx.cardview.widget.CardView>
<LinearLayout
android:id="@+id/itemEpisodeProgressCont"
android:layout_width="140dp"
android:layout_width="164dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="horizontal"
@ -98,6 +97,17 @@
android:background="#80FFFFFF" />
</LinearLayout>
<ImageButton
android:id="@+id/itemEpisodeViewed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginStart="8dp"
android:background="?android:attr/selectableItemBackground"
android:layout_gravity="bottom"
app:srcCompat="@drawable/ic_round_remove_red_eye_24"
tools:ignore="ContentDescription" />
</androidx.cardview.widget.CardView>
<LinearLayout
@ -106,7 +116,7 @@
android:layout_margin="8dp"
android:layout_weight="1"
android:gravity="center"
android:minHeight="69dp"
android:minHeight="92dp"
android:orientation="vertical">
<TextView
@ -137,10 +147,11 @@
android:id="@+id/itemDownload"
android:layout_width="24dp"
android:layout_height="48dp"
android:layout_marginEnd="8dp"
android:layout_marginEnd="5dp"
android:background="?android:attr/selectableItemBackground"
app:tint="?attr/colorOnBackground"
app:srcCompat="@drawable/ic_round_download_24" />
app:srcCompat="@drawable/ic_round_download_24"
tools:ignore="ContentDescription" />
</LinearLayout>
@ -178,14 +189,5 @@
android:background="?android:colorBackground"
android:visibility="gone" />
<ImageView
android:id="@+id/itemEpisodeViewed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_margin="8dp"
android:visibility="gone"
app:srcCompat="@drawable/ic_round_remove_red_eye_24"
tools:ignore="ContentDescription" />
</androidx.cardview.widget.CardView>