|
@@ -14,84 +14,83 @@
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
+ android:id="@+id/commenterImage"
|
|
|
android:layout_width="40dp"
|
|
|
android:layout_height="40dp"
|
|
|
- android:id="@+id/commenterImage"
|
|
|
- android:src="@color/shimmer_placeholder"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- >
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:src="@color/shimmer_placeholder" />
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/author"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- android:gravity="left"
|
|
|
- android:text="Commenter"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/author"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:gravity="left"
|
|
|
+ android:text="Commenter"
|
|
|
+ android:textColor="@color/textColor"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:text="says:"
|
|
|
+ android:textColor="@color/textColor"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:padding="5dp"
|
|
|
- android:text="says:"
|
|
|
- android:textSize="15sp" />
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/commentTime"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:text="Time"
|
|
|
+ android:textColor="@color/textColor"
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/commentTime"
|
|
|
+ android:id="@+id/comment"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:padding="5dp"
|
|
|
- android:text="Time"
|
|
|
- android:textSize="15sp" />
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:textColor="@color/textColor" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/comment"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:layout_marginStart="5dp"/>
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|