From 93b0c4b328da003fa8c61217598839158efb77f7 Mon Sep 17 00:00:00 2001 From: Thodoris1999 Date: Sat, 1 Sep 2018 12:33:04 +0300 Subject: [PATCH] improve uploads UI --- app/src/main/res/layout/activity_upload.xml | 40 ++++++--------------- app/src/main/res/values/strings.xml | 6 ++-- 2 files changed, 13 insertions(+), 33 deletions(-) diff --git a/app/src/main/res/layout/activity_upload.xml b/app/src/main/res/layout/activity_upload.xml index 70cbbed2..3ee745a4 100644 --- a/app/src/main/res/layout/activity_upload.xml +++ b/app/src/main/res/layout/activity_upload.xml @@ -41,16 +41,6 @@ android:focusableInTouchMode="true" android:orientation="vertical"> - - - - - - + + @@ -129,6 +110,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="end" + android:layout_marginEnd="16dp" android:drawablePadding="5dp" android:gravity="center_vertical" android:text="@string/upload_select_file" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b3b51708..1c904e1d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -109,12 +109,10 @@ Upload - Select the correct category for the file - Fill in the title and description\nor - build them automatically + Generate title and description Title Description - Select file to upload + Select file Upload Select a category