Replace mysterious tick icon with "Update" or "Install" button in main list of apps.

There is plenty of real estate in this main app list, and the tick
causes confusion as identified in the user tests.
This commit is contained in:
Peter Serwylo 2017-04-07 15:04:35 +10:00
parent 34c741f835
commit f830d4745d

View File

@ -36,7 +36,7 @@
app:layout_constraintTop_toTopOf="@+id/icon"
android:layout_marginLeft="8dp"
android:layout_marginStart="8dp"
app:layout_constraintEnd_toStartOf="@+id/install"
app:layout_constraintEnd_toStartOf="@+id/buttons"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp" />
@ -57,18 +57,34 @@
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp" />
<ImageView
android:id="@+id/install"
tools:src="@drawable/ic_download"
android:scaleType="fitXY"
android:contentDescription="@string/menu_install"
android:layout_width="64dp"
android:layout_height="64dp"
android:elevation="2dp"
android:padding="4dp"
<FrameLayout
android:id="@+id/buttons"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/icon" />
app:layout_constraintTop_toTopOf="@+id/icon">
<ImageView
android:id="@+id/install"
tools:src="@drawable/ic_download"
android:scaleType="fitXY"
android:contentDescription="@string/menu_install"
android:layout_width="64dp"
android:layout_height="64dp"
android:elevation="2dp"
android:padding="4dp" />
<Button
android:id="@+id/action_button"
style="@style/DetailsPrimaryButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
tools:text="Update" />
</FrameLayout>
</android.support.constraint.ConstraintLayout>