Compare commits

...

6 Commits

5 changed files with 30 additions and 37 deletions

View File

@@ -1,6 +1,15 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
repositories { repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
maven { url "https://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
mavenLocal { mavenLocal {
// 设置本地Maven仓库路径 // 设置本地Maven仓库路径
url 'file:///sdcard/.m2/repository/' url 'file:///sdcard/.m2/repository/'
@@ -11,19 +20,6 @@ buildscript {
maven { url "https://nexus.winboll.cc/repository/maven-public/" } maven { url "https://nexus.winboll.cc/repository/maven-public/" }
// "WinBoLL Snapshot" // "WinBoLL Snapshot"
maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" } maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
maven { url "https://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
//println "mavenLocal : ==========="
//println mavenLocal().url
//println "mavenLocal : ==========="
//mavenLocal()
} }
dependencies { dependencies {
// 适配MIUI12 // 适配MIUI12
@@ -35,6 +31,15 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
maven { url "https://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
mavenLocal { mavenLocal {
// 设置本地Maven仓库路径 // 设置本地Maven仓库路径
url 'file:///sdcard/.m2/repository/' url 'file:///sdcard/.m2/repository/'
@@ -45,19 +50,6 @@ allprojects {
maven { url "https://nexus.winboll.cc/repository/maven-public/" } maven { url "https://nexus.winboll.cc/repository/maven-public/" }
// "WinBoLL Snapshot" // "WinBoLL Snapshot"
maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" } maven { url "https://nexus.winboll.cc/repository/maven-snapshots/" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google/' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
maven { url 'https://dl.bintray.com/ppartisan/maven/' }
maven { url "https://clojars.org/repo/" }
maven { url "https://jitpack.io" }
mavenCentral()
google()
//println "mavenLocal : ==========="
//println mavenLocal().url
//println "mavenLocal : ==========="
//mavenLocal()
} }
ext { ext {
// 定义全局变量,常用于版本管理 // 定义全局变量,常用于版本管理

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue Mar 31 13:51:27 HKT 2026 #Sat Apr 11 02:20:27 HKT 2026
stageCount=16 stageCount=18
libraryProject= libraryProject=
baseVersion=15.12 baseVersion=15.12
publishVersion=15.12.15 publishVersion=15.12.17
buildCount=0 buildCount=0
baseBetaVersion=15.12.16 baseBetaVersion=15.12.18

View File

@@ -322,7 +322,7 @@ public class PositionTaskListView extends LinearLayout {
String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription(); String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription();
h.tvSimpleTaskDesc.setText(String.format("任务:%s", desc)); h.tvSimpleTaskDesc.setText(String.format("任务:%s", desc));
h.tvStartTime.setText(genSelectedTimeText(task.getStartTime())); h.tvStartTime.setText(genSelectedTimeText(task.getStartTime()));
String cond = task.isGreaterThan() ? "大于" : "小于"; String cond = task.isGreaterThan() ? "大于(◎)" : "小于(•)";
h.tvSimpleDistanceCond.setText(String.format("条件:距离 %s %d 米", cond, task.getDiscussDistance())); h.tvSimpleDistanceCond.setText(String.format("条件:距离 %s %d 米", cond, task.getDiscussDistance()));
h.tvSimpleIsEnable.setText(task.isEnable() ? "状态:已启用" : "状态:已禁用"); h.tvSimpleIsEnable.setText(task.isEnable() ? "状态:已启用" : "状态:已禁用");
h.tvSimpleIsEnable.setTextColor(task.isEnable() h.tvSimpleIsEnable.setTextColor(task.isEnable()
@@ -341,7 +341,7 @@ public class PositionTaskListView extends LinearLayout {
String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription(); String desc = task.getTaskDescription() == null ? "未设置描述" : task.getTaskDescription();
holder.tvTaskDesc.setText(String.format("任务:%s", desc)); holder.tvTaskDesc.setText(String.format("任务:%s", desc));
String cond = task.isGreaterThan() ? "大于" : "小于"; String cond = task.isGreaterThan() ? "大于(◎)" : "小于(•)";
holder.tvTaskDistance.setText(String.format("条件:%s %d 米", cond, task.getDiscussDistance())); holder.tvTaskDistance.setText(String.format("条件:%s %d 米", cond, task.getDiscussDistance()));
holder.tvStartTime.setText(genSelectedTimeText(task.getStartTime())); holder.tvStartTime.setText(genSelectedTimeText(task.getStartTime()));

View File

@@ -13,7 +13,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="输入任务描述" android:hint="输入任务描述"
android:maxLines="1" android:maxLines="1"
android:textSize="14sp"/> android:textSize="14sp"
android:lines="3"
android:inputType="textMultiLine"/>
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
@@ -77,7 +79,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="开始时间" android:text="开始时间"
android:id="@+id/btn_select_time"/> android:id="@+id/btn_select_time"/>
<TextView <TextView
android:id="@+id/tv_selected_time" android:id="@+id/tv_selected_time"
android:layout_width="0dp" android:layout_width="0dp"
@@ -85,7 +87,6 @@
android:text="Text" android:text="Text"
android:layout_weight="1.0"/> android:layout_weight="1.0"/>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Mon Mar 16 19:52:21 GMT 2026 #Wed Apr 08 17:37:24 GMT 2026
stageCount=26 stageCount=26
libraryProject= libraryProject=
baseVersion=15.11 baseVersion=15.11
publishVersion=15.11.25 publishVersion=15.11.25
buildCount=29 buildCount=30
baseBetaVersion=15.11.26 baseBetaVersion=15.11.26