]> git.ktnx.net Git - mobile-ledger.git/commitdiff
try to make the transaction list account filter icons use the right color
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 21:24:37 +0000 (23:24 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 27 Feb 2019 21:24:37 +0000 (23:24 +0200)
app/src/main/res/drawable-anydpi-v21/ic_clear_black_24dp.xml
app/src/main/res/drawable-anydpi-v21/ic_filter_list_black_24dp.xml
app/src/main/res/layout/activity_main.xml

index 5fe84b9b7b72d9d9f2de8f1df430b411c19a2a47..ed75dcf47258e982c3ffe0c32b70fa8de30876be 100644 (file)
   ~ Unless required by applicable law or agreed to in writing, software
   ~ distribution under the License is distributed on an "AS IS" BASIS,
   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   ~ Unless required by applicable law or agreed to in writing, software
   ~ distribution under the License is distributed on an "AS IS" BASIS,
   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissionsand
+  ~ See the License for the specific language governing permission sand
   ~ limitations under the License.
   -->
 
   ~ limitations under the License.
   -->
 
-<vector android:height="24dp" android:tint="#313131"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FF000000" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z"/>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:tint="?colorAccent"
+    android:viewportWidth="24.0"
+    android:viewportHeight="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41,19 12,13.41 17.59,19 19,17.59 13.41,12z" />
 </vector>
 </vector>
index f74b4fad56a972a8eadd707ab3e93696f6f7c57a..284679205771b1793e308016a9d6f24d8b462b76 100644 (file)
   ~ limitations under the License.
   -->
 
   ~ limitations under the License.
   -->
 
-<vector android:height="24dp" android:tint="#313131"
-    android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
-    <path android:fillColor="#FF000000" android:pathData="M10,18h4v-2h-4v2zM3,6v2h18L21,6L3,6zM6,13h12v-2L6,11v2z"/>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:tint="?colorPrimary"
+    android:viewportWidth="24.0"
+    android:viewportHeight="24.0">
+    <path
+        android:fillColor="#FF000000"
+        android:pathData="M10,18h4v-2h-4v2zM3,6v2h18L21,6L3,6zM6,13h12v-2L6,11v2z" />
 </vector>
 </vector>
index e7cb8dba6c908c575d36711a93b27793781b34f5..eef1375e453fa1fd16fcae0725bbbbd4a684c325 100644 (file)
@@ -89,6 +89,7 @@
                             android:layout_width="wrap_content"
                             android:layout_height="wrap_content"
                             android:background="@drawable/ic_clear_black_24dp"
                             android:layout_width="wrap_content"
                             android:layout_height="wrap_content"
                             android:background="@drawable/ic_clear_black_24dp"
+                            android:backgroundTint="?colorAccent"
                             android:clickable="true"
                             android:focusable="true" />
 
                             android:clickable="true"
                             android:focusable="true" />