Minor fixes

This commit is contained in:
世界
2024-03-15 21:23:22 +08:00
parent 5feba135c4
commit 73976ce9d1
6 changed files with 76 additions and 47 deletions

View File

@@ -70,11 +70,21 @@
</LinearLayout>
<TextView
android:id="@+id/itemText"
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/group_selected"
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="56dp" />
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:hint="@string/group_selected_title">
<AutoCompleteTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="none" />
</com.google.android.material.textfield.TextInputLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/itemList"

View File

@@ -6,10 +6,10 @@
style="?materialCardViewElevatedStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="4dp"
android:layout_margin="2dp"
app:cardBackgroundColor="?colorSurfaceContainer"
app:cardCornerRadius="0dp"
app:cardElevation="4dp">
app:cardCornerRadius="4dp"
app:cardElevation="0dp">
<LinearLayout
android:layout_width="match_parent"

View File

@@ -79,6 +79,8 @@
<string name="status_traffic">Traffic</string>
<string name="status_traffic_total">Traffic Total</string>
<string name="group_selected_title">Selected</string>
<string name="profile">Profile</string>
<string name="core_version">Version</string>
<string name="core">Core</string>