From 73cc4aa4f3ec9a2e6549aa371ad1e61890564031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Fri, 8 Jul 2022 16:41:54 +0200 Subject: [PATCH] Make empty list views scrollable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will prevent them from being cut when vertical space is not enough, for example in landscape mode Signed-off-by: Álvaro Brey --- ...i.activity.FolderPickerActivityIT_open.png | Bin 15083 -> 14964 bytes .../ui/fragment/ExtendedListFragment.java | 2 +- .../ui/preview/PreviewMediaFragment.java | 2 +- app/src/main/res/layout/empty_list.xml | 103 +++++++++--------- 4 files changed, 56 insertions(+), 51 deletions(-) diff --git a/app/screenshots/gplay/debug/com.owncloud.android.ui.activity.FolderPickerActivityIT_open.png b/app/screenshots/gplay/debug/com.owncloud.android.ui.activity.FolderPickerActivityIT_open.png index 930f2bed19f4d6a5c4cb7eb979e1fc4ce09f313f..242a91d0101f67be68cf3b0d1b21456ae904176d 100644 GIT binary patch literal 14964 zcmeHudsLG7|EJo;aT>MBZ#8D>G?iA~Ce6&dUCk^l%ezQrO5UKnfPhNYlrv*#r9$Qf z%hXKK6a{Zc>7*$tCW;~gmEsMRL;(erefa)>2Bw1e|LcL z$ASJ=2PlZM-|g9>@#=|)!`mW9WsYLUx#OGh5CSnKw#!M#nw(ujv$^O;r_H`sc^ja2 zb-T(P7j>15b}B#jsj8%Csi^6zY@Pbg$G(eGaVgyJugCuN1OIaD|ISJ8x)wj*)5hw- znyXhAGBBpZu%1J04>V2eh0U=n2tKLHCop<{pK4*1{bILOSuL%)aiZvj7$%^vJMkN$8A%WOFhgOrJfdRGO-D8(c4XQA%sE55xSRfv{CL@t z_5?;D#R#-Rn&wC*m_-{5@m$xf4t+$HRqwH)^|c;YGVuokhhgjw-z^TcuD&ixKNJX~ z#A|*iEkL~?F)dn_zcvcfTYj23sMuoB+$WP#*9BAw#YF*}c)7Cv>z^_ycx@1zO_7X5 zmQCix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@yl+E@&;qcldD! zVfJ@uIHZS$b+>#v7eBqgyKj5l7p=4>>zm>m+1fBDvs2Ktkp!KuzO6{rZC?DUkn4&L zXH`1w_XHS+%O&==v;Dp>^pI?E=D)$=eNsST9C<)+%R6}(2?qX&mF0o1@xAK1PhS6D Da8vxV diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java index 1311ac7c0f..13ecab1f49 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java @@ -124,7 +124,7 @@ public class ExtendedListFragment extends Fragment implements protected SwipeRefreshLayout mRefreshListLayout; protected MaterialButton mSortButton; protected MaterialButton mSwitchGridViewButton; - protected LinearLayout mEmptyListContainer; + protected ViewGroup mEmptyListContainer; protected TextView mEmptyListMessage; protected TextView mEmptyListHeadline; protected ImageView mEmptyListIcon; diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.java b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.java index 57a606e046..986622f24d 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaFragment.java @@ -119,7 +119,7 @@ public class PreviewMediaFragment extends FileFragment implements OnTouchListene @Inject ClientFactory clientFactory; @Inject UserAccountManager accountManager; FragmentPreviewMediaBinding binding; - LinearLayout emptyListView; + private ViewGroup emptyListView; private ExoPlayer exoPlayer; /** diff --git a/app/src/main/res/layout/empty_list.xml b/app/src/main/res/layout/empty_list.xml index 9a28a447d6..ad80661061 100644 --- a/app/src/main/res/layout/empty_list.xml +++ b/app/src/main/res/layout/empty_list.xml @@ -17,60 +17,65 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . --> - + android:layout_height="match_parent"> - - - + android:layout_gravity="top" + android:layout_margin="@dimen/standard_margin" + android:gravity="center_horizontal" + android:orientation="vertical" + android:paddingTop="@dimen/standard_double_margin"> - + - - + + + + + + +