Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Jul 16, 2018
1 parent 54a9dbe commit e1309d1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
21 changes: 9 additions & 12 deletions app/src/main/res/layout/adapter_book_source_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,30 @@

<ImageView
android:id="@+id/iv_edit_source"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:padding="8dp"
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_edit" />

<ImageView
android:id="@+id/iv_top_source"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:padding="8dp"
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_top_source_black_24dp" />

<ImageView
android:id="@+id/iv_del_source"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:padding="8dp"
android:layout_weight="1"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_clear_all" />
Expand Down
14 changes: 6 additions & 8 deletions app/src/main/res/layout/adapter_replace_rule_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,19 @@

<ImageView
android:id="@+id/iv_edit"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:padding="8dp"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_edit" />

<ImageView
android:id="@+id/iv_del"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:padding="8dp"
android:background="@drawable/bg_ib_pre_round"
android:src="@drawable/ic_clear_all" />
</LinearLayout>
Expand Down

0 comments on commit e1309d1

Please sign in to comment.