diff --git a/app/src/main/res/layout/post_item.xml b/app/src/main/res/layout/post_item.xml index e7d2771..fa6b4ab 100644 --- a/app/src/main/res/layout/post_item.xml +++ b/app/src/main/res/layout/post_item.xml @@ -1,82 +1,84 @@ - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="4dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/user_account_image" + tools:layout_height="10dp" /> @@ -91,21 +99,39 @@ android:id="@+id/like_button" style="@style/PostLikeButton" android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="4dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/post_content" /> + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + android:orientation="vertical" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/like_button" + tools:background="@color/holo_red_dark" + tools:layout_height="30dp" /> + android:layout_marginEnd="8dp" + android:layout_marginStart="8dp" + android:orientation="horizontal" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/comments_list"> - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 693db7d..9a39607 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -80,18 +80,12 @@ - - -