Skip to content

Commit

Permalink
add dimens
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Dec 16, 2024
1 parent 5778fa2 commit db53719
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions app/src/main/res/layout/recommended_files_list_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="180dp"
android:layout_width="@dimen/recommended_files_layout_width"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginEnd="@dimen/standard_half_margin"
android:orientation="vertical"
android:gravity="start">

Expand All @@ -21,7 +21,7 @@
<ImageView
android:id="@+id/thumbnail"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_height="@dimen/recommended_files_thumbnail_height"
android:background="@drawable/rounded_rect_8dp"
android:contentDescription="@string/preview_image_description"
android:src="@drawable/file" />
Expand All @@ -37,13 +37,12 @@
<com.elyeproj.loaderviewlibrary.LoaderImageView
android:id="@+id/shimmer_thumbnail"
android:layout_width="match_parent"
android:layout_height="120dp" />
android:layout_height="@dimen/recommended_files_thumbnail_height" />

</FrameLayout>


<TextView
android:text="to Pay up.pdf"
android:layout_marginTop="@dimen/standard_half_margin"
android:id="@+id/name"
android:layout_width="match_parent"
Expand All @@ -55,7 +54,6 @@
android:maxLines="1"/>

<TextView
android:text="Dropbox"
android:layout_marginTop="@dimen/standard_half_margin"
android:id="@+id/timestamp"
android:layout_width="match_parent"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/dims.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,6 @@
<dimen name="adaptive_icon_padding">18dp</dimen>
<dimen name="tag_height">18dp</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>

0 comments on commit db53719

Please sign in to comment.