mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* "Upload your media..." text was being shown while contributions were still being loaded. Fixed things to show after load is finished and no contributions are present. Also updated text string since UI now uses FAB button for uploads (no camera/gallery) icons any more. * Removed waitingMessage in ContributionsListFragment and from layout since its never VISIBLE, only GONE.
This commit is contained in:
parent
def0d3da43
commit
0c2ae1df18
4 changed files with 8 additions and 25 deletions
|
|
@ -8,7 +8,7 @@
|
|||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/noDataYet"
|
||||
android:id="@+id/noContributionsYet"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/no_uploads"
|
||||
|
|
@ -19,15 +19,6 @@
|
|||
android:layout_marginEnd="@dimen/tiny_gap"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/waiting_first_sync"
|
||||
android:id="@+id/waitingMessage"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
<ProgressBar
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue