Browse Source

上传图片

茶饮配方
liup 4 months ago
parent
commit
f4488ac4cf
7 changed files with 50 additions and 10 deletions
  1. +10
    -0
      .idea/deploymentTargetSelector.xml
  2. +1
    -1
      .idea/gradle.xml
  3. +10
    -0
      .idea/migrations.xml
  4. +0
    -1
      .idea/misc.xml
  5. +12
    -1
      app/build.gradle
  6. +17
    -7
      app/src/main/res/layout/fragment_gongneng.xml
  7. BIN
     

+ 10
- 0
.idea/deploymentTargetSelector.xml View File

@@ -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>

+ 1
- 1
.idea/gradle.xml View File

@@ -5,7 +5,7 @@
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="corretto-11" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />


+ 10
- 0
.idea/migrations.xml View File

@@ -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>

+ 0
- 1
.idea/misc.xml View File

@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="corretto-11" project-jdk-type="JavaSDK" />
</project>

+ 12
- 1
app/build.gradle View File

@@ -1,7 +1,13 @@
import java.text.DateFormat
import java.text.SimpleDateFormat

apply plugin: 'com.android.application'
//apply plugin: 'com.jakewharton.butterknife'


def releaseTime() {
DateFormat df = new SimpleDateFormat("yyyyMMddHHmm")
return df.format(Calendar.getInstance(Locale.CHINA).getTime())
}
android {
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 {


+ 17
- 7
app/src/main/res/layout/fragment_gongneng.xml View File

@@ -243,13 +243,23 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/app_color_blue" >
<Button
android:id="@+id/btn_sync"
<FrameLayout
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.QMUIWindowInsetLayout>

BIN
View File


Loading…
Cancel
Save