Native rewrite #878
3 changed files with 13 additions and 4 deletions
|
@ -448,7 +448,7 @@ public class ClaimListAdapter extends RecyclerView.Adapter<ClaimListAdapter.View
|
||||||
Helper.formatBytes(claimFile.getTotalBytes(), false));
|
Helper.formatBytes(claimFile.getTotalBytes(), false));
|
||||||
}
|
}
|
||||||
|
|
||||||
Helper.setViewText(vh.fileSizeView, fileSizeString);
|
Helper.setViewText(vh.fileSizeView, claimFile != null && !Helper.isNullOrEmpty(claimFile.getDownloadPath()) ? fileSizeString : null);
|
||||||
Helper.setViewVisibility(vh.downloadProgressView, isDownloading ? View.VISIBLE : View.INVISIBLE);
|
Helper.setViewVisibility(vh.downloadProgressView, isDownloading ? View.VISIBLE : View.INVISIBLE);
|
||||||
Helper.setViewProgress(vh.downloadProgressView, progress);
|
Helper.setViewProgress(vh.downloadProgressView, progress);
|
||||||
Helper.setViewText(vh.deviceView, item.getDevice());
|
Helper.setViewText(vh.deviceView, item.getDevice());
|
||||||
|
|
|
@ -101,18 +101,21 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_width="64dp"
|
android:layout_width="56dp"
|
||||||
android:layout_height="48dp"
|
android:layout_height="48dp"
|
||||||
android:layout_toLeftOf="@id/player_toggle_fullscreen">
|
android:layout_toLeftOf="@id/player_toggle_fullscreen">
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/player_playback_speed_label"
|
android:id="@+id/player_playback_speed_label"
|
||||||
android:layout_centerInParent="true"
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginRight="8dp"
|
||||||
android:fontFamily="@font/inter"
|
android:fontFamily="@font/inter"
|
||||||
|
android:letterSpacing="0.05"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="14sp" />
|
android:textSize="11sp" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
|
|
|
@ -63,6 +63,12 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:text="@string/fa_coins" />
|
android:text="@string/fa_coins" />
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:fontFamily="@font/inter"
|
||||||
|
android:textSize="14sp" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/floating_balance_value"
|
android:id="@+id/floating_balance_value"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
Loading…
Reference in a new issue