riku
2025-10-17 fbae5f3ea74727ccadc48314a864a1ea0099a945
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto">
 
    <TextView
        android:id="@+id/txt_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@id/img_edit"
        app:layout_constraintBottom_toBottomOf="@id/img_edit"
        android:enabled="true"
        android:textSize="@dimen/textSize_14"
        android:textColor="@color/black"
        tools:text="常规"/>
 
    <ImageView
        android:id="@+id/img_edit"
        android:layout_width="@dimen/title_icon_size_2"
        android:layout_height="@dimen/title_icon_size_2"
        android:paddingStart="@dimen/dimen6"
        android:paddingTop="@dimen/dimen6"
        android:paddingBottom="@dimen/dimen6"
        android:src="@drawable/icon_patrol_edit"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toEndOf="@id/txt_title"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="1"/>
 
    <cn.flightfeather.thirdappmodule.view.SearchView
        android:id="@+id/search_view"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintTop_toTopOf="@id/img_edit"
        app:layout_constraintBottom_toBottomOf="@id/img_edit"
        android:elevation="@dimen/dimen2"
        android:visibility="gone"
        tools:ignore="UnusedAttribute" />
 
    <android.support.constraint.Barrier
        android:id="@+id/barrier_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:barrierDirection="bottom"
        app:constraint_referenced_ids="txt_title, img_edit"/>
 
    <android.support.v7.widget.RecyclerView
        android:id="@+id/rv_photo_list"
        android:layout_marginTop="@dimen/dimen2"
        android:paddingBottom="8dp"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        app:layout_constraintTop_toBottomOf="@id/barrier_1"
        app:layout_constraintBottom_toBottomOf="parent">
    </android.support.v7.widget.RecyclerView>
 
</android.support.constraint.ConstraintLayout>