diff options
author | ByteHamster <info@bytehamster.com> | 2019-11-06 18:30:43 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-11-06 18:44:08 +0100 |
commit | fdd29fa3ece59c9b028bf324160a481a192f0db1 (patch) | |
tree | f2adaf9de156a7aee44d9db52d57bd7e20b18306 /app/src/main/res/layout | |
parent | 9df14af284bbaf719c21657c66a75478a874194e (diff) | |
download | AntennaPod-fdd29fa3ece59c9b028bf324160a481a192f0db1.zip |
Removed MaterialDialog dependency
The AlertDialogs from Androidx are material, too.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/audio_controls.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/layout/choose_data_folder_dialog.xml | 12 | ||||
-rw-r--r-- | app/src/main/res/layout/choose_data_folder_dialog_entry.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/edit_text_dialog.xml | 15 | ||||
-rw-r--r-- | app/src/main/res/layout/numberpicker.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/proxy_settings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/quick_feed_discovery.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/time_dialog.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/layout/videoplayer_activity.xml | 13 |
9 files changed, 49 insertions, 20 deletions
diff --git a/app/src/main/res/layout/audio_controls.xml b/app/src/main/res/layout/audio_controls.xml index 090aec47f..5049db215 100644 --- a/app/src/main/res/layout/audio_controls.xml +++ b/app/src/main/res/layout/audio_controls.xml @@ -3,7 +3,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:padding="16dp"> <LinearLayout android:layout_width="wrap_content" diff --git a/app/src/main/res/layout/choose_data_folder_dialog.xml b/app/src/main/res/layout/choose_data_folder_dialog.xml new file mode 100644 index 000000000..bac14a108 --- /dev/null +++ b/app/src/main/res/layout/choose_data_folder_dialog.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <androidx.recyclerview.widget.RecyclerView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/recyclerView" /> + +</LinearLayout> diff --git a/app/src/main/res/layout/choose_data_folder_dialog_entry.xml b/app/src/main/res/layout/choose_data_folder_dialog_entry.xml index f4a2ff703..ae59c0614 100644 --- a/app/src/main/res/layout/choose_data_folder_dialog_entry.xml +++ b/app/src/main/res/layout/choose_data_folder_dialog_entry.xml @@ -37,12 +37,11 @@ android:layout_height="wrap_content" tools:text="2 GB" /> - <me.zhanghai.android.materialprogressbar.MaterialProgressBar + <ProgressBar android:id="@+id/used_space" - style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" + style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" - android:layout_height="wrap_content" - app:mpb_progressStyle="horizontal" /> + android:layout_height="wrap_content" /> </LinearLayout> </RelativeLayout> diff --git a/app/src/main/res/layout/edit_text_dialog.xml b/app/src/main/res/layout/edit_text_dialog.xml new file mode 100644 index 000000000..6bf0bc6cb --- /dev/null +++ b/app/src/main/res/layout/edit_text_dialog.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="16dp"> + + <EditText + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="text" + android:ems="10" + android:id="@+id/text" /> + +</LinearLayout> diff --git a/app/src/main/res/layout/numberpicker.xml b/app/src/main/res/layout/numberpicker.xml index 813326bd6..d493f2e6c 100644 --- a/app/src/main/res/layout/numberpicker.xml +++ b/app/src/main/res/layout/numberpicker.xml @@ -3,7 +3,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:padding="32dp"> + android:padding="16dp"> <EditText android:layout_width="match_parent" diff --git a/app/src/main/res/layout/proxy_settings.xml b/app/src/main/res/layout/proxy_settings.xml index 983325030..e4e57cc92 100644 --- a/app/src/main/res/layout/proxy_settings.xml +++ b/app/src/main/res/layout/proxy_settings.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:orientation="vertical"> + android:layout_width="match_parent" + android:orientation="vertical" + android:padding="16dp"> <TextView android:id="@+id/txtvType" diff --git a/app/src/main/res/layout/quick_feed_discovery.xml b/app/src/main/res/layout/quick_feed_discovery.xml index e791d19d7..a80b9381a 100644 --- a/app/src/main/res/layout/quick_feed_discovery.xml +++ b/app/src/main/res/layout/quick_feed_discovery.xml @@ -70,7 +70,7 @@ <TextView android:id="@+id/discover_error" - android:textColor="@color/md_edittext_error" + android:textColor="@color/download_failed_red" android:layout_width="match_parent" android:layout_centerInParent="true" android:layout_height="wrap_content" /> diff --git a/app/src/main/res/layout/time_dialog.xml b/app/src/main/res/layout/time_dialog.xml index ba4249268..b3742c20c 100644 --- a/app/src/main/res/layout/time_dialog.xml +++ b/app/src/main/res/layout/time_dialog.xml @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:gravity="center"> + android:gravity="center" + android:padding="16dp"> <LinearLayout - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > @@ -33,7 +34,7 @@ </LinearLayout> <LinearLayout - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> diff --git a/app/src/main/res/layout/videoplayer_activity.xml b/app/src/main/res/layout/videoplayer_activity.xml index 4de46810e..b26ef304c 100644 --- a/app/src/main/res/layout/videoplayer_activity.xml +++ b/app/src/main/res/layout/videoplayer_activity.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/black" @@ -33,27 +34,27 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="8dp" - android:background="@drawable/md_transparent" + android:background="@android:color/transparent" android:contentDescription="@string/rewind_label" - android:src="@drawable/ic_av_fast_rewind_white_80dp" /> + app:srcCompat="@drawable/ic_av_fast_rewind_white_80dp" /> <ImageButton android:id="@+id/butPlay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="8dp" - android:background="@drawable/md_transparent" + android:background="@android:color/transparent" android:contentDescription="@string/pause_label" - android:src="@drawable/ic_av_pause_white_80dp" /> + app:srcCompat="@drawable/ic_av_pause_white_80dp" /> <ImageButton android:id="@+id/butFF" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="8dp" - android:background="@drawable/md_transparent" + android:background="@android:color/transparent" android:contentDescription="@string/fast_forward_label" - android:src="@drawable/ic_av_fast_forward_white_80dp" /> + app:srcCompat="@drawable/ic_av_fast_forward_white_80dp" /> </LinearLayout> |