Small layout improvement

This commit is contained in:
M66B 2019-07-23 17:05:30 +02:00
parent 54d54f5d9f
commit ccfffe71e0
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public class FragmentDialogMarkdown extends DialogFragmentEx {
dialog.setContentView(dview);
dialog.getWindow().setLayout(
WindowManager.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.MATCH_PARENT);
WindowManager.LayoutParams.WRAP_CONTENT);
new SimpleTask<Spanned>() {
@Override

View File

@ -17,7 +17,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="12dp">
android:padding="24dp">
<TextView
android:id="@+id/tvMarkdown"