Skip to content

Commit

Permalink
all: smoother feedback list dark mode (fixes #4454) (#4461)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Kuljeet1998 and dogi authored Sep 24, 2024
1 parent 3cee7b7 commit 904d4a4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1946
versionName "0.19.46"
versionCode 1947
versionName "0.19.47"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
Expand Down Expand Up @@ -121,7 +120,7 @@ class FeedbackDetailActivity : AppCompatActivity() {

inner class RvFeedbackAdapter(private val replyList: List<FeedbackReply>?, var context: Context) : RecyclerView.Adapter<ReplyViewHolder>() {
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ReplyViewHolder {
rowFeedbackReplyBinding = RowFeedbackReplyBinding.inflate(LayoutInflater.from(context), parent, false)
rowFeedbackReplyBinding = RowFeedbackReplyBinding.inflate(layoutInflater, parent, false)
return ReplyViewHolder(rowFeedbackReplyBinding)
}

Expand Down
19 changes: 10 additions & 9 deletions app/src/main/res/layout/row_feedback_reply.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_margin="5dp"
android:padding="5dp">
android:padding="5dp"
android:backgroundTint="@color/card_bg">

<RelativeLayout
android:id="@+id/rv_item_parent_layout"
Expand All @@ -18,22 +20,21 @@
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:hint="@string/date" />

android:hint="@string/date"
android:textColor="@color/daynight_textColor" />
<TextView
android:id="@+id/tv_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/user"
android:textStyle="bold" />


android:textStyle="bold"
android:textColor="@color/daynight_textColor" />
<TextView
android:id="@+id/tv_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/tv_user"
android:hint="@string/message" />

android:hint="@string/message"
android:textColor="@color/daynight_textColor" />
</RelativeLayout>
</androidx.cardview.widget.CardView>
</androidx.cardview.widget.CardView>

0 comments on commit 904d4a4

Please sign in to comment.