Commit adc6cb95 by chengxiuhong

test main

parent f1ff8f55
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
......@@ -43,17 +40,7 @@
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8 (6)" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
......
......@@ -4,7 +4,8 @@
<modules>
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/library/baselibrary/baselibrary.iml" filepath="$PROJECT_DIR$/library/baselibrary/baselibrary.iml" />
<module fileurl="file://$PROJECT_DIR$/eye_haihang.iml" filepath="$PROJECT_DIR$/eye_haihang.iml" />
<module fileurl="file://G:\workspace_ooyby\haihang\eye_haihang.iml" filepath="G:\workspace_ooyby\haihang\eye_haihang.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/haihang.iml" filepath="$PROJECT_DIR$/.idea/haihang.iml" />
<module fileurl="file://$PROJECT_DIR$/library/library.iml" filepath="$PROJECT_DIR$/library/library.iml" />
<module fileurl="file://$PROJECT_DIR$/library/netlibrary/netlibrary.iml" filepath="$PROJECT_DIR$/library/netlibrary/netlibrary.iml" />
<module fileurl="file://$PROJECT_DIR$/library/oo_statistics_lib/oo_statistics_lib.iml" filepath="$PROJECT_DIR$/library/oo_statistics_lib/oo_statistics_lib.iml" />
......
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
apply plugin: 'com.android.library'
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'android-apt'
apply plugin: 'org.greenrobot.greendao'
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.oo.eye">
package="com.oo.eye">
<application android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true">
<activity android:name="com.oo.eye.activity.EyeTestMainActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.BeforeEyeTestActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.EyeTestActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.AfterEyeTestActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.EyeTestHistroyActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.EyeTestStatisticsActivity"
android:screenOrientation="landscape"/>
<activity android:name="com.oo.eye.activity.EyeSettingActivity"
android:screenOrientation="landscape"/>
<application
android:name="com.app.baselibrary.base.app.BaseApplication"
android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".activity.EyeTestMainActivity"
android:launchMode="singleTask"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.oo.eye.activity.BeforeEyeTestActivity"
android:screenOrientation="landscape" />
<activity
android:name="com.oo.eye.activity.EyeTestActivity"
android:screenOrientation="landscape" />
<activity
android:name="com.oo.eye.activity.AfterEyeTestActivity"
android:screenOrientation="landscape" />
<activity
android:name="com.oo.eye.activity.EyeTestHistroyActivity"
android:screenOrientation="landscape" />
<activity
android:name="com.oo.eye.activity.EyeTestStatisticsActivity"
android:screenOrientation="landscape" />
<activity
android:name="com.oo.eye.activity.EyeSettingActivity"
android:screenOrientation="landscape" />
</application>
</manifest>
\ No newline at end of file
......@@ -62,7 +62,7 @@ public class EyeTestMainActivity extends BaseActivity implements EyeMainContract
mStateView.unRegistStateListener();
}
@OnClick(R2.id.tv_eye_test)
@OnClick(R2.id.lin_eye_test)
void onClickTest(View v){
startActivity(BeforeEyeTestActivity.class);
}
......@@ -76,11 +76,11 @@ public class EyeTestMainActivity extends BaseActivity implements EyeMainContract
}
startActivity(EyeTestHistroyActivity.class);
}
@OnClick(R2.id.tv_eye_test_setting)
@OnClick(R2.id.lin_eye_test_setting)
void onClickSetting(View v){
startActivity(EyeSettingActivity.class);
}
@OnClick(R2.id.tv_eye_test_statistics)
@OnClick(R2.id.lin_eye_test_statistics)
void onClickStatistics(View v){
EyeHistroyBean eyeTestBean = EyeConfig.getInstance().getCuurentBean();
if(EyeConfig.getInstance().getCuurentBean() == null ||
......
......@@ -3,14 +3,13 @@ package com.oo.eye.gen;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import com.oo.eye.bean.EyeHistroyBean;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.DaoConfig;
import org.greenrobot.greendao.database.Database;
import org.greenrobot.greendao.database.DatabaseStatement;
import org.greenrobot.greendao.internal.DaoConfig;
import com.oo.eye.bean.EyeHistroyBean;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT.
/**
......
......@@ -4,5 +4,5 @@
<color name="btn_focus_bg">#3effffff</color>
<color name="gray_white">#c7c9d1</color>
<color name="white">#fff</color>
<color name="e_test_color">#205B64</color>
<color name="e_test_color">#2498cd</color>
</resources>
\ No newline at end of file
......@@ -2,4 +2,6 @@
<resources>
<dimen name="activity_horizontal_margin">115dp</dimen>
<dimen name="activity_vertical_margin">38dp</dimen>
<dimen name="dimen_150">130dp</dimen>
<dimen name="dimen_120">100dp</dimen>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="BaseAppTheme">
<!-- Customize your theme here. -->
</style>
<style name="BaseAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:listDivider">@color/transparent</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment