This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recycler: clearly distinguish between card and list recyclers
- Loading branch information
1 parent
0f0ead3
commit 1ac13c0
Showing
10 changed files
with
47 additions
and
43 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
android/src/main/res/layout/card_tile_refresh_recycler.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<com.xda.one.ui.widget.XDARefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/swipe_refresh_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<android.support.v7.widget.RecyclerView | ||
android:id="@android:id/list" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/main_xda_background_color" | ||
android:clipToPadding="false" | ||
android:paddingBottom="8dp" | ||
android:paddingTop="8dp" | ||
android:scrollbarStyle="outsideOverlay" | ||
android:visibility="gone" /> | ||
</com.xda.one.ui.widget.XDARefreshLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...in/res/layout/recycler_inside_refresh.xml → ...main/res/layout/list_refresh_recycler.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<com.xda.one.ui.widget.XDARefreshLayout | ||
<com.xda.one.ui.widget.XDARefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/swipe_refresh_layout" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<android.support.v7.widget.RecyclerView | ||
android:id="@android:id/list" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/main_xda_backgroud_color" | ||
android:background="@android:color/white" | ||
android:clipToPadding="false" | ||
android:paddingBottom="8dp" | ||
android:paddingTop="8dp" | ||
android:scrollbarStyle="outsideOverlay" | ||
android:visibility="gone" /> | ||
|
||
</com.xda.one.ui.widget.XDARefreshLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters