Use srcCompat for images
This commit is contained in:
parent
273f15bab6
commit
50cd9748f9
2 changed files with 17 additions and 17 deletions
|
@ -62,7 +62,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_small"
|
android:layout_marginEnd="@dimen/activity_margin_small"
|
||||||
android:src="@drawable/ic_visibility_visible"/>
|
app:srcCompat="@drawable/ic_visibility_visible"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/valueText"
|
android:id="@+id/valueText"
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_small"
|
android:layout_marginEnd="@dimen/activity_margin_small"
|
||||||
android:alpha="0.4"
|
android:alpha="0.4"
|
||||||
android:src="@drawable/ic_visibility_invisible"/>
|
app:srcCompat="@drawable/ic_visibility_invisible"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:src="@drawable/ic_alarm_gray" />
|
app:srcCompat="@drawable/ic_alarm_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/customPeriod"
|
android:id="@+id/customPeriod"
|
||||||
|
@ -171,8 +171,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:padding="@dimen/activity_margin_small"
|
android:padding="@dimen/activity_margin_small"
|
||||||
android:src="@drawable/ic_content_copy_gray"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:background="?android:attr/selectableItemBackground"/>
|
app:srcCompat="@drawable/ic_content_copy_gray" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/menuButton"
|
android:id="@+id/menuButton"
|
||||||
|
@ -180,8 +180,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:padding="@dimen/activity_margin_small"
|
android:padding="@dimen/activity_margin_small"
|
||||||
android:src="@drawable/ic_more_vert_gray"
|
android:background="?android:attr/selectableItemBackground"
|
||||||
android:background="?android:attr/selectableItemBackground"/>
|
app:srcCompat="@drawable/ic_more_vert_gray" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_info_outline_gray" />
|
app:srcCompat="@drawable/ic_info_outline_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_copyright_gray" />
|
app:srcCompat="@drawable/ic_copyright_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_history_gray" />
|
app:srcCompat="@drawable/ic_history_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_code_gray" />
|
app:srcCompat="@drawable/ic_code_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -304,7 +304,7 @@
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin"
|
android:layout_marginEnd="@dimen/activity_margin"
|
||||||
android:padding="@dimen/activity_margin_small"
|
android:padding="@dimen/activity_margin_small"
|
||||||
android:src="@drawable/ic_account_circle_gray" />
|
app:srcCompat="@drawable/ic_account_circle_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -362,7 +362,7 @@
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin"
|
android:layout_marginEnd="@dimen/activity_margin"
|
||||||
android:padding="@dimen/activity_margin_small"
|
android:padding="@dimen/activity_margin_small"
|
||||||
android:src="@drawable/ic_account_circle_gray" />
|
app:srcCompat="@drawable/ic_account_circle_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -419,7 +419,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_code_gray" />
|
app:srcCompat="@drawable/ic_code_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -447,7 +447,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_translate_gray" />
|
app:srcCompat="@drawable/ic_translate_gray" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -496,7 +496,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_bug_report_gray" />
|
app:srcCompat="@drawable/ic_bug_report_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
@ -537,7 +537,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/activity_margin"
|
android:layout_marginStart="@dimen/activity_margin"
|
||||||
android:layout_marginEnd="@dimen/activity_margin_large"
|
android:layout_marginEnd="@dimen/activity_margin_large"
|
||||||
android:src="@drawable/ic_translate_gray" />
|
app:srcCompat="@drawable/ic_translate_gray" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
|
Loading…
Reference in a new issue