<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:orientation="vertical">

	<LinearLayout
		android:layout_width="match_parent"
		android:layout_height="0dp"
		android:gravity="center_vertical|center_horizontal"
		android:layout_weight="1.0"
		android:orientation="vertical">

		<ScrollView
			android:layout_width="match_parent"
			android:layout_height="0dp"
			android:layout_weight="1.0"
			android:id="@+id/message_sv">

			<TextView
				android:layout_width="match_parent"
				android:layout_height="match_parent"
				android:text="Asking Ollama ..."
				android:textAppearance="?android:attr/textAppearanceLarge"
				android:id="@+id/message_tv"/>

		</ScrollView>

		<LinearLayout
			android:orientation="horizontal"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:gravity="center_vertical">

			<EditText
				android:layout_width="0dp"
				android:ems="10"
				android:layout_height="wrap_content"
				android:id="@+id/ask_et"
				android:layout_weight="1.0"
				android:text="Hello, World!"/>

			<Button
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:text="Send"
				android:id="@+id/send_bt"/>

		</LinearLayout>

	</LinearLayout>

	<LinearLayout
		android:layout_width="match_parent"
		android:layout_height="0dp"
		android:layout_weight="1.0">

		<cc.winboll.studio.libappbase.LogView
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:text="Text"
			android:id="@+id/logview"/>

	</LinearLayout>

</LinearLayout>

