main_text.xml暂存。。。。

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

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#CD950C"
        android:orientation="vertical" >

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/title_bg"
            android:orientation="horizontal" >

            <ImageButton
                android:id="@+id/appid_title_button_2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:background="@drawable/title_bg"
                android:paddingLeft="15dp" />

            <View
                android:layout_width="2dp"
                android:layout_height="55dp"
                android:layout_alignParentTop="true"
                android:layout_marginLeft="15dp"
                android:layout_toRightOf="@id/appid_title_button_2"
                android:background="@drawable/title_line" />

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="52dp"
                android:layout_gravity="center"
                android:paddingLeft="50dp"
                android:paddingTop="8dp"
                android:text="识别测试"
                android:textColor="#1A1A1A"
                android:textSize="25dp"
                android:textStyle="bold" />
        </LinearLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="2dp" >

            <TextView
                android:id="@+id/appid_canzhao"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="5dp"
                android:text="当前Appid :"
                android:textSize="15dp" />

            <TextView
                android:id="@+id/current_appid"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/appid_canzhao"
                android:textSize="15dp" />
           
            <TextView
                android:id="@+id/current_time"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:background="#00000000"
                android:text="2013/08/02"
                android:textSize="15dp" />
        </RelativeLayout>

        <View
            android:layout_width="150dp"
            android:layout_height="1dp"
            android:layout_alignParentTop="true"
            android:layout_marginLeft="11dp"
            android:layout_marginTop="6dp"
            android:background="@drawable/title_line" />

         <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="5dp"
                android:background="#00000000"
                android:singleLine="true"
                android:text="语料文本:"/>
       
            <TextView
                android:id="@+id/textView_example"
                android:layout_width="fill_parent"
                android:layout_height="100dp"
                android:layout_marginLeft="5dp"
                android:layout_marginRight="3dp"
                android:background="#C1CDC1"
                android:scrollbars="vertical"
                android:minLines="4"
                android:singleLine="false"
                android:text="喂马劈柴周游世界 从明天起关心粮食和蔬菜"/>

            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:orientation="horizontal">
           
                <Button
                    android:id="@+id/next_text_button"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="5dp"
                    android:background="#00000000"
                    android:text="下一条>"
                    android:textSize="20dp" />
          
                <Button
                    android:id="@+id/choose_text_button"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="5dp"
                    android:background="#00000000"
                    android:text="选择>"
                    android:textSize="20dp" />
               
                </LinearLayout>
               
             <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:background="#00000000"
                android:singleLine="true"
                android:text="识别结果:"/>
            <TextView
                android:id="@+id/textView_result"
                android:layout_width="fill_parent"
                android:layout_height="100dp"
                android:layout_marginLeft="5dp"
                android:layout_marginRight="3dp"
                android:background="#C1CDC1"
                android:minLines="4"
                android:scrollbars="vertical"
                android:singleLine="false"
                android:text="从明天起做个幸福的人那幸福的闪电告诉我的 我将告诉每一个人" />

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            android:orientation="horizontal" >

            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal">

               
                <TextView
                    android:id="@+id/pipeidu"
                    android:layout_marginLeft="5dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="匹配度:"/>
               
                <TextView
                    android:layout_width="50dp"
                    android:layout_height="wrap_content"
                    android:background="#321352"
                    android:text="xxx"/>
               
                <TextView
                    android:id="@+id/recognise_time"
                    android:layout_marginLeft="10dp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="响应时间:"/>
               
                <TextView
                    android:layout_width="50dp"
                    android:layout_height="wrap_content"
                    android:background="#321352"
                    android:text="xxx"/>
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@drawable/bottom_bar_bg"
        android:gravity="center"
        android:orientation="horizontal" >

        <Button
            android:id="@+id/new_text_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="60dp"
            android:layout_marginTop="10dp"
            android:layout_weight="1"
            android:background="#00000000"
            android:text="新建"
            android:textSize="25dp" />

        <ImageButton
            android:id="@+id/start"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center|center_vertical"
            android:layout_marginBottom="0dp"
            android:layout_weight="1"
            android:background="@drawable/microphone_blue" />

        <Button
            android:id="@+id/log_show_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="60dp"
            android:layout_marginRight="10dp"
            android:layout_marginTop="10dp"
            android:layout_weight="1"
            android:background="#00000000"
            android:text="日志"
            android:textSize="25dp" />
    </LinearLayout>

</RelativeLayout>

 

 

 

 

 

 

 

 

 

 

http://www.114la.com/other/rgb.htm

http://findicons.com/icon/49461/voice_chat?id=404981

posted @ 2013-08-05 17:21  Blue-Dream  阅读(108)  评论(0)    收藏  举报