<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“48dip”
android:gravity=“center”
android:orientation=“horizontal”
android:background=“@color/titleColor”>
<TextView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:textColor=“@android:color/white”
android:textSize=“20sp”
android:text=“设置”/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_margin=“5dip”>
<TextView
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:gravity=“center”
android:text=“温度范围”/>
<EditText
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“6”
android:ems=“10” />
<TextView
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:gravity=“center”
android:text=“至” />
<EditText
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“6”
android:layout_marginRight=“50dip”
android:ems=“10”/>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_margin=“5dp”>
<TextView
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:layout_gravity=“center”
android:text=“湿度范围”/>
<EditText
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“6”
android:ems=“10”/>
<LinearLayout
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“10”
android:layout_marginRight=“50dip”>
<LinearLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_margin=“5dp”>
<TextView
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“4”
android:layout_gravity=“center”
android:text=“光照范围”/>
<EditText
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“6”
android:ems=“10”/>
<LinearLayout
android:layout_width=“0.0dp”
android:layout_height=“wrap_content”
android:layout_weight=“10”
android:layout_marginRight=“50dip”>
最后
针对Android程序员,我这边给大家整理了一些资料,包括不限于高级UI、性能优化、架构师课程、NDK、混合式开发(ReactNative+Weex)微信小程序、Flutter等全方面的Android进阶实践技术;希望能帮助到大家,也节省大家在网上搜索资料的时间来学习,也可以分享动态给身边好友一起学习!
往期Android高级架构资料、源码、笔记、视频。高级UI、性能优化、架构师课程、混合式开发(ReactNative+Weex)全方面的Android进阶实践技术,群内还有技术大牛一起讨论交流解决问题。
roid高级架构资料、源码、笔记、视频。高级UI、性能优化、架构师课程、混合式开发(ReactNative+Weex)全方面的Android进阶实践技术,群内还有技术大牛一起讨论交流解决问题。**
[外链图片转存中…(img-63fGdWUu-1719750387923)]
[外链图片转存中…(img-K0yAZGmO-1719750387924)]