优化细节

pull/27/head
Jenly 3 years ago
parent 4ee839fe2c
commit ac88d07c1b
  1. 0
      app-dialog/src/main/res/color/app_dialog_button_color_selector.xml
  2. 4
      app-dialog/src/main/res/layout/app_dialog.xml
  3. 4
      app/src/main/res/layout/dialog.xml

@ -46,7 +46,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="@string/app_dialog_cancel" android:text="@string/app_dialog_cancel"
android:textSize="@dimen/app_dialog_button_text_size" android:textSize="@dimen/app_dialog_button_text_size"
android:textColor="@color/app_cancel_color_selector" android:textColor="@color/app_dialog_button_color_selector"
android:background="?android:attr/selectableItemBackground"/> android:background="?android:attr/selectableItemBackground"/>
<include <include
android:id="@+id/line" android:id="@+id/line"
@ -60,7 +60,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="@string/app_dialog_confirm" android:text="@string/app_dialog_confirm"
android:textSize="@dimen/app_dialog_button_text_size" android:textSize="@dimen/app_dialog_button_text_size"
android:textColor="@color/app_cancel_color_selector" android:textColor="@color/app_dialog_button_color_selector"
android:background="?android:attr/selectableItemBackground"/> android:background="?android:attr/selectableItemBackground"/>
</LinearLayout> </LinearLayout>

@ -40,7 +40,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="@string/app_dialog_cancel" android:text="@string/app_dialog_cancel"
android:textSize="18sp" android:textSize="18sp"
android:textColor="@color/app_cancel_color_selector" android:textColor="@color/app_dialog_button_color_selector"
android:background="?android:attr/selectableItemBackground"/> android:background="?android:attr/selectableItemBackground"/>
<include <include
android:id="@+id/line" android:id="@+id/line"
@ -54,7 +54,7 @@
android:layout_weight="1" android:layout_weight="1"
android:text="@string/app_dialog_confirm" android:text="@string/app_dialog_confirm"
android:textSize="18sp" android:textSize="18sp"
android:textColor="@color/app_cancel_color_selector" android:textColor="@color/app_dialog_button_color_selector"
android:background="?android:attr/selectableItemBackground"/> android:background="?android:attr/selectableItemBackground"/>
</LinearLayout> </LinearLayout>

Loading…
Cancel
Save