Dola TENG 1 рік тому
батько
коміт
0a97fcfc72

+ 0 - 7
app/src/main/java/com/sambath/sbc/screen/FighterFragment.kt

@@ -1,7 +0,0 @@
-package com.sambath.sbc.screen
-
-// TODO: Rename parameter arguments, choose names that match
-// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
-private const val ARG_PARAM1 = "param1"
-private const val ARG_PARAM2 = "param2"
-

+ 2 - 2
app/src/main/res/layout/activity_main2.xml

@@ -17,10 +17,10 @@
         android:layout_height="wrap_content"
         android:layout_marginStart="0dp"
         android:layout_marginEnd="0dp"
-        android:background="?android:attr/windowBackground"
+        android:background="@color/text_black"
+        app:labelVisibilityMode="labeled"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"
-        app:labelVisibilityMode="labeled"
         app:layout_constraintRight_toRightOf="parent"
         app:menu="@menu/bottom_nav_menu" />
 

+ 6 - 2
app/src/main/res/layout/fragment_fighter.xml

@@ -4,6 +4,7 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:background="@color/text_black"
     android:orientation="vertical"
     tools:context=".screen.fighter.FighterFragment">
 
@@ -11,8 +12,10 @@
         android:id="@+id/tabLayout"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:background="@color/text_black"
         app:tabGravity="fill"
-        app:tabMode="scrollable" />
+        app:tabMode="scrollable"
+        app:tabTextColor="@color/color_white" />
 
     <TextView
         android:id="@+id/selectedTabTextView"
@@ -21,7 +24,8 @@
         android:layout_gravity="center_horizontal"
         android:padding="16dp"
         android:text="Selected Tab: "
-        android:textSize="18sp" />
+        android:textSize="18sp"
+        android:visibility="gone" />
 
     <androidx.recyclerview.widget.RecyclerView
         android:id="@+id/recyclerViewFighter"

+ 1 - 12
app/src/main/res/layout/layout_fighter_card.xml

@@ -5,7 +5,7 @@
     android:layout_height="wrap_content"
     android:layout_margin="10dp"
     android:alpha="0.8"
-    app:cardBackgroundColor="@color/text_black"
+    app:cardBackgroundColor="@color/color_gray_800"
     app:cardElevation="4dp">
 
     <LinearLayout
@@ -14,17 +14,6 @@
         android:orientation="vertical"
         app:cardCornerRadius="0dp">
 
-        <!--        <ToggleButton-->
-        <!--            android:id="@+id/bookmarkToggleButton"-->
-        <!--            android:layout_width="30dp"-->
-        <!--            android:layout_height="30dp"-->
-        <!--            android:layout_centerInParent="true"-->
-        <!--            android:background="@android:color/transparent"-->
-        <!--            android:drawableStart="@drawable/ic_star_50"-->
-        <!--            android:drawablePadding="8dp"-->
-        <!--            android:textOff=""-->
-        <!--            android:textOn="" />-->
-
         <ImageView
             android:id="@+id/bookmarkToggleButton"
             android:layout_width="30dp"