Compare commits

...

10 Commits

6 changed files with 41 additions and 47 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 21:07:32 HKT 2026
stageCount=16 stageCount=20
libraryProject= libraryProject=
baseVersion=15.12 baseVersion=15.12
publishVersion=15.12.15 publishVersion=15.12.19
buildCount=0 buildCount=0
baseBetaVersion=15.12.16 baseBetaVersion=15.12.20

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

@@ -42,13 +42,21 @@
</LinearLayout> </LinearLayout>
<TextView
android:id="@+id/tv_timenow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="现在时间:等待更新..."
android:textSize="18sp"
android:layout_marginTop="10dp"/>
<TextView <TextView
android:id="@+id/tv_longitude" android:id="@+id/tv_longitude"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="当前经度:等待更新..." android:text="当前经度:等待更新..."
android:textSize="18sp" android:textSize="18sp"
android:layout_marginTop="15dp"/> android:layout_marginTop="10dp"/>
<TextView <TextView
android:id="@+id/tv_latitude" android:id="@+id/tv_latitude"
@@ -58,13 +66,6 @@
android:textSize="18sp" android:textSize="18sp"
android:layout_marginTop="10dp"/> android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/tv_timenow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="现在时间:等待更新..."
android:textSize="18sp"
android:layout_marginTop="10dp"/>
</LinearLayout> </LinearLayout>

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"
@@ -33,7 +35,7 @@
android:id="@+id/rb_greater_than" android:id="@+id/rb_greater_than"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="大于" android:text="大于(◎)"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="14sp"/> android:textSize="14sp"/>
@@ -41,7 +43,7 @@
android:id="@+id/rb_less_than" android:id="@+id/rb_less_than"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="小于" android:text="小于(•)"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="14sp"/> android:textSize="14sp"/>
@@ -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