EasyClick原生UI连载五

EasyClick原生UI连载目录

  • EasyClick原生UI教程
  • EasyClick 原生UI之综合使用
    • 显示效果图
    • 布局例子

EasyClick原生UI教程

讲师:Mr-老鬼,QQ:1156346325
EasyClick 原生UI教程电梯直达
EasyClick 原生UI教程总纲

EasyClick 原生UI之综合使用

显示效果图

EasyClick原生UI连载五_第1张图片

布局例子

	
    <ScrollView
		        android:layout_width="match_parent"
		        android:layout_height="match_parent">

        <LinearLayout
			            android:layout_width="match_parent"
			            android:layout_height="match_parent"
			            android:layout_margin="30dp"
			            android:orientation="vertical">

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <Switch
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:layout_weight="1"
		                    android:checked="false"
		                    android:text="无障碍服务"
		                    android:textSize="15sp" />

                <Switch
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:layout_weight="1"
		                    android:checked="false"
		                    android:padding="10dp"
		                    android:text="悬浮窗权限"
		                    android:textSize="15sp" />

            LinearLayout>


            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="账号:"
		                    android:textColor="@android:color/holo_red_dark"
		                    android:textSize="17sp" />

                <EditText
		                    android:id="@+id/userName"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:layout_weight="1"
		                    android:hint="账号"
		                    android:textSize="17sp" />
            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="密码:"
		                    android:textColor="@android:color/holo_red_dark"
		                    android:textSize="17sp" />

                <EditText
		                    android:id="@+id/userPwd"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:layout_weight="1"
		                    android:hint="平台密码"
		                    android:textSize="17sp" />
            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="选择APP版本" />

                <Spinner
		                    android:id="@+id/kspt"
		                    android:layout_width="wrap_content"
		                    android:layout_height="50dp"
		                    android:text="正式版|极速版" />

                <Button
		                    android:id="@+id/btn_signin"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="登录平台"
		                    android:textSize="14sp"
		                    android:textStyle="bold" />

            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <CheckBox
		                    android:id="@+id/ks_dzh"
		                    android:layout_width="wrap_content"
		                    android:layout_height="30dp"
		                    android:text="观看视频" />

                <EditText
		                    android:id="@+id/ks_dzhSleep"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:hint="999" />

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="秒点关注、点赞" />


            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <CheckBox
		                    android:id="@+id/ks_yh"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="完成" />

                <EditText
		                    android:id="@+id/yhNum"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:hint="50" />

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="个任务去养号" />

                <EditText
		                    android:id="@+id/yhSleep"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:hint="300" />

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="" />

            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="horizontal">

                <CheckBox
		                    android:id="@+id/ksrw1"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:checked="true"
		                    android:text="双击" />

                <CheckBox
		                    android:id="@+id/ksrw2"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:checked="true"
		                    android:text="收藏" />

                <CheckBox
		                    android:id="@+id/ksrw3"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:checked="false"
		                    android:text="点评" />

            LinearLayout>

            <LinearLayout
			                android:layout_width="match_parent"
			                android:layout_height="wrap_content"
			                android:orientation="vertical">

                <TextView
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:text="切换账号设置" />

                <LinearLayout
			                    android:layout_width="match_parent"
			                    android:layout_height="wrap_content"
			                    android:orientation="horizontal">

                    <CheckBox
		                        android:id="@+id/next_user_timer"
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:checked="false"
		                        android:text="切换时间" />

                    <EditText
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:hint="2" />

                    <TextView
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:text="小时" />

                    <CheckBox
		                        android:id="@+id/next_user_rwl"
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:checked="false"
		                        android:text="任务完成量" />

                    <EditText
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:hint="50" />

                    <TextView
		                        android:layout_width="wrap_content"
		                        android:layout_height="wrap_content"
		                        android:text="" />

                LinearLayout>

                <CheckBox
		                    android:id="@+id/next_user_rw_getnum"
		                    android:layout_width="match_parent"
		                    android:layout_height="40dp"
		                    android:layout_gravity="center"
		                    android:checked="false"
		                    android:gravity="left"
		                    android:text="10次没有获取到任务切换账号" />

            LinearLayout>

            <Button
		                android:layout_width="match_parent"
		                android:layout_height="wrap_content"
		                android:background="#FF4FB3FF"
		                android:text="运  行"
		                android:textColor="#ffffff" />

        LinearLayout>
    ScrollView>

我是Mr-老鬼、QQ1156346325 。交流QQ群:620028786,647082990
---------------------------------------版权声明------------------------------------------------------
版权所有~Mr-老鬼 ~转载请注明原文地址。
免责声明:本文所有的教程仅限交流学习使用不得用于违法用途,造成的法律后果本人不承担责任。

你可能感兴趣的:(Easy,Click,原生,UI,系列,android)