Skip to content

Commit

Permalink
update RxAutoImageView.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vondear authored and Vondear committed Sep 5, 2018
1 parent 34d4f96 commit e10d4de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 5 additions & 7 deletions RxUI/src/main/res/layout/layout_auto_imageview.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/de_frm_backgroud"
android:layout_width="match_parent"
android:layout_height="match_parent">
Expand All @@ -9,9 +8,8 @@
android:id="@+id/img_backgroud"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="-100dp"
android:layout_marginRight="-300dp"
android:scaleType="centerCrop"/>


android:layout_marginLeft="@dimen/rxauto_imageview_left"
android:layout_marginRight="@dimen/rxauto_imageview_Right"
android:scaleType="centerCrop" />

</FrameLayout>
4 changes: 4 additions & 0 deletions RxUI/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
<dimen name="default_preview_height">40dp</dimen>
<dimen name="default_preview_image_height">36dp</dimen>
<dimen name="default_slider_margin_btw_title">20dp</dimen>

<dimen name="rxauto_imageview_left">-100dp</dimen>
<dimen name="rxauto_imageview_Right">-300dp</dimen>

</resources>

0 comments on commit e10d4de

Please sign in to comment.