第三个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 中央农村工作会议在京召开 李克强作重要 ...
随机推荐
- WPFのBorder的用法
border介绍: 下面是StackPanel中,一个简单的,具有轻微圆角的边框,围绕在一组按钮外面: <Border Margin="5" Padding="5& ...
- centos7下安装docker(11容器操作总结)
这段时间主要是学习了对容器的操作,包括:容器的状态:start,stop,restart,rename,pause,unpause,rm,attach,exec,kill,logs:还学习了对容器的资 ...
- day3-创建列表、元祖、字典
创建列表.元祖.字典 创建列表 name_list = ['alex', 'seven', 'eric'] 创建元祖 ages = (11, 22, 33, 44, 55) 创建字典 person = ...
- 纯html页面中js如何获得项目路径
js,全称javascript,不过虽然是以java开头,不过与java一点关系都没有. js和java有如下区别: (1)js是浏览器端的语言,而java是服务器端的语言. (2)js是动态语言,j ...
- Qt+QGis二次开发:打开S-57格式(*.000)电子海图数据,并设置多边形要素的显示风格
不过多的废话了,直接上源码: addChartlayers()方法时“打开海图”按钮的triggered()信号所绑定的槽函数. //添加海图数据小按钮槽函数 void MainWindow::add ...
- java 容器 List
1.概念:Java容器类类库的用途是保存对象,容器中不能存储基本数据类型,必须是对象(引用数据类型) 2.为什么需要容器:主要是在以数组作为数据的存储结构中,其长度难以扩充,同时数组中元素类型必须相同 ...
- java 面向对象抽象类和接口
1.abstract:可以修饰类和方法,被abstract修饰过的称为抽象类和抽象方法. 抽象类: 除了不可以创建对象, 其他和普通类一致. 可以有成员方法.静态方法和构造方法(提供给子类调用)等. ...
- 常用gcc选项
<Linux GCC常用命令> Makefile有三个非常有用的变量.分别是$@,$^,$<代表的意义分别是: $@--目标文件,$^--所有的依赖文件,$<--第一个依赖文件 ...
- System.ServiceModel.CommunicationException: 接收HTTP 响应时错误发生
具体错误信息例如以下: System.ServiceModel.CommunicationException: 接收对 http://110.110.110.110/TestService/TestS ...
- 代码无错就是优?简单工厂模式 C#
还是那几句话: 学无止境,精益求精 十年河东,十年河西,莫欺少年穷 学历代表你的过去,能力代表你的现在,学习代表你的将来 废话不多说,直接进入正题: 现在给你一道面试题,如下: 请用C++,C#,Ja ...