Skip to content

Commit

Permalink
main: adjust padding
Browse files Browse the repository at this point in the history
  • Loading branch information
hariimurti committed Jul 25, 2021
1 parent 0620fdb commit bf32ee6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/src/main/res/layout/item_category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/cat_layout_padding"
android:paddingBottom="@dimen/cat_layout_padding">
android:paddingTop="@dimen/cat_layout_padding_top"
android:paddingBottom="@dimen/cat_layout_padding_bottom">

<RelativeLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -54,6 +54,7 @@
android:id="@+id/rv_channels"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/cat_layout_padding_bottom"
android:orientation="horizontal" />

</LinearLayout>
5 changes: 3 additions & 2 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<dimen name="btn_corner_radius">5dp</dimen>
<dimen name="btn_channel_width">120dp</dimen>
<dimen name="btn_channel_height">80dp</dimen>
<dimen name="btn_channel_padding">5dp</dimen>
<dimen name="cat_layout_padding">10dp</dimen>
<dimen name="btn_channel_padding">8dp</dimen>
<dimen name="cat_layout_padding_top">10dp</dimen>
<dimen name="cat_card_width">260dp</dimen>
<dimen name="cat_card_corner">20dp</dimen>
<dimen name="cat_card_margin_start">-20dp</dimen>
Expand All @@ -23,4 +23,5 @@
<dimen name="progress_text_margin_left_right">20dp</dimen>
<dimen name="progress_text_margin_top_bottom">10dp</dimen>
<dimen name="dialog_corner_radius">8dp</dimen>
<dimen name="cat_layout_padding_bottom">5dp</dimen>
</resources>

0 comments on commit bf32ee6

Please sign in to comment.