<?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:id="@+id/cardView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardCornerRadius="16dp"
app:cardElevation="4dp"
android:clickable="true"
android:focusable="true"
app:cardBackgroundColor="@color/maroon"
android:gravity="end"
android:layout_gravity="end"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="start">
<TextView
android:id="@+id/textuserid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:textColor="@color/white"
/>
<TextView
android:id="@+id/texttimestamp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="italic"
android:layout_toEndOf="@id/textuserid"
android:textColor="@color/white"
/>
</RelativeLayout>
<TextView
android:id="@+id/textmessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="italic"
android:textColor="@color/white"
/>
</LinearLayout>
</androidx.cardview.widget.CardView>
I’m trying to move my card view to right side like Line App, But they no way to do this show how stupid of IDE or Android Studio very retard and stupid IDE ever!, Even on ChatGPT 4.0 That a most retard AI Ever too! there no way to move this card to right side, and when I’m trying to cover them with Linear or Relative Layout to make sure they start to right side you know what happen? The clickable zone of card is not work, the cardview zone stay on rightside
but Clickable zone is opposite side of card, This is the most stupid and retard IDE I ever do before very dissapointing how retard of dev. team doing this.