diff options
| author | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-09 12:30:46 +0100 | 
|---|---|---|
| committer | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-09 12:30:46 +0100 | 
| commit | b590f8f22f3f6368da22dbfc4708dd51b698f17b (patch) | |
| tree | 1e473f41b557c7bd73a8a8f199545da0df451e89 /Client | |
| parent | 2fbd39c63d146830743bcdc32d915df554794932 (diff) | |
Vizuelno odvojen prikaz komentara i odgovora, dodat skrol #83
Diffstat (limited to 'Client')
3 files changed, 32 insertions, 5 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/chat_preview.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/chat_preview.xml index 91a8605..694cabe 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/chat_preview.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/chat_preview.xml @@ -8,6 +8,8 @@          android:layout_width="5dp"          android:id="@+id/readIndicator"          android:layout_height="5dp" +        android:background="@drawable/rounded_picture_background" +        android:backgroundTint="@null"          android:layout_gravity="center_vertical"/>      <ImageView          android:id="@+id/ivUserImage" diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml index 005c802..91f1fd7 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/fragment_single_post_comments.xml @@ -6,7 +6,16 @@      android:layout_width="match_parent"      android:layout_height="match_parent"      tools:context=".FragmentSinglePostComments"> - +<androidx.core.widget.NestedScrollView +    android:layout_width="match_parent" +    android:layout_height="wrap_content" +    app:layout_constraintTop_toTopOf="parent" +    > +    <androidx.constraintlayout.widget.ConstraintLayout +        android:id="@+id/constraintLayout2" +        android:layout_width="match_parent" +        android:layout_height="wrap_content" +        app:layout_constraintTop_toTopOf="parent">      <androidx.constraintlayout.widget.ConstraintLayout          android:id="@+id/constraintLayout"          android:layout_width="match_parent" @@ -105,5 +114,7 @@                  tools:ignore="SpeakableTextPresentCheck" />          </androidx.cardview.widget.CardView>      </androidx.appcompat.widget.LinearLayoutCompat> +    </androidx.constraintlayout.widget.ConstraintLayout> +</androidx.core.widget.NestedScrollView>  </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/single_comment.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/single_comment.xml index 45ecde0..7b8aee7 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/single_comment.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/single_comment.xml @@ -3,8 +3,8 @@      xmlns:tools="http://schemas.android.com/tools"      android:layout_width="match_parent"      android:layout_height="wrap_content" +    android:id="@+id/llroot"      android:orientation="vertical" -    android:padding="@dimen/component_padding"      xmlns:app="http://schemas.android.com/apk/res-auto">      <androidx.appcompat.widget.LinearLayoutCompat          android:layout_width="match_parent" @@ -111,9 +111,23 @@                  tools:ignore="SpeakableTextPresentCheck" />          </androidx.cardview.widget.CardView>      </androidx.appcompat.widget.LinearLayoutCompat> -    <androidx.recyclerview.widget.RecyclerView +    <androidx.appcompat.widget.LinearLayoutCompat          android:layout_width="match_parent" -        android:layout_height="wrap_content" -        android:id="@+id/rvReplies"/> +        android:layout_height="wrap_content"> + +        <androidx.constraintlayout.widget.ConstraintLayout +            android:layout_width="2dp" +            android:layout_height="match_parent" +            android:backgroundTint="@color/unfollow" +            android:layout_marginHorizontal="23dp" +            android:background="@drawable/rounded_picture_background" +            /> + +        <androidx.recyclerview.widget.RecyclerView +            android:layout_width="match_parent" +            android:layout_height="wrap_content" +            android:layout_weight="1" +            android:id="@+id/rvReplies"/> +    </androidx.appcompat.widget.LinearLayoutCompat>  </androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file  | 
