From 4f841eac608f6f22a573b4f7ed713679e89c2e5b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 30 九月 2019 13:47:49 +0800
Subject: [PATCH] 2019-9-30 1.修改方案,解决不支持控制5台以上空调问题。

---
 app/src/main/res/layout/activity_geothermal.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/app/src/main/res/layout/activity_geothermal.xml b/app/src/main/res/layout/activity_geothermal.xml
index 8596b09..1ea914d 100644
--- a/app/src/main/res/layout/activity_geothermal.xml
+++ b/app/src/main/res/layout/activity_geothermal.xml
@@ -26,7 +26,9 @@
         <LinearLayout
             android:orientation="horizontal"
             android:layout_width="match_parent"
-            android:layout_height="50dp">
+            android:layout_height="50dp"
+            android:focusable="true"
+            android:focusableInTouchMode="true">
             <Button
                 android:id="@+id/btn_temp"
                 android:layout_width="wrap_content"

--
Gitblit v1.8.0