| | |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:orientation="vertical"> |
| | | android:orientation="vertical" |
| | | android:background="@color/color_normal_background" |
| | | > |
| | | |
| | | <com.android.app_base.widget.ExtendTitleBar |
| | | android:id="@+id/titleBar" |
| | | android:id="@+id/extendTitleBar" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:elevation="10dp" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:title="魅宠(仅供查看)" |
| | | app:titleGravity="left" |
| | | > |
| | | <FrameLayout |
| | | android:layout_width="24dp" |
| | |
| | | android:background="@drawable/ic_operate" |
| | | /> |
| | | </FrameLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/layout_default" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginHorizontal="56dp" |
| | | android:gravity="center_vertical" |
| | | > |
| | | <TextView |
| | | android:id="@+id/tv_title" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="16dp" |
| | | android:text="魅宠" |
| | | android:layout_weight="1" |
| | | android:textColor="@color/white" |
| | | android:textSize="@dimen/sp_20" |
| | | /> |
| | | <ImageView |
| | | android:id="@+id/iv_search_default" |
| | | android:layout_width="@dimen/dp_24" |
| | | android:layout_height="@dimen/dp_24" |
| | | android:background="@drawable/ic_search" |
| | | /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/layout_search" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginVertical="4dp" |
| | | android:layout_marginHorizontal="56dp" |
| | | android:gravity="center_vertical" |
| | | android:background="@color/white" |
| | | android:paddingHorizontal="5dp" |
| | | android:visibility="gone" |
| | | > |
| | | <ImageView |
| | | android:id="@+id/iv_search" |
| | | android:layout_width="24dp" |
| | | android:layout_height="24dp" |
| | | android:background="@drawable/ic_search_gray" |
| | | /> |
| | | <EditText |
| | | android:id="@+id/et_search" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_marginStart="5dp" |
| | | android:textSize="14sp" |
| | | android:textColor="#61000000" |
| | | android:background="@null" |
| | | android:imeOptions="actionSearch" |
| | | android:text="" |
| | | android:singleLine="true" |
| | | android:hint="在“家大事记内搜索”" |
| | | /> |
| | | <ImageView |
| | | android:id="@+id/iv_search_type" |
| | | android:layout_width="24dp" |
| | | android:layout_height="24dp" |
| | | android:background="@drawable/ic_search_by" |
| | | /> |
| | | </LinearLayout> |
| | | |
| | | </com.android.app_base.widget.ExtendTitleBar> |
| | | |
| | | <LinearLayout |
| | |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:gravity="center" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/titleBar"> |
| | | app:layout_constraintTop_toBottomOf="@id/extendTitleBar"> |
| | | |
| | | <ImageView |
| | | android:layout_width="wrap_content" |
| | |
| | | /> |
| | | </LinearLayout> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/recyclerView" |
| | | <androidx.core.widget.NestedScrollView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:background="@color/color_normal_background" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@+id/titleBar" |
| | | app:layout_constraintVertical_bias="1.0" |
| | | tools:itemCount="20" |
| | | tools:layout_editor_absoluteX="-81dp" |
| | | tools:listitem="@layout/item_family_assets" /> |
| | | app:layout_constraintTop_toBottomOf="@+id/extendTitleBar" |
| | | > |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | > |
| | | <androidx.cardview.widget.CardView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginHorizontal="20dp" |
| | | android:layout_marginVertical="26dp" |
| | | app:cardBackgroundColor="#99FFE2EF" |
| | | app:cardCornerRadius="10dp" |
| | | app:cardElevation="0dp" |
| | | > |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginHorizontal="40dp" |
| | | android:layout_marginVertical="20dp" |
| | | android:orientation="vertical" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="小黄的基本信息" |
| | | android:textColor="#66000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="犬名:小黄" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="犬种:金毛" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="性别:雌性" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="犬只颜色:金黄色" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="出生日期:2010-03-01" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="10dp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="犬证号码:1234567891" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="10dp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="防伪码:1234567891" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="10dp" |
| | | /> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="饮食习惯(喜):" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="小狗粮" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="饮食习惯(恶):" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="小狗粮" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="生活习惯(爱好):" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="小狗粮小狗粮" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="生活习惯(嗜好):" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮小狗粮" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="听懂方言:" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="粤语、客家话" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="犬居住地址:" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | <TextView |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="广东省广州市" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | /> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="魅宠全身照:" |
| | | android:textColor="#FF000000" |
| | | android:textSize="14sp" |
| | | android:layout_marginTop="10dp" |
| | | /> |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/recyclerView" |
| | | android:layout_marginTop="10dp" |
| | | /> |
| | | |
| | | </LinearLayout> |
| | | </androidx.cardview.widget.CardView> |
| | | |
| | | </LinearLayout> |
| | | |
| | | </androidx.core.widget.NestedScrollView> |
| | | |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |