update:2019.12.03

fix:
add:1.0.0发版
This commit is contained in:
2019-12-03 18:31:58 +08:00
parent 8f194481af
commit 94aa3a7d86
18 changed files with 473 additions and 162 deletions

View File

@@ -38,22 +38,41 @@
android:layout_marginEnd="20dp"
android:layout_weight="1">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="35dp"
android:layout_centerInParent="true"
android:layout_gravity="center_vertical"
android:layout_marginLeft="10dp"
android:layout_marginRight="20dp"
android:background="#d4d0d0"
app:cardCornerRadius="15dp">
<androidx.appcompat.widget.SearchView
android:id="@+id/search_view"
<LinearLayout
android:id="@+id/search_ll"
android:layout_width="match_parent"
android:layout_height="35dp"
android:background="#ffffff" />
</androidx.cardview.widget.CardView>
android:layout_height="@dimen/dp_24"
android:layout_centerInParent="true"
android:gravity="center_vertical">
<ImageView
android:layout_width="@dimen/dp_12"
android:layout_height="@dimen/dp_24"
android:gravity="center_vertical"
android:src="@drawable/shap_search_left" />
<ImageView
android:layout_width="@dimen/dp_24"
android:layout_height="@dimen/dp_24"
android:adjustViewBounds="true"
android:background="#EBEBEB"
android:scaleType="centerInside"
android:src="@drawable/icon_serach"></ImageView>
<TextView
android:layout_width="match_parent"
android:layout_height="@dimen/dp_24"
android:background="@drawable/shap_search_right"
android:gravity="center_vertical"
android:text="@string/search_edit"
android:textColor="#c1bfbf">
</TextView>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.SearcherActivity">
<LinearLayout
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_margin="@dimen/dp_10"
android:adjustViewBounds="true"
android:onClick="finish"
android:scaleType="centerInside"
android:src="@drawable/ic_back" />
<androidx.appcompat.widget.SearchView
android:id="@+id/search"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/dp_40"
app:iconifiedByDefault="false"
app:queryHint="@string/search_edit">
</androidx.appcompat.widget.SearchView>
</LinearLayout>
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/featured_refresh_layout"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout3">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/item_app" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</androidx.constraintlayout.widget.ConstraintLayout>