ユーザーがAndroidタッチスクリーンデバイスの画面に書き込み、単語のヒントがウィジェットで上に生成されるアプリケーションを開発したいと思います。ユーザーがヒントをクリックすると、テキストビューの上部に配置されます。書き込み領域の設計には、gestureoverlayviewクラスを使用する予定です。
私は自分の認識モジュールを持っているので、SamsungandroidにあるPredictモジュールは使用しません。
私の質問は、ヒントを表示するためにどのウィジェットを使用する必要があるかということです。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="10">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:weightSum="5"
android:layout_weight="3">
<TextView
android:id="@+id/textView1"
android:layout_width="0dip"
android:layout_height="0dip"
android:layout_weight="2"
android:text="Hello"
/>
<ListView
android:id="@+id/ListView1"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_weight="3">
</ListView>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="5"
android:layout_weight="6">
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="6"
android:layout_weight="1">
</LinearLayout>
</LinearLayout>