Skip to content

Commit 9fd8b24

Browse files
committed
Android 4 layouts compatibility
1 parent 449482d commit 9fd8b24

4 files changed

+6
-2
lines changed

app/src/main/res/layout/activity_manage_article_tags.xml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
android:layout_width="wrap_content"
2222
android:layout_height="wrap_content"
2323
android:layout_marginStart="@dimen/activity_horizontal_margin"
24+
android:layout_marginLeft="@dimen/activity_horizontal_margin"
2425
android:text="@string/manageTags_currentTags_none"
2526
android:textAppearance="?android:attr/textAppearanceMedium"
2627
android:textColor="?android:attr/textColorPrimary" />

app/src/main/res/layout/connection_wizard_provider_selection_fragment.xml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
android:layout_width="wrap_content"
7171
android:layout_height="wrap_content"
7272
android:drawableStart="@drawable/ic_qrcode_24dp"
73+
android:drawableLeft="@drawable/ic_qrcode_24dp"
7374
android:text="@string/connectionWizard_misc_scanQrCode" />
7475

7576
</LinearLayout>

app/src/main/res/layout/fragment_tts.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:app="http://schemas.android.com/apk/res-auto"
23
xmlns:tools="http://schemas.android.com/tools"
34
android:layout_width="match_parent"
45
android:layout_height="wrap_content"
@@ -139,7 +140,7 @@
139140
android:layout_height="wrap_content"
140141
android:layout_column="0"
141142
android:layout_gravity="center"
142-
android:src="@drawable/ic_snooze_24dp" />
143+
app:srcCompat="@drawable/ic_snooze_24dp" />
143144

144145
<SeekBar
145146
android:id="@+id/seekBarTTSSleep"

app/src/main/res/layout/tag_list_removable_item.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
xmlns:tools="http://schemas.android.com/tools"
45
android:layout_width="match_parent"
56
android:layout_height="wrap_content"
@@ -26,6 +27,6 @@
2627
android:layout_height="wrap_content"
2728
android:layout_gravity="center_vertical"
2829
android:contentDescription="@string/remove_tag"
29-
android:src="@drawable/ic_delete_black_24dp" />
30+
app:srcCompat="@drawable/ic_delete_black_24dp" />
3031

3132
</LinearLayout>

0 commit comments

Comments
 (0)