mirror of
https://github.com/nextcloud/android.git
synced 2024-12-21 08:24:08 +03:00
fix ui
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
4b1a30a148
commit
bbaa77ab23
3 changed files with 5 additions and 4 deletions
|
@ -47,7 +47,8 @@ class RecommendedFilesAdapter(
|
|||
|
||||
holder.binding.run {
|
||||
name.text = item.name
|
||||
timestamp.text = DisplayUtils.getRelativeTimestamp(context, item.timestamp)
|
||||
val secondsInMillisecond = (item.timestamp * 1000)
|
||||
timestamp.text = DisplayUtils.getRelativeTimestamp(context, secondsInMillisecond)
|
||||
|
||||
val file = storageManager.getFileByLocalId(item.id) ?: return
|
||||
|
||||
|
|
|
@ -43,10 +43,8 @@
|
|||
<TextView
|
||||
android:id="@+id/recommended_files_title"
|
||||
android:text="@string/recommended_files_title"
|
||||
app:drawableStartCompat="@drawable/ic_star"
|
||||
app:drawableTint="@color/text_color"
|
||||
android:textSize="@dimen/large_title_text_size"
|
||||
android:gravity="center|start"
|
||||
android:drawablePadding="@dimen/standard_half_padding"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
|
|
|
@ -161,4 +161,6 @@
|
|||
<dimen name="recommended_files_thumbnail_height">120dp</dimen>
|
||||
<dimen name="recommended_files_layout_width">180dp</dimen>
|
||||
<dimen name="recommended_files_layout_margin_top">150dp</dimen>
|
||||
|
||||
<dimen name="large_title_text_size">22sp</dimen>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue