@@ -0,0 +1,10 @@ | |||||
<?xml version="1.0" encoding="UTF-8"?> | |||||
<project version="4"> | |||||
<component name="deploymentTargetSelector"> | |||||
<selectionStates> | |||||
<SelectionState runConfigName="app"> | |||||
<option name="selectionMode" value="DROPDOWN" /> | |||||
</SelectionState> | |||||
</selectionStates> | |||||
</component> | |||||
</project> |
@@ -5,7 +5,7 @@ | |||||
<option name="linkedExternalProjectsSettings"> | <option name="linkedExternalProjectsSettings"> | ||||
<GradleProjectSettings> | <GradleProjectSettings> | ||||
<option name="externalProjectPath" value="$PROJECT_DIR$" /> | <option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||||
<option name="gradleJvm" value="corretto-11" /> | |||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" /> | |||||
<option name="modules"> | <option name="modules"> | ||||
<set> | <set> | ||||
<option value="$PROJECT_DIR$" /> | <option value="$PROJECT_DIR$" /> | ||||
@@ -0,0 +1,10 @@ | |||||
<?xml version="1.0" encoding="UTF-8"?> | |||||
<project version="4"> | |||||
<component name="ProjectMigrations"> | |||||
<option name="MigrateToGradleLocalJavaHome"> | |||||
<set> | |||||
<option value="$PROJECT_DIR$" /> | |||||
</set> | |||||
</option> | |||||
</component> | |||||
</project> |
@@ -1,4 +1,3 @@ | |||||
<?xml version="1.0" encoding="UTF-8"?> | |||||
<project version="4"> | <project version="4"> | ||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="corretto-11" project-jdk-type="JavaSDK" /> | <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="corretto-11" project-jdk-type="JavaSDK" /> | ||||
</project> | </project> |
@@ -1,7 +1,13 @@ | |||||
import java.text.DateFormat | |||||
import java.text.SimpleDateFormat | |||||
apply plugin: 'com.android.application' | apply plugin: 'com.android.application' | ||||
//apply plugin: 'com.jakewharton.butterknife' | //apply plugin: 'com.jakewharton.butterknife' | ||||
def releaseTime() { | |||||
DateFormat df = new SimpleDateFormat("yyyyMMddHHmm") | |||||
return df.format(Calendar.getInstance(Locale.CHINA).getTime()) | |||||
} | |||||
android { | android { | ||||
compileSdk rootProject.ext.compileSdkVersion | compileSdk rootProject.ext.compileSdkVersion | ||||
@@ -51,6 +57,11 @@ android { | |||||
} | } | ||||
} | } | ||||
applicationVariants.all { variant -> | |||||
variant.outputs.all { | |||||
outputFileName = "boluo-chayinbatai-v${defaultConfig.versionCode}-${releaseTime()}"+"-unsigned-${variant.name}.apk" | |||||
} | |||||
} | |||||
} | } | ||||
dependencies { | dependencies { | ||||
@@ -243,13 +243,23 @@ | |||||
android:layout_width="match_parent" | android:layout_width="match_parent" | ||||
android:layout_height="wrap_content" | android:layout_height="wrap_content" | ||||
android:background="@color/app_color_blue" > | android:background="@color/app_color_blue" > | ||||
<Button | |||||
android:id="@+id/btn_sync" | |||||
<FrameLayout | |||||
android:layout_width="wrap_content" | android:layout_width="wrap_content" | ||||
android:layout_height="wrap_content" | |||||
android:layout_marginLeft="20dp" | |||||
android:background="@mipmap/yxz" | |||||
android:textSize="16sp" | |||||
android:layout_centerHorizontal="true"/> | |||||
android:layout_height="?attr/qmui_topbar_height"> | |||||
<Button | |||||
android:id="@+id/btn_sync" | |||||
android:layout_width="100dp" | |||||
android:layout_height="?attr/qmui_topbar_height" | |||||
android:background="#00000000" | |||||
android:textSize="16sp" | |||||
android:layout_centerHorizontal="true"/> | |||||
<ImageView | |||||
android:layout_width="wrap_content" | |||||
android:layout_height="?attr/qmui_topbar_height" | |||||
android:src="@mipmap/yxz" | |||||
android:layout_gravity="center" | |||||
android:scaleType="fitCenter" | |||||
/> | |||||
</FrameLayout> | |||||
</com.qmuiteam.qmui.widget.QMUITopBarLayout> | </com.qmuiteam.qmui.widget.QMUITopBarLayout> | ||||
</com.qmuiteam.qmui.widget.QMUIWindowInsetLayout> | </com.qmuiteam.qmui.widget.QMUIWindowInsetLayout> |