|
@@ -1,55 +1,57 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
- android:id="@+id/main"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_width="match_parent">
|
|
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
+ android:id="@+id/main"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:layout_width="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:fitsSystemWindows="true"
|
|
android:fitsSystemWindows="true"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
|
|
|
+ android:layout_marginEnd="4dp"
|
|
|
tools:context=".MainActivity">
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
- android:layout_weight="1">
|
|
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:fadeScrollbars="false">
|
|
|
|
|
|
|
|
- <ScrollView
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/gguf"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:fadeScrollbars="false">
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/gguf"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_margin="16dp"
|
|
|
|
|
- android:text="Selected GGUF model's metadata will show here."
|
|
|
|
|
- style="@style/TextAppearance.MaterialComponents.Body2"
|
|
|
|
|
- android:maxLines="100" />
|
|
|
|
|
|
|
+ android:layout_margin="16dp"
|
|
|
|
|
+ android:text="Selected GGUF model's metadata will show here."
|
|
|
|
|
+ style="@style/TextAppearance.MaterialComponents.Body2" />
|
|
|
|
|
|
|
|
- </ScrollView>
|
|
|
|
|
|
|
+ </ScrollView>
|
|
|
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
|
+ <com.google.android.material.divider.MaterialDivider
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="2dp"
|
|
|
|
|
+ android:layout_marginHorizontal="16dp"
|
|
|
|
|
+ android:layout_marginVertical="8dp" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/messages"
|
|
android:id="@+id/messages"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="4"
|
|
android:layout_weight="4"
|
|
|
- android:padding="16dp"
|
|
|
|
|
android:fadeScrollbars="false"
|
|
android:fadeScrollbars="false"
|
|
|
|
|
+ android:scrollbars="vertical"
|
|
|
app:reverseLayout="true"
|
|
app:reverseLayout="true"
|
|
|
tools:listitem="@layout/item_message_assistant"/>
|
|
tools:listitem="@layout/item_message_assistant"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingStart="16dp"
|
|
|
|
|
+ android:paddingEnd="4dp">
|
|
|
|
|
|
|
|
<EditText
|
|
<EditText
|
|
|
android:id="@+id/user_input"
|
|
android:id="@+id/user_input"
|
|
@@ -67,7 +69,7 @@
|
|
|
style="@style/Widget.Material3.FloatingActionButton.Primary"
|
|
style="@style/Widget.Material3.FloatingActionButton.Primary"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_margin="8dp"
|
|
|
|
|
|
|
+ android:layout_margin="12dp"
|
|
|
android:src="@drawable/outline_folder_open_24" />
|
|
android:src="@drawable/outline_folder_open_24" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|