Skip to content

Commit c4c9fa0

Browse files
committed
style: 格式化代码
Former-commit-id: b615cd1 Former-commit-id: 2475373
1 parent bbb8b91 commit c4c9fa0

File tree

5 files changed

+33
-33
lines changed

5 files changed

+33
-33
lines changed

app/src/main/res-ui-widget/layout/adapter_grid_horizontal_text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
android:background="@color/grey_tran20"
99
android:ellipsize="end"
1010
android:gravity="center"
11-
android:maxLines="1"
1211
android:includeFontPadding="false"
12+
android:maxLines="1"
1313
android:textColor="@color/black"
1414
android:textSize="@dimen/sp_15"
1515
tools:text="Text" />

app/src/main/res-ui-widget/layout/adapter_grid_vertical_text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
android:background="@color/grey_tran20"
99
android:ellipsize="end"
1010
android:gravity="center"
11-
android:maxLines="1"
1211
android:includeFontPadding="false"
12+
android:maxLines="1"
1313
android:textColor="@color/black"
1414
android:textSize="@dimen/sp_15"
1515
tools:text="Text" />

app/src/main/res-ui-widget/layout/adapter_linear_horizontal_text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
android:background="@color/grey_tran20"
99
android:ellipsize="end"
1010
android:gravity="center"
11-
android:maxLines="1"
1211
android:includeFontPadding="false"
12+
android:maxLines="1"
1313
android:textColor="@color/black"
1414
android:textSize="@dimen/sp_15"
1515
tools:text="Text" />

app/src/main/res-ui-widget/layout/adapter_linear_vertical_text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
android:background="@color/grey_tran20"
99
android:ellipsize="end"
1010
android:gravity="center"
11-
android:maxLines="1"
1211
android:includeFontPadding="false"
12+
android:maxLines="1"
1313
android:textColor="@color/black"
1414
android:textSize="@dimen/sp_15"
1515
tools:text="Text" />

app/src/main/res-ui-widget/layout/include_linear_item_decoration_assist.xml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,95 +2,95 @@
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="wrap_content"
5+
android:orientation="vertical"
56
android:paddingLeft="@dimen/dp_20"
6-
android:paddingRight="@dimen/dp_20"
77
android:paddingTop="@dimen/dp_10"
8-
android:orientation="vertical">
8+
android:paddingRight="@dimen/dp_20">
99

1010
<dev.base.widget.BaseTextView
1111
android:layout_width="wrap_content"
12-
android:text="First ItemDecoration"
13-
android:layout_height="wrap_content" />
12+
android:layout_height="wrap_content"
13+
android:text="First ItemDecoration" />
1414

1515
<LinearLayout
1616
android:layout_width="match_parent"
17-
android:orientation="horizontal"
18-
android:layout_height="@dimen/dp_50">
17+
android:layout_height="@dimen/dp_50"
18+
android:orientation="horizontal">
1919

2020
<dev.base.widget.BaseButton
2121
android:id="@+id/vid_first_add_btn"
2222
style="@style/AppTheme.Base_Button"
23-
android:text="Add"
24-
android:layout_marginRight="@dimen/dp_10"
2523
android:layout_width="match_parent"
24+
android:layout_height="match_parent"
25+
android:layout_marginRight="@dimen/dp_10"
2626
android:layout_weight="1"
27-
android:layout_height="match_parent" />
27+
android:text="Add" />
2828

2929
<dev.base.widget.BaseButton
3030
android:id="@+id/vid_first_remove_btn"
3131
style="@style/AppTheme.Base_Button"
32-
android:text="Remove"
3332
android:layout_width="match_parent"
33+
android:layout_height="match_parent"
3434
android:layout_marginLeft="@dimen/dp_10"
3535
android:layout_weight="1"
36-
android:layout_height="match_parent" />
36+
android:text="Remove" />
3737
</LinearLayout>
3838

3939
<dev.base.widget.BaseTextView
4040
android:layout_width="wrap_content"
41-
android:text="Line ItemDecoration"
42-
android:layout_height="wrap_content" />
41+
android:layout_height="wrap_content"
42+
android:text="Line ItemDecoration" />
4343

4444
<LinearLayout
4545
android:layout_width="match_parent"
46-
android:orientation="horizontal"
47-
android:layout_height="@dimen/dp_50">
46+
android:layout_height="@dimen/dp_50"
47+
android:orientation="horizontal">
4848

4949
<dev.base.widget.BaseButton
5050
android:id="@+id/vid_line_add_btn"
5151
style="@style/AppTheme.Base_Button"
52-
android:text="Add"
53-
android:layout_marginRight="@dimen/dp_10"
5452
android:layout_width="match_parent"
53+
android:layout_height="match_parent"
54+
android:layout_marginRight="@dimen/dp_10"
5555
android:layout_weight="1"
56-
android:layout_height="match_parent" />
56+
android:text="Add" />
5757

5858
<dev.base.widget.BaseButton
5959
android:id="@+id/vid_line_remove_btn"
6060
style="@style/AppTheme.Base_Button"
61-
android:text="Remove"
6261
android:layout_width="match_parent"
62+
android:layout_height="match_parent"
6363
android:layout_marginLeft="@dimen/dp_10"
6464
android:layout_weight="1"
65-
android:layout_height="match_parent" />
65+
android:text="Remove" />
6666
</LinearLayout>
6767

6868
<dev.base.widget.BaseTextView
6969
android:layout_width="wrap_content"
70-
android:text="Last ItemDecoration"
71-
android:layout_height="wrap_content" />
70+
android:layout_height="wrap_content"
71+
android:text="Last ItemDecoration" />
7272

7373
<LinearLayout
7474
android:layout_width="match_parent"
75-
android:orientation="horizontal"
76-
android:layout_height="@dimen/dp_50">
75+
android:layout_height="@dimen/dp_50"
76+
android:orientation="horizontal">
7777

7878
<dev.base.widget.BaseButton
7979
android:id="@+id/vid_last_add_btn"
8080
style="@style/AppTheme.Base_Button"
81-
android:text="Add"
82-
android:layout_marginRight="@dimen/dp_10"
8381
android:layout_width="match_parent"
82+
android:layout_height="match_parent"
83+
android:layout_marginRight="@dimen/dp_10"
8484
android:layout_weight="1"
85-
android:layout_height="match_parent" />
85+
android:text="Add" />
8686

8787
<dev.base.widget.BaseButton
8888
android:id="@+id/vid_last_remove_btn"
8989
style="@style/AppTheme.Base_Button"
90-
android:text="Remove"
9190
android:layout_width="match_parent"
91+
android:layout_height="match_parent"
9292
android:layout_marginLeft="@dimen/dp_10"
9393
android:layout_weight="1"
94-
android:layout_height="match_parent" />
94+
android:text="Remove" />
9595
</LinearLayout>
9696
</LinearLayout>

0 commit comments

Comments
 (0)