Commit 6d5bc4d2 authored by fallenstardust's avatar fallenstardust

更改搜索器布局

parent ea65c84d
...@@ -39,14 +39,15 @@ ...@@ -39,14 +39,15 @@
android:layout_weight="1" android:layout_weight="1"
android:textSize="12sp" /> android:textSize="12sp" />
<androidx.appcompat.widget.AppCompatButton
<androidx.appcompat.widget.AppCompatSpinner android:id="@+id/btn_my_fav"
android:id="@+id/sp_scale"
style="@style/itemSpinnerStyle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="@dimen/label_width_small" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:visibility="invisible" /> android:background="@color/transparent"
android:text="@string/my_favorites"
android:visibility="visible" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
...@@ -82,6 +83,29 @@ ...@@ -82,6 +83,29 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" /> android:layout_weight="1" />
<androidx.appcompat.widget.AppCompatSpinner
android:id="@+id/sp_scale"
style="@style/itemSpinnerStyle"
android:layout_width="0dp"
android:layout_height="@dimen/label_width_small"
android:layout_weight="1"
android:visibility="invisible" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/label_width_small"
android:orientation="horizontal">
<cn.garymb.ygomobile.ui.widget.SearchableSpinner
android:id="@+id/sp_setcode"
style="@style/itemSpinnerStyle"
android:layout_width="0dp"
android:layout_height="@dimen/label_width_small"
android:layout_weight="1"
app:searchTitle="@string/label_set" />
<androidx.appcompat.widget.AppCompatButton <androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_linkmarker" android:id="@+id/btn_linkmarker"
android:layout_width="0dp" android:layout_width="0dp"
...@@ -93,14 +117,6 @@ ...@@ -93,14 +117,6 @@
</LinearLayout> </LinearLayout>
<cn.garymb.ygomobile.ui.widget.SearchableSpinner
android:id="@+id/sp_setcode"
style="@style/itemSpinnerStyle"
android:layout_width="match_parent"
android:layout_height="@dimen/label_width_small"
app:searchTitle="@string/label_set" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -223,7 +239,7 @@ ...@@ -223,7 +239,7 @@
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="18dp" android:layout_marginLeft="10dp"
android:layout_weight="1"> android:layout_weight="1">
<androidx.appcompat.widget.AppCompatEditText <androidx.appcompat.widget.AppCompatEditText
...@@ -256,7 +272,7 @@ ...@@ -256,7 +272,7 @@
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="18dp" android:layout_marginLeft="10dp"
android:layout_weight="1"> android:layout_weight="1">
<androidx.appcompat.widget.AppCompatEditText <androidx.appcompat.widget.AppCompatEditText
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment