gold Classic

This commit is contained in:
ioTY
2019-08-18 13:52:40 +02:00
parent 3986d4f2e0
commit 0049a1f234
6 changed files with 4 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ class WhatsNewViewBinder implements LoaderManager.LoaderCallbacks<Cursor> {
activity,
AppProvider.getRecentlyUpdatedUri(),
AppMetadataTable.Cols.ALL,
selection,
null,//selection,
null,
null
);

View File

@@ -62,7 +62,7 @@ public class WhatsNewAdapter extends RecyclerView.Adapter<AppCardController> {
@Override
public int getItemViewType(int position) {
int relativePositionInCycle = position % 5;
int relativePositionInCycle = 0;//position % 5;
if (BuildConfig.FLAVOR.startsWith("basic")) {
if (relativePositionInCycle > 0) {
@@ -115,7 +115,7 @@ public class WhatsNewAdapter extends RecyclerView.Adapter<AppCardController> {
public static class SpanSizeLookup extends GridLayoutManager.SpanSizeLookup {
@Override
public int getSpanSize(int position) {
int relativePositionInCycle = position % 5;
int relativePositionInCycle =0;// position % 5;
if (relativePositionInCycle == 0) {
return 2;
} else {
@@ -145,7 +145,7 @@ public class WhatsNewAdapter extends RecyclerView.Adapter<AppCardController> {
int horizontalPadding = (int) resources.getDimension(R.dimen.whats_new__padding__app_card__horizontal);
int verticalPadding = (int) resources.getDimension(R.dimen.whats_new__padding__app_card__vertical);
int relativePositionInCycle = position % 5;
int relativePositionInCycle = 0;//position % 5;
if (relativePositionInCycle != 0) {
// The item on the left will have both left and right padding. The item on the right
// will only have padding on the right. This will allow the same amount of padding

View File

@@ -31,7 +31,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/summary"
android:maxLines="4"
android:textSize="13sp"
android:ellipsize="end"
android:layout_marginLeft="8dp"

View File

@@ -38,7 +38,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/summary"
android:maxLines="4"
android:textSize="14sp"
android:ellipsize="end"
app:layout_constraintTop_toBottomOf="@+id/icon"

View File

@@ -31,7 +31,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/summary"
android:lines="2"
android:textSize="14sp"
android:ellipsize="end"
android:layout_marginLeft="16dp"

View File

@@ -32,7 +32,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/summary"
android:maxLines="3"
android:ellipsize="end"
app:layout_constraintTop_toBottomOf="@+id/icon"
app:layout_constraintRight_toRightOf="parent"