Skip to content

Commit

Permalink
Modify Card Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kkjsw17 committed Jun 20, 2021
1 parent 2de7029 commit 2470ac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions app/src/main/res/layout/item_card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="2.3"
android:layout_weight="3"
android:layout_marginBottom="14dp">

<ImageView
Expand All @@ -36,9 +36,10 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginTop="10dp"
android:paddingEnd="20dp"
android:orientation="horizontal"
tools:ignore="NestedWeights">
tools:ignore="NestedWeights,RtlSymmetry">

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -79,15 +80,15 @@
android:layout_height="0dp"
android:layout_weight="2.5"
android:orientation="horizontal"
android:paddingStart="12dp"
android:paddingBottom="15dp">

<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/profileImageView"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/profile_image" />
android:src="@drawable/profile_image"
tools:ignore="NestedWeights" />

<LinearLayout
android:layout_width="0dp"
Expand Down Expand Up @@ -155,7 +156,7 @@
android:id="@+id/contentTextView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="5"
android:layout_weight="4"
android:padding="20dp"
android:hint="@string/content" />

Expand All @@ -164,7 +165,8 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.5"
android:orientation="vertical"></LinearLayout>
android:orientation="vertical"
android:padding="20dp" />

<LinearLayout
android:layout_width="match_parent"
Expand Down

0 comments on commit 2470ac4

Please sign in to comment.