MyFlag Step14: 打卡功能界面的初步
来源:互联网 发布:centos怎么安装 编辑:程序博客网 时间:2024/05/30 20:08
引言
经过相互的讨论,现在拟定打卡的形式问题
界面粗设计
activity_my.xml
<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" > <com.lorentzos.flingswipe.SwipeFlingAdapterView android:id="@+id/frame" android:background="#ffeee9e2" android:layout_width="match_parent" android:layout_height="match_parent" app:rotation_degrees="15.5" tools:context=".MyActivity" /> <include layout="@layout/buttons" /></merge>
buttons.xml
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"android:orientation="horizontal"android:layout_gravity="center_horizontal|bottom"android:layout_marginBottom="20dp"android:layout_width="wrap_content"android:layout_height="wrap_content"><Button android:id="@+id/left" android:layout_margin="10dp" android:text="Left" android:layout_width="wrap_content" android:layout_height="wrap_content" /><Button android:id="@+id/right" android:layout_margin="10dp" android:text="Right" android:layout_width="wrap_content" android:layout_height="wrap_content" /></LinearLayout>
item.xml
<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_gravity="center" android:layout_width="250dp" android:layout_height="170dp"> <TextView android:id="@+id/helloText" android:textSize="40sp" android:textColor="@android:color/white" android:background="#E339" android:gravity="center" tools:text="@string/hello_world" android:layout_width="match_parent" android:layout_height="match_parent" /> <View android:id="@+id/item_swipe_left_indicator" android:alpha="0" android:layout_width="20dp" android:layout_height="20dp" android:layout_margin="10dp" android:background="#A5F" /> <View android:id="@+id/item_swipe_right_indicator" android:alpha="0" android:layout_width="20dp" android:layout_height="20dp" android:layout_margin="10dp" android:layout_gravity="right" android:background="#5AF" /> <Space android:layout_width="wrap_content" android:layout_height="wrap_content" /></FrameLayout>
总结
这只是一个粗框架,还有待进一步的优化改进。
阅读全文
0 0
- MyFlag Step14: 打卡功能界面的初步
- myflag step14:打卡功能
- myflag step14:打卡功能
- MyFlag Step13:打卡功能的初步讨论
- MyFlag Step14:后台代码编写、客户端具体功能实现以及界面优化
- MyFlag Step9 :Flag功能相关的设计
- MyFlag Step3: 界面设计初步
- MyFlag Step3:APP的系统设计和初步详细设计
- MyFlag Step5:用户功能
- MyFlag Step11:后台代码编写与客户端具体功能实现以及界面优化
- MyFlag Step11:后台代码编写、客户端具体功能实现与界面优化
- MyFlag Step12:后台代码编写、客户端具体功能实现与界面优化
- MyFlag Step12:后台代码编写、客户端具体功能实现以及界面优化
- MyFlag Step13:后台代码编写、客户端具体功能实现以及界面优化
- myflag step 13:后台代码编写、客户端具体功能实现与界面优化
- MyFlag Step3:APP的系统设计、界面设计和初步详细设计
- 基于Android的指纹打卡功能的实现
- myflag step10:flagdao的编写
- 正则表达式小结
- 深入探究HashMap的实现原理
- 网络端口的小记
- Python数据类型Number数字
- Python3.X_HTMLTestRunner亲测可用,附说明
- MyFlag Step14: 打卡功能界面的初步
- OpenGL
- QTableWidget详解(样式、右键菜单、表头塌陷、多选等)
- 懵逼的问题:父类没有重载=,子类需要重载=咋办?
- Android studio的正则表达式(Logcat, Search)
- N-I位数
- NUC1003 Hangover【数学计算】
- 基于信号处理的在线云评测+社区系统( 7)
- Unity3d shader 教程三 RGB立方体