mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-11 17:26:53 -04:00
Add version info in updates page
This commit is contained in:
@@ -78,6 +78,7 @@ class AppUpdateView : RelativeLayout {
|
||||
|
||||
B.txtLine2.text = app.developerName
|
||||
B.txtLine3.text = ("${CommonUtil.addSiPrefix(app.size)} • ${app.updatedOn}")
|
||||
B.txtLine4.text = ("v${app.versionName}.${app.versionCode}")
|
||||
B.txtChangelog.text = if (app.changes.isNotEmpty())
|
||||
HtmlCompat.fromHtml(
|
||||
app.changes,
|
||||
|
||||
@@ -80,6 +80,17 @@
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line3" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/txt_line4"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/txt_line3"
|
||||
android:layout_alignStart="@+id/txt_line1"
|
||||
android:layout_alignEnd="@id/txt_line1"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line3" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_action"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user