317 lines
13 KiB
XML
317 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<data>
|
|
|
|
<import type="android.view.View" />
|
|
|
|
<variable
|
|
name="canclefollowbean"
|
|
type="com.fisherbone.fuzhu.entity.CancleFollowBean" />
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.fisherbone.fuzhu.widget.TitleBar
|
|
android:id="@+id/title_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#fff5f5f5"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<!-- <TextView-->
|
|
<!-- style="@style/fragment_text"-->
|
|
<!-- android:text="运行时长(h)"-->
|
|
<!-- android:textSize="16sp" />-->
|
|
|
|
<CheckBox
|
|
android:id="@+id/radioButton01"
|
|
android:text="取消已关"
|
|
android:textSize="16sp"
|
|
android:checked="@={canclefollowbean.cancelclosed}"
|
|
style="@style/fragment_text"
|
|
/>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<CheckBox
|
|
android:id="@+id/radioButton02"
|
|
style="@style/fragment_text"
|
|
android:text="取消互关"
|
|
android:textSize="16sp"
|
|
android:checked="@={canclefollowbean.cancelcrosscor}"
|
|
/>
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp"
|
|
android:background="@color/txt_color" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/fragment_text"
|
|
android:text="取关数"
|
|
android:textSize="16sp" />
|
|
|
|
<EditText
|
|
android:layout_width="100dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginLeft="52dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="7dp"
|
|
android:background="@null"
|
|
android:hint="请输入取关数"
|
|
android:text="@={canclefollowbean.passnumber}"
|
|
android:textColor="#ff3d3d3d"
|
|
android:textColorHint="#ffcccccc"
|
|
android:inputType="number"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/fragment_text"
|
|
android:text="取关间隔(s)"
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<EditText
|
|
android:layout_width="100dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginLeft="52dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="7dp"
|
|
android:background="@null"
|
|
android:hint="请输入取关间隔"
|
|
android:text="@={canclefollowbean.swiinterval}"
|
|
android:textColor="#ff3d3d3d"
|
|
android:textColorHint="#ffcccccc"
|
|
android:inputType="number"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/fragment_text"
|
|
android:text="最小开始取关数"
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<EditText
|
|
android:layout_width="100dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginLeft="52dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="7dp"
|
|
android:background="@null"
|
|
android:hint="最小开始取关数"
|
|
android:text="@={canclefollowbean.minthrthr}"
|
|
android:textColor="#ff3d3d3d"
|
|
android:textColorHint="#ffcccccc"
|
|
android:inputType="number"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:visibility="gone"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/fragment_text"
|
|
android:text="互关保留粉丝数"
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<EditText
|
|
android:layout_width="100dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginLeft="52dp"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="7dp"
|
|
android:background="@null"
|
|
android:hint="最小开始取关数"
|
|
android:text="@={canclefollowbean.minfans}"
|
|
android:textColor="#ff3d3d3d"
|
|
android:textColorHint="#ffcccccc"
|
|
android:inputType="number"
|
|
android:textSize="12sp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="4dp"
|
|
android:background="@color/txt_color" />
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/rl_start"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:background="@drawable/bg_recfollow_zhixing">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:drawableLeft="@mipmap/icon_zhixing"
|
|
android:text="开始运行"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="16sp" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:textSize="10sp"
|
|
android:textColor="#ff0000"
|
|
android:text="备注:最终的关注数=最小开始取关数-取关数"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|
|
</layout>
|
|
|