Update the UI and fix #211
BIN
app/src/main/res/drawable-hdpi/round_check_circle_outline.png
Normal file
After Width: | Height: | Size: 817 B |
After Width: | Height: | Size: 469 B |
After Width: | Height: | Size: 558 B |
After Width: | Height: | Size: 1.0 KiB |
BIN
app/src/main/res/drawable-hdpi/round_clear_all.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
app/src/main/res/drawable-hdpi/round_clear_all_white_24.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
app/src/main/res/drawable-hdpi/round_clear_all_white_36.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
app/src/main/res/drawable-hdpi/round_clear_all_white_48.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-hdpi/round_select_all.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
app/src/main/res/drawable-hdpi/round_select_all_white_18.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
app/src/main/res/drawable-hdpi/round_select_all_white_36.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
app/src/main/res/drawable-hdpi/round_select_all_white_48.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
app/src/main/res/drawable-mdpi/round_check_circle_outline.png
Normal file
After Width: | Height: | Size: 558 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 400 B |
After Width: | Height: | Size: 747 B |
BIN
app/src/main/res/drawable-mdpi/round_clear_all.png
Normal file
After Width: | Height: | Size: 116 B |
BIN
app/src/main/res/drawable-mdpi/round_clear_all_white_24.png
Normal file
After Width: | Height: | Size: 100 B |
BIN
app/src/main/res/drawable-mdpi/round_clear_all_white_36.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
app/src/main/res/drawable-mdpi/round_clear_all_white_48.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
app/src/main/res/drawable-mdpi/round_select_all.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
app/src/main/res/drawable-mdpi/round_select_all_white_18.png
Normal file
After Width: | Height: | Size: 171 B |
BIN
app/src/main/res/drawable-mdpi/round_select_all_white_36.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
app/src/main/res/drawable-mdpi/round_select_all_white_48.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
app/src/main/res/drawable-xhdpi/round_check_circle_outline.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 558 B |
After Width: | Height: | Size: 747 B |
After Width: | Height: | Size: 1.3 KiB |
BIN
app/src/main/res/drawable-xhdpi/round_clear_all.png
Normal file
After Width: | Height: | Size: 131 B |
BIN
app/src/main/res/drawable-xhdpi/round_clear_all_white_24.png
Normal file
After Width: | Height: | Size: 139 B |
BIN
app/src/main/res/drawable-xhdpi/round_clear_all_white_36.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-xhdpi/round_clear_all_white_48.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
app/src/main/res/drawable-xhdpi/round_select_all.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
app/src/main/res/drawable-xhdpi/round_select_all_white_18.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
app/src/main/res/drawable-xhdpi/round_select_all_white_36.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
app/src/main/res/drawable-xhdpi/round_select_all_white_48.png
Normal file
After Width: | Height: | Size: 439 B |
BIN
app/src/main/res/drawable-xxhdpi/round_check_circle_outline.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 817 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable-xxhdpi/round_clear_all.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
app/src/main/res/drawable-xxhdpi/round_clear_all_white_24.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-xxhdpi/round_clear_all_white_36.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
app/src/main/res/drawable-xxhdpi/round_clear_all_white_48.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
app/src/main/res/drawable-xxhdpi/round_select_all.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
app/src/main/res/drawable-xxhdpi/round_select_all_white_18.png
Normal file
After Width: | Height: | Size: 354 B |
BIN
app/src/main/res/drawable-xxhdpi/round_select_all_white_36.png
Normal file
After Width: | Height: | Size: 568 B |
BIN
app/src/main/res/drawable-xxhdpi/round_select_all_white_48.png
Normal file
After Width: | Height: | Size: 635 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_check_circle_outline.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/round_clear_all.png
Normal file
After Width: | Height: | Size: 188 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_clear_all_white_24.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_clear_all_white_36.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_clear_all_white_48.png
Normal file
After Width: | Height: | Size: 372 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_select_all.png
Normal file
After Width: | Height: | Size: 439 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_select_all_white_18.png
Normal file
After Width: | Height: | Size: 352 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_select_all_white_36.png
Normal file
After Width: | Height: | Size: 635 B |
BIN
app/src/main/res/drawable-xxxhdpi/round_select_all_white_48.png
Normal file
After Width: | Height: | Size: 744 B |
10
app/src/main/res/drawable/round_check_circle_outline_24.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM15.88,8.29L10,14.17l-1.88,-1.88c-0.39,-0.39 -1.02,-0.39 -1.41,0 -0.39,0.39 -0.39,1.02 0,1.41l2.59,2.59c0.39,0.39 1.02,0.39 1.41,0L17.3,9.7c0.39,-0.39 0.39,-1.02 0,-1.41 -0.39,-0.39 -1.03,-0.39 -1.42,0z"/>
|
||||
</vector>
|
10
app/src/main/res/drawable/round_clear_all_24.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M6,13h12c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L6,11c-0.55,0 -1,0.45 -1,1s0.45,1 1,1zM4,17h12c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L4,15c-0.55,0 -1,0.45 -1,1s0.45,1 1,1zM7,8c0,0.55 0.45,1 1,1h12c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L8,7c-0.55,0 -1,0.45 -1,1z"/>
|
||||
</vector>
|
10
app/src/main/res/drawable/round_select_all_24.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M3,5h2L5,3c-1.1,0 -2,0.9 -2,2zM3,13h2v-2L3,11v2zM7,21h2v-2L7,19v2zM3,9h2L5,7L3,7v2zM13,3h-2v2h2L13,3zM19,3v2h2c0,-1.1 -0.9,-2 -2,-2zM5,21v-2L3,19c0,1.1 0.9,2 2,2zM3,17h2v-2L3,15v2zM9,3L7,3v2h2L9,3zM11,21h2v-2h-2v2zM19,13h2v-2h-2v2zM19,21c1.1,0 2,-0.9 2,-2h-2v2zM19,9h2L21,7h-2v2zM19,17h2v-2h-2v2zM15,21h2v-2h-2v2zM15,5h2L17,3h-2v2zM8,17h8c0.55,0 1,-0.45 1,-1L17,8c0,-0.55 -0.45,-1 -1,-1L8,7c-0.55,0 -1,0.45 -1,1v8c0,0.55 0.45,1 1,1zM9,9h6v6L9,15L9,9z"/>
|
||||
</vector>
|
@ -90,6 +90,14 @@
|
||||
android:hint="@string/search"
|
||||
android:text="@={viewModel.searchInput}"
|
||||
android:autofillHints="" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_close"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:id="@+id/clear_search" />
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<RelativeLayout
|
||||
|
@ -79,6 +79,14 @@
|
||||
android:hint="@string/search"
|
||||
android:text="@={viewModel.searchInput}"
|
||||
android:autofillHints="" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_close"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:id="@+id/clear_search" />
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<RelativeLayout
|
||||
|
@ -78,6 +78,14 @@
|
||||
android:textDirection="locale"
|
||||
android:text="@={viewModel.locationInput}"
|
||||
android:autofillHints="" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_close"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:id="@+id/clear_search" />
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<RelativeLayout
|
||||
|
@ -45,6 +45,15 @@
|
||||
android:text="@string/settings_music_players_filter_title"
|
||||
android:gravity="center"
|
||||
style="@style/AnotherWidget.Main.Title"/>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_clear_all"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:id="@+id/clear_selection" />
|
||||
</RelativeLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
@ -67,8 +76,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="@color/colorPrimaryDark"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="64dp"
|
||||
android:inputType="textCapWords"
|
||||
android:textColor="@color/colorPrimaryText"
|
||||
android:textColorHint="@color/colorSecondaryText"
|
||||
@ -79,6 +88,14 @@
|
||||
android:hint="@string/search"
|
||||
android:text="@={viewModel.searchInput}"
|
||||
android:autofillHints="" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_close"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:id="@+id/clear_search" />
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
<RelativeLayout
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:focusable="true"
|
||||
android:clickable="true"
|
||||
@ -43,4 +43,12 @@
|
||||
android:id="@+id/checkBox"
|
||||
android:visibility="gone"
|
||||
android:layout_gravity="center_vertical" />
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/round_check_circle_outline"
|
||||
android:visibility="gone"
|
||||
app:tint="@color/colorPrimaryText"
|
||||
android:id="@+id/selected_icon" />
|
||||
</LinearLayout>
|
@ -98,6 +98,9 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false"
|
||||
android:paddingBottom="8dp"
|
||||
android:id="@+id/providers_list" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -41,7 +41,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="4dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
app:cardBackgroundColor="@color/disabledButtonBackground"
|
||||
app:cardBackgroundColor="@color/badgeBackground"
|
||||
android:layout_marginTop="4dp"
|
||||
android:id="@+id/info_container"
|
||||
app:cardElevation="0dp">
|
||||
|
@ -24,4 +24,5 @@
|
||||
<color name="colorSecondaryText">#99FFFFFF</color>
|
||||
<!-- <color name="disabledButtonBackground">#131D28</color>-->
|
||||
<color name="disabledButtonBackground">#33000000</color>
|
||||
<color name="badgeBackground">#202020</color>
|
||||
</resources>
|
@ -33,5 +33,6 @@
|
||||
<color name="warningColorText">#FB8C00</color>
|
||||
<color name="disabledButtonBackground">#efefef</color>
|
||||
<color name="success">#43A047</color>
|
||||
<color name="badgeBackground">#efefef</color>
|
||||
|
||||
</resources>
|
||||
|