From 39e8404e41774098be85d87b2d50e611d6d87bad Mon Sep 17 00:00:00 2001 From: Adrian Ulrich <adrian@blinkenlights.ch> Date: Sun, 28 Mar 2021 18:37:49 +0200 Subject: [PATCH] give media library preference some padding --- .../res/layout/medialibrary_preferences.xml | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/medialibrary_preferences.xml b/app/src/main/res/layout/medialibrary_preferences.xml index 8d6c57d0..e4f212ad 100644 --- a/app/src/main/res/layout/medialibrary_preferences.xml +++ b/app/src/main/res/layout/medialibrary_preferences.xml @@ -24,6 +24,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="5dp" + android:paddingLeft="14dp" + android:paddingRight="14dp" android:orientation="vertical" > <TextView @@ -120,17 +122,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. </TableRow> </TableLayout> - <Button - android:id="@+id/cancel_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="end" - android:text="@string/cancel"> - </Button> - <ProgressBar android:id="@+id/media_stats_progress_bar" - android:paddingTop="24dp" + android:paddingTop="14dp" android:layout_width="match_parent" android:layout_height="match_parent" style="?android:attr/progressBarStyleHorizontal" /> @@ -141,6 +135,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. android:layout_height="wrap_content" android:minLines="3" android:text="@string/empty" /> + + <Button + android:id="@+id/cancel_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end" + android:text="@string/cancel"> + </Button> + </LinearLayout>