Skip to content

Commit

Permalink
chat: smoother UI (fixes #5067)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes committed Jan 17, 2025
1 parent b32cc6f commit fb51d29
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions app/src/main/res/layout/fragment_chat_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,58 +22,61 @@
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent">

<TableRow
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:gravity="center_horizontal">

<Button
android:id="@+id/tvOpenai"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/openai"
android:textAllCaps="false"
android:textColor="@color/md_black_1000"
android:textSize="18sp"
android:textStyle="bold"
android:visibility="gone" />

<View
android:id="@+id/view1"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
android:background="#e0e0e0"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:visibility="gone" />

<Button
android:id="@+id/tvPerplexity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/perplexity"
android:textAllCaps="false"
android:textColor="@color/md_black_1000"
android:textSize="18sp"
android:textStyle="bold"
android:visibility="gone" />

<View
android:id="@+id/view2"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/_2dp"
android:layout_marginEnd="@dimen/_2dp"
android:background="#e0e0e0"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:visibility="gone" />

<Button
android:id="@+id/tvGemini"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/gemini"
android:textAllCaps="false"
android:textColor="@color/md_black_1000"
Expand All @@ -82,7 +85,6 @@
android:visibility="gone" />
</TableRow>
</TableLayout>

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_gchat"
android:layout_width="0dp"
Expand Down

0 comments on commit fb51d29

Please sign in to comment.