diff --git a/app/build.gradle b/app/build.gradle
index e572087a9..266e9d9bb 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -86,6 +86,7 @@ android {
}
buildFeatures {
viewBinding true
+ buildConfig true
}
lint {
abortOnError false
diff --git a/app/src/extra/java/free/rm/skytube/gui/fragments/ChromecastControllerFragment.java b/app/src/extra/java/free/rm/skytube/gui/fragments/ChromecastControllerFragment.java
index 3546dbd44..dd1a98f4c 100644
--- a/app/src/extra/java/free/rm/skytube/gui/fragments/ChromecastControllerFragment.java
+++ b/app/src/extra/java/free/rm/skytube/gui/fragments/ChromecastControllerFragment.java
@@ -50,11 +50,6 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
stopButton = fragmentBinding.stopButton;
bufferingSpinner = fragmentBinding.bufferingSpinner;
- // Set the background color of the video description layout since by default it doesn't match the background color of the Chromecast controller
- TypedValue typedValue = new TypedValue();
- getContext().getTheme().resolveAttribute(R.attr.colorPrimary, typedValue, true);
- videoDescriptionBinding.videoDescLinearlayout.setBackgroundResource(typedValue.resourceId);
-
Linker.configure(videoDescriptionBinding.videoDescDescription, null);
fragmentBinding.chromecastPlaybackProgressBar.setOnSeekBarChangeListener(this);
diff --git a/app/src/extra/res/menu/main_activity_menu.xml b/app/src/extra/res/menu/main_activity_menu.xml
index d14496361..32278d661 100644
--- a/app/src/extra/res/menu/main_activity_menu.xml
+++ b/app/src/extra/res/menu/main_activity_menu.xml
@@ -5,7 +5,7 @@
- > getSubscribedChannelIdsAsync() {
.subscribeOn(Schedulers.io());
}
- public void setChannelState(@NonNull PersistentChannel channel, @NonNull Status status) {
- Logger.i(this, "Set channel %s pk=%s, id=%s state to %s", channel.channel().getTitle(), channel.channelPk(), channel.getChannelId(), status);
- SkyTubeApp.nonUiThread();
- LocalChannelTable.updateChannelStatus(getWritableDatabase(), channel.getChannelId(), status);
- }
-
public void setChannelState(@NonNull ChannelId channelId, @NonNull Status status) {
Logger.i(this, "Set channel id=%s state to %s", channelId, status);
SkyTubeApp.nonUiThread();
diff --git a/app/src/main/res/layout/video_description.xml b/app/src/main/res/layout/video_description.xml
index c8c7c03d5..ccacf3050 100644
--- a/app/src/main/res/layout/video_description.xml
+++ b/app/src/main/res/layout/video_description.xml
@@ -4,20 +4,23 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/video_player_drawer_background">
-
+
+
+ android:textColor="@color/video_player_drawer_text" />
+ android:text="Channel Name" />
+ android:text="Unsubscribe" />
@@ -78,20 +81,20 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:paddingLeft="30dp"
- android:paddingStart="30dp">
+ android:paddingStart="30dp"
+ android:paddingLeft="30dp">
+ android:text="17,000,000 views" />
+ android:layout_below="@id/video_desc_views" />
+ android:visibility="gone" />
@@ -128,17 +131,17 @@
+ android:paddingTop="10dp"
+ android:text="7 days ago" />
+ android:autoLink="web"
+ android:paddingTop="10dp"
+ android:text="Video description here." />
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index 15d01286a..4955172cd 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -19,7 +19,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF
android.useAndroidX=true
android.enableJetifier=true
-android.defaults.buildfeatures.buildconfig=true
-android.nonTransitiveRClass=false
+android.nonTransitiveRClass=true
android.nonFinalResIds=false