From 4be29f46bbaf0f73f32ae7b604e8492c8cdf1b31 Mon Sep 17 00:00:00 2001 From: nblagoev Date: Wed, 22 Feb 2023 22:56:26 +0200 Subject: [PATCH 001/121] Minor issue in build files fixed --- app/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index b60ec42e3..552879499 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,9 +30,9 @@ ktlint { } // Generate a version code from git commit count -static def generateVersionCode() { - return "git rev-list HEAD --count".execute().text.trim().toInteger() -} +//static def generateVersionCode() { +// return "git rev-list HEAD --count".execute().text.trim().toInteger() +//} android { @@ -42,7 +42,7 @@ android { applicationId "nl.tudelft.trustchain" minSdkVersion 22 targetSdkVersion 33 - versionCode generateVersionCode() + versionCode 1 versionName "0.3.2" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" From 192afe741dcb239dfd67e67e6244823509a4aad1 Mon Sep 17 00:00:00 2001 From: nblagoev Date: Sun, 26 Feb 2023 22:05:59 +0200 Subject: [PATCH 002/121] Added small like button --- detoks/src/main/res/layout/item_video.xml | 29 +++++++++++++++++++---- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/detoks/src/main/res/layout/item_video.xml b/detoks/src/main/res/layout/item_video.xml index 89e71504d..147cf5345 100644 --- a/detoks/src/main/res/layout/item_video.xml +++ b/detoks/src/main/res/layout/item_video.xml @@ -1,6 +1,7 @@ @@ -15,8 +16,10 @@ android:layout_alignParentBottom="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.0" /> + + +