mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
Tweak dual pods wear layout
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ class DualPodsCardVH(parent: ViewGroup) :
|
||||
}
|
||||
deviceIcon.setImageResource(device.iconRes)
|
||||
|
||||
lastSeen.text = context.getString(R.string.last_seen_x, "\n" + device.lastSeenFormatted(item.now))
|
||||
lastSeen.text = device.lastSeenFormatted(item.now)
|
||||
|
||||
// Pods battery state
|
||||
device.apply {
|
||||
|
||||
@@ -268,10 +268,12 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/last_seen"
|
||||
style="@style/TextAppearance.Material3.BodySmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginHorizontal="32dp"
|
||||
android:gravity="center"
|
||||
android:lines="2"
|
||||
android:maxLines="2"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
||||
Reference in New Issue
Block a user