|
|
|
@ -62,54 +62,71 @@ |
|
|
|
</FrameLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView |
|
|
|
android:id="@+id/search_background" |
|
|
|
style="?attr/materialCardViewFilledStyle" |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="48dp" |
|
|
|
android:layout_marginHorizontal="16dp" |
|
|
|
android:layout_marginTop="12dp" |
|
|
|
app:cardCornerRadius="24dp"> |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:id="@+id/search_container" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
<com.google.android.material.card.MaterialCardView |
|
|
|
android:id="@+id/search_background" |
|
|
|
style="?attr/materialCardViewFilledStyle" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="48dp" |
|
|
|
android:layout_marginStart="16dp" |
|
|
|
android:layout_marginEnd="48dp" |
|
|
|
android:orientation="horizontal"> |
|
|
|
android:layout_marginTop="12dp" |
|
|
|
app:cardCornerRadius="24dp"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:id="@+id/search_container" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_marginStart="16dp" |
|
|
|
android:layout_marginEnd="48dp" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="24dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
android:src="@drawable/ic_search" |
|
|
|
app:tint="?attr/colorOnSurfaceVariant" /> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/search_text" |
|
|
|
android:layout_width="180dp" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="@android:color/transparent" |
|
|
|
android:hint="@string/multiplayer_search_public_lobbies" |
|
|
|
android:imeOptions="flagNoFullscreen" |
|
|
|
android:inputType="text" |
|
|
|
android:maxLines="1" /> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:id="@+id/clear_button" |
|
|
|
android:layout_width="24dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
android:layout_gravity="center_vertical|end" |
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
android:src="@drawable/ic_search" |
|
|
|
app:tint="?attr/colorOnSurfaceVariant" /> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:id="@+id/search_text" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="@android:color/transparent" |
|
|
|
android:hint="@string/multiplayer_search_public_lobbies" |
|
|
|
android:imeOptions="flagNoFullscreen" |
|
|
|
android:inputType="text" |
|
|
|
android:maxLines="1" /> |
|
|
|
</LinearLayout> |
|
|
|
android:background="?attr/selectableItemBackground" |
|
|
|
android:src="@drawable/ic_clear" |
|
|
|
android:visibility="invisible" |
|
|
|
app:tint="?attr/colorOnSurfaceVariant" |
|
|
|
tools:visibility="visible" /> |
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView> |
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton |
|
|
|
android:id="@+id/btn_submit" |
|
|
|
style="@style/Widget.Material3.Button.ElevatedButton" |
|
|
|
android:layout_width="110dp" |
|
|
|
android:layout_height="48dp" |
|
|
|
android:layout_marginTop="12dp" |
|
|
|
android:text="@string/submit" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:id="@+id/clear_button" |
|
|
|
android:layout_width="24dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_gravity="center_vertical|end" |
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
android:background="?attr/selectableItemBackground" |
|
|
|
android:src="@drawable/ic_clear" |
|
|
|
android:visibility="invisible" |
|
|
|
app:tint="?attr/colorOnSurfaceVariant" |
|
|
|
tools:visibility="visible" /> |
|
|
|
</com.google.android.material.card.MaterialCardView> |
|
|
|
|
|
|
|
<HorizontalScrollView |
|
|
|
android:id="@+id/horizontalScrollView" |
|
|
|
|