add dimens

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-16 15:04:22 +01:00 committed by Alper Öztürk
parent cd21afc5ec
commit a25b10347c
2 changed files with 6 additions and 6 deletions

View file

@ -7,9 +7,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container" android:id="@+id/container"
android:layout_width="180dp" android:layout_width="@dimen/recommended_files_layout_width"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="8dp" android:layout_marginEnd="@dimen/standard_half_margin"
android:orientation="vertical" android:orientation="vertical"
android:gravity="start"> android:gravity="start">
@ -21,7 +21,7 @@
<ImageView <ImageView
android:id="@+id/thumbnail" android:id="@+id/thumbnail"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="120dp" android:layout_height="@dimen/recommended_files_thumbnail_height"
android:background="@drawable/rounded_rect_8dp" android:background="@drawable/rounded_rect_8dp"
android:contentDescription="@string/preview_image_description" android:contentDescription="@string/preview_image_description"
android:src="@drawable/file" /> android:src="@drawable/file" />
@ -37,13 +37,12 @@
<com.elyeproj.loaderviewlibrary.LoaderImageView <com.elyeproj.loaderviewlibrary.LoaderImageView
android:id="@+id/shimmer_thumbnail" android:id="@+id/shimmer_thumbnail"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="120dp" /> android:layout_height="@dimen/recommended_files_thumbnail_height" />
</FrameLayout> </FrameLayout>
<TextView <TextView
android:text="to Pay up.pdf"
android:layout_marginTop="@dimen/standard_half_margin" android:layout_marginTop="@dimen/standard_half_margin"
android:id="@+id/name" android:id="@+id/name"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -55,7 +54,6 @@
android:maxLines="1"/> android:maxLines="1"/>
<TextView <TextView
android:text="Dropbox"
android:layout_marginTop="@dimen/standard_half_margin" android:layout_marginTop="@dimen/standard_half_margin"
android:id="@+id/timestamp" android:id="@+id/timestamp"
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -158,4 +158,6 @@
<dimen name="adaptive_icon_padding">18dp</dimen> <dimen name="adaptive_icon_padding">18dp</dimen>
<dimen name="tag_height">18dp</dimen> <dimen name="tag_height">18dp</dimen>
<dimen name="more_icon_size">32dp</dimen> <dimen name="more_icon_size">32dp</dimen>
<dimen name="recommended_files_thumbnail_height">120dp</dimen>
<dimen name="recommended_files_layout_width">180dp</dimen>
</resources> </resources>