设置默认 BoBullToon URL,添加 BoBullToon 数据清空按钮,移除重置按钮的数据清空功能。添加操作吐司提示。

This commit is contained in:
2025-12-08 19:28:46 +08:00
parent 498b2e0eae
commit 09854f3333
4 changed files with 41 additions and 19 deletions

View File

@@ -195,30 +195,48 @@
android:text="拨不通电话记录查询:"/>
<LinearLayout
android:orientation="horizontal"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:layout_margin="10dp">
<EditText
android:layout_width="0dp"
android:layout_width="match_parent"
android:ems="10"
android:layout_height="wrap_content"
android:layout_weight="1.0"
android:id="@+id/bobulltoonurl_et"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="重置地址"
android:onClick="onResetBoBullToonURL"/>
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="下载数据"
android:onClick="onDownloadBoBullToon"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="下载数据"
android:onClick="onDownloadBoBullToon"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="清空 BoBullToon 数据"
android:onClick="onCleanBoBullToonData"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="重置地址"
android:onClick="onResetBoBullToonURL"/>
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>

View File

@@ -2,6 +2,6 @@
<resources>
<string name="app_name">Contacts</string>
<string name="default_bobulltoon_url">https://gitee.com/zhangsken/bobulltoon/repository/archive/main.zip</string>
<string name="default_bobulltoon_url">https://gitea.winboll.cc/Studio/BoBullToon/archive/main.zip</string>
</resources>