md_dialog_basic.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <com.afollestad.materialdialogs.internal.MDRootLayout
  2. android:orientation="vertical"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. app:md_reduce_padding_no_title_no_buttons="false"
  6. xmlns:app="http://schemas.android.com/apk/res-auto"
  7. xmlns:android="http://schemas.android.com/apk/res/android"
  8. xmlns:tools="http://schemas.android.com/tools">
  9. <include layout="@layout/md_stub_titleframe" />
  10. <ScrollView
  11. android:id="@+id/contentScrollView"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:clipToPadding="false"
  15. android:paddingTop="@dimen/md_content_padding_top"
  16. android:paddingBottom="@dimen/md_content_padding_bottom">
  17. <TextView
  18. android:id="@+id/content"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. android:paddingLeft="@dimen/md_dialog_frame_margin"
  22. android:paddingRight="@dimen/md_dialog_frame_margin"
  23. android:textSize="@dimen/md_content_textsize"
  24. tools:text="Content" />
  25. </ScrollView>
  26. <include layout="@layout/md_stub_actionbuttons" />
  27. </com.afollestad.materialdialogs.internal.MDRootLayout>