第三个Sprint ------第三天
出题界面代码
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" tools:context=".MainActivity"
android:background="@drawable/tbg"> <Button
android:id="@+id/submitButton"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:onClick="onclick"
android:text="@string/userSubmitText" /> <RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="35dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@drawable/button_selector" > <TextView
android:id="@+id/tv_timer "
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:drawableLeft="@drawable/clock_gray"
android:drawablePadding="2dp"
android:gravity="center"
android:text="@string/TimeText0000"
android:textColor="@color/black"
android:textStyle="bold" /> <TextView
android:id="@+id/CorrectAndWrong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/tv_timer "
android:layout_alignBottom="@+id/tv_timer "
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:text="@string/rightandwrongText"
android:textColor="@color/black"
android:textStyle="bold" /> <TextView
android:id="@+id/userQuestionNum"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/tv_timer "
android:layout_alignParentLeft="true"
android:layout_marginLeft="10dp"
android:text="@string/questionnumberText"
android:textColor="@color/black"
android:textStyle="bold" /> </RelativeLayout> <Button
android:id="@+id/next"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:onClick="onclick"
android:text="@string/nextButtonText" /> <Button
android:id="@+id/previous"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:onClick="onclick"
android:text="@string/previousButtonText" /> <TextView
android:id="@+id/noticeText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/relativeLayout1"
android:ems="10"
android:gravity="center"
/> <TextView
android:id="@+id/Explanation"
android:layout_width="fill_parent"
android:layout_height="90dp"
android:layout_alignParentLeft="true"
android:layout_below="@+id/useranswer"
android:layout_marginTop="28dp"
android:background="@drawable/button_selector"
android:ems="10"
android:gravity="center"
android:hint="@string/explainationText" /> <TextView
android:id="@+id/userquestion"
android:layout_width="fill_parent"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_below="@+id/noticeText"
android:layout_marginTop="14dp"
android:ems="10"
android:gravity="center"
android:hint="@string/questionText" /> <TextView
android:id="@+id/wrongNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/next"
android:layout_alignLeft="@+id/next"
android:text="@string/wrongText"
android:textColor="@color/black"
android:textStyle="bold" /> <EditText
android:id="@+id/useranswer"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/userquestion"
android:layout_marginTop="46dp"
android:background="@drawable/button_selector"
android:ems="10"
android:gravity="center"
android:hint="@string/userInputTips"
/> <TextView
android:id="@+id/userEqual"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/userquestion"
android:layout_centerHorizontal="true"
android:text="@string/equalText"
android:textSize="30sp" /> <TextView
android:id="@+id/rightNumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/submitButton"
android:layout_toRightOf="@+id/submitButton"
android:text="@string/rightText"
android:textColor="@color/black"
android:textStyle="bold" /> </RelativeLayout>
出题界面截图

第三个Sprint ------第三天的更多相关文章
- “数学口袋精灵”App的第三个Sprint计划(总结与团队感悟)----开发日记
第三阶段Sprint完成情况: 我们的"数学口袋精灵"App已经完成了,该app能随机产生多种形式的算式,比如带括号的,分数四则运算,混合运算,阶乘等,通过游戏形式让用户乐在其中. ...
- “数学口袋精灵”App的第三个Sprint计划----开发日记(第十一天12.17)
项目进度: 基本完成一个小游戏,游戏具有:随机产生算式,判断对错功能.通过轻快的背景音乐,音效,给玩家提供一个良好的氛围. 任务分配: 冯美欣:设计"数学口袋精灵"App图标.整 ...
- “数学口袋精灵”App的第三个Sprint计划----开发日记(第一天12.7~第十天12.16)
“数学口袋精灵”第三个Sprint计划----第一天 项目进度: 基本完成一个小游戏,游戏具有:随机产生算式,判断对错功能.通过轻快的背景音乐,音效,给玩家提供一个良好的氛围. 任务分配: 冯美欣: ...
- 第三个Sprint冲刺总结
第三个Sprint冲刺总结 1.燃尽图 2.本阶段总结: 本阶段主要是对产品进行完善和美化,所以工作量不是很多.但要做精,做好并非是一件简单的事情.我们各组员都安排了各自的任务,如参考各行业的优秀ap ...
- Lucene.Net 2.3.1开发介绍 —— 三、索引(三)
原文:Lucene.Net 2.3.1开发介绍 -- 三.索引(三) 3.Field配置所产生的效果 索引数据,简单的代码,只要两个方法就搞定了,而在索引过程中用到的一些类里最简单,作用也不小的就是F ...
- (三)、Struts第三天
(三).Struts第三天 Struts核心业务: (Struts提供了哪些功能?) 1. 请求数据自动封装(params拦截器) 2. struts数据处理方式 * ActionContext ...
- 1.Git起步-Git的三种状态以及三种工作区域、CVCS与DVCS的区别、Git基本工作流程
1.Git基础 版本控制系统是一种用于记录一个或多个文件内容变化,以便将来查阅恢复特定版本修订情况的系统. Git是一种分布式版本控制系统(Distributed Version Control Sy ...
- Leading and Trailing LightOJ - 1282 (取数的前三位和后三位)
题意: 求n的k次方的前三位 和 后三位 ...刚开始用 Java的大数写的...果然超时... 好吧 这题用快速幂取模求后三位 然后用一个技巧求前三位 ...orz... 任何一个数n均可以表示 ...
- JavaScript如何根据当天算出前三天和后三天
经杨秀徐批准 中央军委颁发意见建设新型司令机关news 杨秀徐会见到北京述职的香港特首梁振英news 海军372潜艇官兵先进事迹报告会举行 杨秀徐作指示news 中央农村工作会议在京召开 李克强作重要 ...
随机推荐
- Java设计模式之十二 ---- 备忘录模式和状态模式
前言 在上一篇中我们学习了行为型模式的策略模式(Strategy Pattern)和模板模式(Template Pattern).本篇则来学习下行为型模式的两个模式,备忘录模式(Memento Pat ...
- 错误: 无法访问InstrumentationTestRunner 找不到android.test.InstrumentationTestRunner的类文件
错误: 无法访问InstrumentationTestRunner找不到android.test.InstrumentationTestRunner的类文件
- 服务器出现大量的127.0.0.1:3306 TIME_WAIT连接 解决方法 [转载]
netstat -an 192.168.12.13:3306 192.168.12.12:30443 TIME_WAIT 192.168.12.13:3306 192.1 ...
- 公式编辑器MathType基本使用方法总结----应付本科毕业论文完全没问题啦^_^
本人计算数学专业毕业,写毕业论文和外文翻译的时候会遇到大量公式需要编辑,而且学校一般都要求用word.但是Word自带的公式编辑器只支持一种字体,当公式中涉及到特殊字体就不太方便了.如果用Latex来 ...
- WPFの操作文件浏览框几种方式
方式1: 使用win32控件OpenFileDialog Microsoft.Win32.OpenFileDialog ofd = new Microsoft.Win32.OpenFileDialog ...
- AdapterView<T extends Adapter>
http://zhidao.baidu.com/link?url=mgs08yinrG-rt2864QvlbKmdbyn9rm-KTqm1CODNQpVLnVvAndkJRVJ8mN4_XkNDB2_ ...
- EBS-新增和更新价目表行
版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/gh320/article/details/36666133 新增和更新价目表行 --目的:在已 ...
- 【转】理解js中的原型链,prototype与__proto__的关系
说到prototype,就不得不先说下new的过程. 我们先看看这样一段代码: 1 <script type="text/javascript"> 2 var Pers ...
- Objective-C 单例实现
Objective-C中用的最多的设计模式就是单例,它最常见的实现如下: + (WPXXService *)sharedInstance { static WPXXService *g_service ...
- luogu P1439 【模板】最长公共子序列(LCS)
题目qwq (第一道蓝题) 先把第一个序列每个数出现的顺序记下来(数字本身不用记), 然后第二个序列的每个数都对照它的顺序,这样只要得到一个升序的序列就行了qwq 如果遇到出现顺序在前面的数,就用二分 ...