setCompoundDrawablesRelative(null, null, null, null);
}
private void showClearDrawable() {
- setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_black_24dp, 0);
+ setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_accent_24dp, 0);
}
@Override
protected void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) {
setCompoundDrawablesRelative(null, null, null, null);
}
private void showClearDrawable() {
- setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_black_24dp, 0);
+ setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_accent_24dp, 0);
}
@Override
protected void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) {
view.setCompoundDrawablesRelative(null, null, null, null);
}
private void showClearDrawable() {
- view.setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_black_24dp,
+ view.setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, R.drawable.ic_clear_accent_24dp,
0);
}
public boolean onTouchEvent(EditText view, MotionEvent event) {
--- /dev/null
+<!--
+ ~ Copyright Google Inc.
+ ~
+ ~ Licensed under the Apache License, version 2.0 ("the License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the license at:
+ ~
+ ~ https://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ 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 permissions and
+ ~ limitations under the License.
+ ~
+ ~ Modified/adapted by Damyan Ivanov for MoLe
+ -->
+
+<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>
+++ /dev/null
-<!--
- ~ Copyright Google Inc.
- ~
- ~ Licensed under the Apache License, version 2.0 ("the License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the license at:
- ~
- ~ https://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ 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 permissions and
- ~ limitations under the License.
- ~
- ~ Modified/adapted by Damyan Ivanov for MoLe
- -->
-
-<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>
app:layout_constraintEnd_toStartOf="@id/nav_profile_list_head_buttons"
app:layout_constraintStart_toEndOf="@id/nav_profiles_label"
app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/ic_add_circle_white_24dp" />
+ app:srcCompat="@drawable/ic_add_circle_white_24dp"
+ android:contentDescription="@string/icon" />
<LinearLayout
android:id="@+id/nav_profile_list_head_buttons"
android:id="@+id/nav_profiles_cancel_edit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="@drawable/ic_clear_black_24dp"
+ android:background="@drawable/ic_clear_accent_24dp"
android:gravity="end|center_vertical"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:id="@+id/clearAccountNameFilter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="@drawable/ic_clear_black_24dp"
+ android:background="@drawable/ic_clear_accent_24dp"
android:backgroundTint="?colorAccent"
android:clickable="true"
android:focusable="true" />