Skip to content

Commit

Permalink
修复ActionSheetRecyclerDialog宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoshuai904 committed Aug 27, 2020
1 parent 58c81e6 commit 5919efe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class ActionSheetRecyclerDialog(
}

getRootView().layoutParams = FrameLayout.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams.MATCH_PARENT,
height)
}

Expand Down
2 changes: 1 addition & 1 deletion msdialog/src/main/res/layout/ms_item_single_string.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<TextView
android:id="@+id/tv_name"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="#333333"
Expand Down

0 comments on commit 5919efe

Please sign in to comment.