Skip to content

Commit 43c1a95

Browse files
committed
样式修改
1 parent 1048891 commit 43c1a95

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

conditiondialog/src/main/res/layout/condition_dialog_item_layout.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@
99
<CheckBox
1010
android:id="@+id/cb_condition"
1111
android:layout_width="match_parent"
12-
android:layout_height="30dp"
13-
android:layout_marginBottom="@dimen/margin_ss"
14-
android:layout_marginLeft="@dimen/margin_l"
15-
android:layout_marginRight="@dimen/margin_l"
16-
android:layout_marginTop="@dimen/margin_ss"
12+
android:layout_height="33dp"
13+
android:layout_margin="@dimen/margin_ss"
1714
android:background="@drawable/condition_dialog_item_checkbox_selector"
1815
android:button="@null"
1916
android:gravity="center"
2017
android:paddingLeft="@dimen/margin_ss"
2118
android:paddingRight="@dimen/margin_ss"
2219
android:textColor="@drawable/condition_dialog_item_checkbox_text_selector"
23-
android:textSize="@dimen/common_text_size_ss"/>
20+
android:textSize="@dimen/common_text_size_n"/>
2421
</LinearLayout>

conditiondialog/src/main/res/layout/vehicel_condition_popwindow_layout.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
android:id="@+id/gv_vehicle_meter"
7575
android:layout_width="match_parent"
7676
android:layout_height="0dp"
77+
android:layout_marginLeft="@dimen/margin_nl"
78+
android:layout_marginRight="@dimen/margin_nl"
7779
android:layout_weight="1"
7880
android:listSelector="@android:color/transparent"
7981
android:numColumns="4"
@@ -96,6 +98,8 @@
9698
android:id="@+id/gv_vehicle_type"
9799
android:layout_width="match_parent"
98100
android:layout_height="0dp"
101+
android:layout_marginLeft="@dimen/margin_nl"
102+
android:layout_marginRight="@dimen/margin_nl"
99103
android:layout_weight="1"
100104
android:listSelector="@android:color/transparent"
101105
android:numColumns="4"

conditiondialog/src/main/res/values/dimens.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<dimen name="margin_ss">5dp</dimen>
66
<dimen name="margin_s">10dp</dimen>
77
<dimen name="margin_n">15dp</dimen>
8+
<dimen name="margin_nl">30dp</dimen>
89
<dimen name="margin_l">12dp</dimen>
910

1011
<!-- Text Size-->
1112
<dimen name="common_text_size_n">16sp</dimen>
1213
<dimen name="common_text_size_s">14sp</dimen>
13-
<dimen name="common_text_size_ss">13sp</dimen>
1414
</resources>

0 commit comments

Comments
 (0)