zoukankan      html  css  js  c++  java
  • 第三个Sprint ------第六天

     分数计算界面代码

    <?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"
        android:background="@drawable/bg" >
    
        <TextView
            android:id="@+id/wrong"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:layout_marginRight="72dp"
            android:layout_marginTop="79dp"
            android:text="@string/wrongText" />
    
        <TextView
            android:gravity="center"
            android:id="@+id/theEndtext"
            android:layout_width="fill_parent"
            android:layout_height="40dp"
            android:text="@string/terminalText" />
    
        <TextView
            android:id="@+id/rnumber"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignLeft="@+id/wrong"
            android:layout_below="@+id/wrong"
            android:layout_marginTop="40dp"
            android:text="@string/rightandwrongText" />
    
        <TextView
            android:layout_marginLeft="20dp"
            android:id="@+id/ToatlText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:text="@string/scoreText" />
    
        <Button
            android:id="@+id/Back"
            android:onClick="onclick"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/score"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="52dp"
            android:background="@drawable/button_selector"
            android:text="@string/userSubmitText" />
    
        <TextView
            android:id="@+id/wnumber"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/rnumber"
            android:layout_alignBottom="@+id/rnumber"
            android:layout_alignRight="@+id/right"
            android:text="@string/rightandwrongText" />
    
        <TextView
            android:id="@+id/right"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/wrong"
            android:layout_alignBottom="@+id/wrong"
            android:layout_marginRight="24dp"
            android:layout_toLeftOf="@+id/Back"
            android:text="@string/rightText" />
    
        <TextView
            android:id="@+id/score"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignRight="@+id/Back"
            android:layout_below="@+id/ToatlText"
            android:text="@string/rightandwrongText" />
    
    </RelativeLayout>

     

    分数计算界面截图

     

      

  • 相关阅读:
    决策树算法小结
    低配置电脑播放 flash 视频时 占 cpu 资源过高的解决方法
    ts tp 高清播放软件 Elecard MPEG Player 6.0.130827
    KBS2 SBS MBC 高清播放地址 + mplayer 播放 录制
    MPlayer-ww 增加边看边剪切功能
    MPlayer 增加边看边剪切功能
    -fomit-frame-pointer 编译选项在gcc 4.8.2版本中的汇编代码研究
    ffplay mini 媒体播放器
    libavcodec/dxva2.h:40:5: error: unknown type name 'IDirectXVideoDecoder'
    ARGB32 to YUV12 利用 SDL1.2 SDL_ttf 在视频表面输出文本
  • 原文地址:https://www.cnblogs.com/kangqu/p/5040918.html
Copyright © 2011-2022 走看看