<LinearLayout xmlns:android=“http://schemas.android.com/apk/res/android”
android:layout_width=“350dp”
android:layout_height=“wrap_content”
android:background=“@android:color/white”
android:orientation=“vertical”>
<TextView
android:id=“@+id/tvTitle”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“#257CFF”
android:gravity=“center”
android:paddingBottom=“8dp”
android:paddingTop=“8dp”
android:text=“设置阈值”
android:textColor=“@android:color/white”
android:textSize=“18sp”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“20dp”
android:text=“温度阈值设置:”
android:textColor=“#6C6C6C”/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginTop=“5dp”
android:gravity=“center”
android:orientation=“horizontal”>
<LinearLayout
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:gravity=“right”
android:layout_weight=“1”>
<TextView
android:id=“@+id/tv_tempValue”
android:layout_width=“wrap_content”
android:layout_height=“match_parent”
android:text=“30”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“match_parent”
android:text=“℃”
/>
<SeekBar
android:id=“@+id/sb_temp”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:max=“60”
android:progress=“30”/>
<TextView
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“5dp”
android:text=“数值范围 0-60℃”
android:textColor=“#6C6C6C”/>
<View
android:layout_width=“match_parent”
android:layout_height=“1dp”
android:layout_marginTop=“10dp”
android:background=“#cccccc”>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“20dp”
android:text=“湿度阈值设置:”
android:textColor=“#6C6C6C”/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginTop=“5dp”
android:gravity=“center”
android:orientation=“horizontal”>
<LinearLayout
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:gravity=“right”
android:layout_weight=“1”>
<TextView
android:id=“@+id/tv_humiValue”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:focusable=“false”
android:text=“30”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“%RH”
/>
<SeekBar
android:id=“@+id/sb_humi”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:max=“100”
android:progress=“30”/>
<TextView
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“5dp”
android:text=“数值范围 0-100%RH”
android:textColor=“#6C6C6C”/>
<View
android:layout_width=“match_parent”
android:layout_height=“1dp”
android:layout_marginTop=“10dp”
android:background=“#cccccc”>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“20dp”
android:text=“光照阈值设置:”
android:textColor=“#6C6C6C”/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginTop=“5dp”
android:gravity=“center”
android:orientation=“horizontal”>
<LinearLayout
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:gravity=“right”
android:layout_weight=“1”>
<TextView
android:id=“@+id/tv_lightValue”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:focusable=“false”
android:text=“3000”/>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:text=“Lx”/>
<SeekBar
android:id=“@+id/sb_light”
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:max=“10000”
android:progress=“3000”/>
<TextView
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_marginLeft=“20dp”
android:layout_marginTop=“5dp”
android:text=“数值范围 0-10000Lx”
android:textColor=“#6C6C6C”/>
<View
android:layout_width=“match_parent”
android:layout_height=“1dp”
android:layout_marginTop=“10dp”
android:background=“#cccccc”>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:orientation=“horizontal”>
<Button
android:id=“@+id/btn_confirm”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_weight=“1”
android:background=“@android:color/white”
android:paddingBottom=“10dp”
android:paddingTop=“10dp”
android:text=“确定”
android:textColor=“#257CFF”/>
<View
android:layout_width=“1dp”
android:layout_height=“match_parent”
android:background=“#cccccc”>
<Button
android:id=“@+id/btn_cancel”
android:layout_width=“wrap_content”
总结:
各行各样都会淘汰一些能力差的,不仅仅是IT这个行业,所以,不要被程序猿是吃青春饭等等这类话题所吓倒,也不要觉得,找到一份工作,就享受安逸的生活,你在安逸的同时,别人正在奋力的向前跑,这样与别人的差距也就会越来越遥远,加油,希望,我们每一个人,成为更好的自己。
-
BAT大厂面试题、独家面试工具包,
-
资料包括 数据结构、Kotlin、计算机网络、Framework源码、数据结构与算法、小程序、NDK、Flutter
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
这类话题所吓倒,也不要觉得,找到一份工作,就享受安逸的生活,你在安逸的同时,别人正在奋力的向前跑,这样与别人的差距也就会越来越遥远,加油,希望,我们每一个人,成为更好的自己。
-
BAT大厂面试题、独家面试工具包,
-
资料包括 数据结构、Kotlin、计算机网络、Framework源码、数据结构与算法、小程序、NDK、Flutter
[外链图片转存中…(img-5zi1TRU6-1714437980520)]
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!