Skip to content

Commit 3f4bc55

Browse files
author
guohanlin
committed
去掉容器边距
1 parent 0e7bea0 commit 3f4bc55

4 files changed

Lines changed: 8 additions & 10 deletions

File tree

8 Bytes
Binary file not shown.

SpringDiaLog/.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SpringDiaLog/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ dependencies {
2828
testCompile 'junit:junit:4.12'
2929
compile 'com.facebook.fresco:fresco:1.0.0'//Facebook 图片异步加载库
3030
compile 'com.squareup.okhttp3:okhttp:3.4.1' //OKHttp3 网络请求库
31-
// compile project(':springdialog')
32-
compile 'com.github.RmondJone:SpringDiaLog:1.0.2' //SpringDiaLog
31+
compile project(':springdialog')
32+
// compile 'com.github.RmondJone:SpringDiaLog:1.0.2' //SpringDiaLog
3333
}

SpringDiaLog/springdialog/src/main/res/layout/spring_dialog_layout.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
android:orientation="vertical" android:layout_width="match_parent"
3+
android:layout_width="match_parent"
44
android:layout_height="match_parent"
55
android:background="#bf000000"
6-
android:clickable="true">
6+
android:clickable="true"
7+
android:orientation="vertical">
78

89
<RelativeLayout
9-
android:gravity="center_horizontal"
1010
android:id="@+id/anim_container"
1111
android:layout_width="wrap_content"
1212
android:layout_height="wrap_content"
1313
android:layout_centerInParent="true"
14-
android:layout_marginLeft="44dp"
15-
android:layout_marginRight="44dp"
16-
android:paddingTop="48dp"
17-
>
14+
android:gravity="center_horizontal">
1815

1916
<RelativeLayout
2017
android:id="@+id/contentView"
2118
android:layout_width="280dp"
2219
android:layout_height="350dp">
20+
2321
<FrameLayout
2422
android:id="@+id/fl_content_container"
2523
android:layout_width="match_parent"

0 commit comments

Comments
 (0)