Skip to content

Commit

Permalink
fix: Show refresh icon on swiping down (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShridharGoel authored and iamareebjamal committed Jan 13, 2019
1 parent eda4ac3 commit 527cf01
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 62 deletions.
18 changes: 9 additions & 9 deletions app/src/main/res/layout/faqs_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -40,15 +49,6 @@
app:layout_anchorGravity="bottom|right"
app:srcCompat="@drawable/ic_add" />

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/feedback_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand All @@ -27,15 +36,6 @@

</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
17 changes: 9 additions & 8 deletions app/src/main/res/layout/fragment_attendees.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -49,14 +58,6 @@
app:srcCompat="@drawable/qrcode_scan"
android:visibility="invisible"/>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">
<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/speakers_call_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -192,15 +201,6 @@
app:tint="@android:color/white" />
</FrameLayout>

<FrameLayout
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/speakers_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand All @@ -28,15 +37,6 @@

</FrameLayout>

<FrameLayout
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/sponsors_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -40,15 +49,6 @@
app:layout_anchorGravity="bottom|right"
app:srcCompat="@drawable/ic_add" />

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down
18 changes: 9 additions & 9 deletions app/src/main/res/layout/tracks_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
android:layout_height="match_parent"
android:background="@color/color_top_surface">

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand Down Expand Up @@ -40,15 +49,6 @@
app:layout_anchorGravity="bottom|right"
app:srcCompat="@drawable/ic_add" />

<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/empty_view"
android:visibility="gone">

<include layout="@layout/empty_layout" />
</FrameLayout>

<FrameLayout
android:id="@+id/progressBar"
android:layout_width="match_parent"
Expand Down

0 comments on commit 527cf01

Please sign in to comment.