diff options
Diffstat (limited to 'android/WALT/app/src/main/res/layout')
9 files changed, 33 insertions, 29 deletions
diff --git a/android/WALT/app/src/main/res/layout/fragment_accelerometer.xml b/android/WALT/app/src/main/res/layout/fragment_accelerometer.xml index 664e246..887fd6c 100644 --- a/android/WALT/app/src/main/res/layout/fragment_accelerometer.xml +++ b/android/WALT/app/src/main/res/layout/fragment_accelerometer.xml @@ -1,4 +1,5 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" @@ -23,7 +24,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:tint="@color/button_tint" - android:src="@drawable/ic_play_arrow_black_24dp" /> + app:srcCompat="@drawable/ic_play_arrow_black_24dp" /> </LinearLayout> diff --git a/android/WALT/app/src/main/res/layout/fragment_audio.xml b/android/WALT/app/src/main/res/layout/fragment_audio.xml index e11f157..de2bdbb 100644 --- a/android/WALT/app/src/main/res/layout/fragment_audio.xml +++ b/android/WALT/app/src/main/res/layout/fragment_audio.xml @@ -21,7 +21,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:tint="@color/button_tint" - android:src="@drawable/ic_stop_black_24dp" /> + walt:srcCompat="@drawable/ic_stop_black_24dp" /> <ImageButton android:id="@+id/button_start_audio" @@ -29,7 +29,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:tint="@color/button_tint" - android:src="@drawable/ic_play_arrow_black_24dp" /> + walt:srcCompat="@drawable/ic_play_arrow_black_24dp" /> <Spinner android:id="@+id/spinner_audio_mode" diff --git a/android/WALT/app/src/main/res/layout/fragment_diagnostics.xml b/android/WALT/app/src/main/res/layout/fragment_diagnostics.xml index 82a3cae..262f616 100644 --- a/android/WALT/app/src/main/res/layout/fragment_diagnostics.xml +++ b/android/WALT/app/src/main/res/layout/fragment_diagnostics.xml @@ -1,4 +1,5 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" @@ -23,7 +24,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_usb_black_24dp" /> + app:srcCompat="@drawable/ic_usb_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -54,7 +55,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_swap_horiz_black_24dp" /> + app:srcCompat="@drawable/ic_swap_horiz_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -84,7 +85,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_schedule_black_24dp" /> + app:srcCompat="@drawable/ic_schedule_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -109,7 +110,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_timelapse_black_24dp" /> + app:srcCompat="@drawable/ic_timelapse_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -139,7 +140,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_system_update_alt_black_24dp" /> + app:srcCompat="@drawable/ic_system_update_alt_black_24dp" /> <LinearLayout android:layout_width="match_parent" diff --git a/android/WALT/app/src/main/res/layout/fragment_drag_latency.xml b/android/WALT/app/src/main/res/layout/fragment_drag_latency.xml index f9b65d0..9e77ff9 100644 --- a/android/WALT/app/src/main/res/layout/fragment_drag_latency.xml +++ b/android/WALT/app/src/main/res/layout/fragment_drag_latency.xml @@ -1,4 +1,5 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" @@ -19,21 +20,21 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:tint="@color/button_tint" - android:src="@drawable/ic_refresh_black_24dp" /> + app:srcCompat="@drawable/ic_refresh_black_24dp" /> <ImageButton android:id="@+id/button_start_drag" android:layout_width="wrap_content" android:layout_height="wrap_content" android:tint="@color/button_tint" - android:src="@drawable/ic_play_arrow_black_24dp" /> + app:srcCompat="@drawable/ic_play_arrow_black_24dp" /> <ImageButton android:id="@+id/button_finish_drag" android:layout_width="wrap_content" android:layout_height="wrap_content" android:tint="@color/button_tint" - android:src="@drawable/ic_check_black_24dp" /> + app:srcCompat="@drawable/ic_check_black_24dp" /> </LinearLayout> <FrameLayout diff --git a/android/WALT/app/src/main/res/layout/fragment_front_page.xml b/android/WALT/app/src/main/res/layout/fragment_front_page.xml index c4fba96..a0bd5d3 100644 --- a/android/WALT/app/src/main/res/layout/fragment_front_page.xml +++ b/android/WALT/app/src/main/res/layout/fragment_front_page.xml @@ -1,4 +1,5 @@ <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -16,7 +17,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_search_black_24dp" /> + app:srcCompat="@drawable/ic_search_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -47,7 +48,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_radio_button_checked_black_24dp" /> + app:srcCompat="@drawable/ic_radio_button_checked_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -72,7 +73,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_swap_vert_black_24dp" /> + app:srcCompat="@drawable/ic_swap_vert_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -97,7 +98,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_brightness_medium_black_24dp" /> + app:srcCompat="@drawable/ic_brightness_medium_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -122,7 +123,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_volume_up_black_24dp" /> + app:srcCompat="@drawable/ic_volume_up_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -149,7 +150,7 @@ android:id="@+id/midi_image" style="@style/MenuIconStyle" android:tint="@color/ColorDisabled" - android:src="@drawable/ic_music_note_black_24dp" /> + app:srcCompat="@drawable/ic_music_note_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -176,7 +177,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_receipt_black_24dp" /> + app:srcCompat="@drawable/ic_receipt_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -201,7 +202,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_swap_horiz_black_24dp" /> + app:srcCompat="@drawable/ic_swap_horiz_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -226,7 +227,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_settings_black_24dp" /> + app:srcCompat="@drawable/ic_settings_black_24dp" /> <LinearLayout android:layout_width="match_parent" @@ -252,7 +253,7 @@ <ImageView style="@style/MenuIconStyle" - android:src="@drawable/ic_help_outline_black_24dp" /> + app:srcCompat="@drawable/ic_help_outline_black_24dp" /> <LinearLayout android:layout_width="match_parent" diff --git a/android/WALT/app/src/main/res/layout/fragment_midi.xml b/android/WALT/app/src/main/res/layout/fragment_midi.xml index 70f9be5..93beb58 100644 --- a/android/WALT/app/src/main/res/layout/fragment_midi.xml +++ b/android/WALT/app/src/main/res/layout/fragment_midi.xml @@ -21,7 +21,7 @@ android:layout_height="wrap_content" android:layout_alignParentStart="true" android:tint="@color/button_tint" - android:src="@drawable/ic_input_black_24dp" /> + walt:srcCompat="@drawable/ic_input_black_24dp" /> <ImageButton android:id="@+id/button_start_midi_out" @@ -29,7 +29,7 @@ android:layout_height="wrap_content" android:layout_alignParentEnd="true" android:tint="@color/button_tint" - android:src="@drawable/ic_output_black_24dp" /> + walt:srcCompat="@drawable/ic_output_black_24dp" /> </RelativeLayout> <org.chromium.latency.walt.HistogramChart diff --git a/android/WALT/app/src/main/res/layout/fragment_screen_response.xml b/android/WALT/app/src/main/res/layout/fragment_screen_response.xml index b789579..fae3eee 100644 --- a/android/WALT/app/src/main/res/layout/fragment_screen_response.xml +++ b/android/WALT/app/src/main/res/layout/fragment_screen_response.xml @@ -22,7 +22,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:tint="@color/button_tint" - android:src="@drawable/ic_stop_black_24dp" /> + walt:srcCompat="@drawable/ic_stop_black_24dp" /> <ImageButton android:id="@+id/button_start_screen_response" @@ -30,7 +30,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:tint="@color/button_tint" - android:src="@drawable/ic_play_arrow_black_24dp" /> + walt:srcCompat="@drawable/ic_play_arrow_black_24dp" /> <Spinner android:id="@+id/spinner_screen_response" diff --git a/android/WALT/app/src/main/res/layout/fragment_tap_latency.xml b/android/WALT/app/src/main/res/layout/fragment_tap_latency.xml index 2c701d2..ab2ff51 100644 --- a/android/WALT/app/src/main/res/layout/fragment_tap_latency.xml +++ b/android/WALT/app/src/main/res/layout/fragment_tap_latency.xml @@ -20,7 +20,7 @@ android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:tint="@color/button_tint" - android:src="@drawable/ic_check_black_24dp" /> + walt:srcCompat="@drawable/ic_check_black_24dp" /> <ImageButton android:id="@+id/button_restart_tap" @@ -28,7 +28,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:tint="@color/button_tint" - android:src="@drawable/ic_play_arrow_black_24dp" /> + walt:srcCompat="@drawable/ic_play_arrow_black_24dp" /> </RelativeLayout> <FrameLayout diff --git a/android/WALT/app/src/main/res/layout/toolbar.xml b/android/WALT/app/src/main/res/layout/toolbar.xml index d02028d..ef6aea8 100644 --- a/android/WALT/app/src/main/res/layout/toolbar.xml +++ b/android/WALT/app/src/main/res/layout/toolbar.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.appcompat.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/ColorPrimary" android:elevation="4dp"> -</android.support.v7.widget.Toolbar>
\ No newline at end of file +</androidx.appcompat.widget.Toolbar>
\ No newline at end of file |