diff options
Diffstat (limited to 'app/src/main/res/layout/quick_feed_discovery.xml')
-rw-r--r-- | app/src/main/res/layout/quick_feed_discovery.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/app/src/main/res/layout/quick_feed_discovery.xml b/app/src/main/res/layout/quick_feed_discovery.xml new file mode 100644 index 000000000..f9c13b680 --- /dev/null +++ b/app/src/main/res/layout/quick_feed_discovery.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.v7.widget.CardView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:cardCornerRadius="4dp" + android:elevation="16dp"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="8dp" + android:orientation="vertical"> + + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:orientation="horizontal"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/discover" + android:textSize="18sp" + android:layout_marginBottom="8dp" + android:textColor="?android:attr/textColorPrimary"/> + + <TextView + android:layout_width="0dp" + android:layout_height="wrap_content" + android:text="@string/discover_more" + android:gravity="end" + android:textAlignment="viewEnd" + android:textSize="18sp" + android:background="?android:attr/selectableItemBackground" + android:layout_marginBottom="8dp" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:layout_weight="1" + android:id="@+id/discover_more" + android:textColor="@color/antennapod_blue"/> + </LinearLayout> + + + <de.danoeh.antennapod.view.WrappingGridView + android:id="@+id/discover_grid" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:numColumns="4" + app:layout_columnWeight="1" + app:layout_rowWeight="1" + android:horizontalSpacing="4dp" + android:verticalSpacing="4dp" + android:scrollbars="none" + android:layout_marginTop="8dp" + android:layout_gravity="center_horizontal"/> + + <ProgressBar + android:id="@+id/discover_progress_bar" + style="?android:attr/progressBarStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:layout_marginTop="30dp"/> + + </LinearLayout> + +</android.support.v7.widget.CardView> + |