|
|
|
@ -25,51 +25,75 @@ |
|
|
|
|
<!-- android:id="@+id/ilSearch"--> |
|
|
|
|
<!-- layout="@layout/item_search_control_net" />--> |
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
<!-- <androidx.constraintlayout.widget.ConstraintLayout--> |
|
|
|
|
<!-- android:layout_width="match_parent"--> |
|
|
|
|
<!-- android:layout_height="wrap_content"--> |
|
|
|
|
<!-- android:gravity="center_vertical"--> |
|
|
|
|
<!-- android:orientation="horizontal">--> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/llSpinner" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="center_vertical" |
|
|
|
|
android:layout_height="@dimen/sw_30dp" |
|
|
|
|
android:layout_marginHorizontal="@dimen/sw_16dp" |
|
|
|
|
android:layout_marginTop="@dimen/sw_7dp" |
|
|
|
|
android:background="@drawable/bg_search" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
android:id="@+id/llSpinner" |
|
|
|
|
android:layout_width="@dimen/sw_103dp" |
|
|
|
|
android:layout_height="@dimen/sw_30dp" |
|
|
|
|
android:layout_marginStart="@dimen/sw_16dp" |
|
|
|
|
android:layout_marginTop="@dimen/sw_7dp" |
|
|
|
|
android:background="@drawable/bg_search" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/searchWidget" |
|
|
|
|
app:layout_constraintHorizontal_weight="1" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent"> |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_marginEnd="@dimen/sw_4dp" |
|
|
|
|
android:layout_weight="1"> |
|
|
|
|
|
|
|
|
|
<com.project.survey.widget.materialspinner.MaterialSpinner |
|
|
|
|
android:id="@+id/spinner" |
|
|
|
|
android:id="@+id/spinnerName" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:textColor="@color/text_color_20" |
|
|
|
|
android:textSize="@dimen/sw_11sp" /> |
|
|
|
|
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_width="@dimen/sw_8dp" |
|
|
|
|
android:layout_height="@dimen/sw_2dp" |
|
|
|
|
android:background="@drawable/bg_search_shadow_2" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/llSpinner" |
|
|
|
|
app:layout_constraintStart_toStartOf="parent" /> |
|
|
|
|
android:background="@drawable/bg_search_shadow_2" /> |
|
|
|
|
|
|
|
|
|
<com.project.survey.widget.SearchWidget |
|
|
|
|
android:id="@+id/searchWidget" |
|
|
|
|
<FrameLayout |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
app:layout_constraintHorizontal_weight="1" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/llSpinner" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:sw_hint="请输入控制网名称" /> |
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_marginStart="@dimen/sw_4dp" |
|
|
|
|
android:layout_weight="1"> |
|
|
|
|
|
|
|
|
|
<com.project.survey.widget.materialspinner.MaterialSpinner |
|
|
|
|
android:id="@+id/spinnerVersion" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:textColor="@color/text_color_20" |
|
|
|
|
android:textSize="@dimen/sw_11sp" /> |
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<!-- <View--> |
|
|
|
|
<!-- android:layout_width="0dp"--> |
|
|
|
|
<!-- android:layout_height="@dimen/sw_2dp"--> |
|
|
|
|
<!-- android:background="@drawable/bg_search_shadow_2"--> |
|
|
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"--> |
|
|
|
|
<!-- app:layout_constraintEnd_toEndOf="@id/llSpinner"--> |
|
|
|
|
<!-- app:layout_constraintStart_toStartOf="parent" />--> |
|
|
|
|
|
|
|
|
|
<!-- <com.project.survey.widget.SearchWidget--> |
|
|
|
|
<!-- android:id="@+id/searchWidget"--> |
|
|
|
|
<!-- android:layout_width="0dp"--> |
|
|
|
|
<!-- android:layout_height="wrap_content"--> |
|
|
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"--> |
|
|
|
|
<!-- app:layout_constraintHorizontal_weight="1"--> |
|
|
|
|
<!-- app:layout_constraintStart_toEndOf="@id/llSpinner"--> |
|
|
|
|
<!-- app:layout_constraintTop_toTopOf="parent"--> |
|
|
|
|
<!-- app:sw_hint="请输入控制网名称" />--> |
|
|
|
|
<!-- </androidx.constraintlayout.widget.ConstraintLayout>--> |
|
|
|
|
|
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout |
|
|
|
|
android:id="@+id/smartRefreshLayout" |
|
|
|
|