瀏覽代碼

Layout adjustment

Wayne 6 年之前
父節點
當前提交
8cd0cfd88b
共有 1 個文件被更改,包括 8 次插入4 次删除
  1. 8 4
      src/main/res/layout/dialog_export_pdf.xml

+ 8 - 4
src/main/res/layout/dialog_export_pdf.xml

@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
-    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="800dp"
     android:layout_height="544dp"
     android:background="@drawable/bg_rounded_8dp"
@@ -19,14 +18,14 @@
     <TextView
         android:id="@+id/tv_exportPdfDialog_name"
         style="@style/Title"
+        android:text="@string/export_pdf_dialog_title"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:textColor="@color/cocoa"
         app:layout_constraintBottom_toBottomOf="@id/view_exportPdfDialog_header"
         app:layout_constraintLeft_toLeftOf="@id/view_exportPdfDialog_header"
         app:layout_constraintRight_toRightOf="@id/view_exportPdfDialog_header"
-        app:layout_constraintTop_toTopOf="@id/view_exportPdfDialog_header"
-        tools:text="Choose PDF Format" />
+        app:layout_constraintTop_toTopOf="@id/view_exportPdfDialog_header" />
 
     <RadioButton
         android:id="@+id/rb_exportPdfDialog_standard"
@@ -114,17 +113,22 @@
         android:layout_width="488dp"
         android:layout_height="120dp"
         android:layout_marginLeft="16dp"
+        android:layout_marginRight="40dp"
         android:scaleType="centerCrop"
         android:src="@drawable/ic_img_foldable"
         app:layout_constraintLeft_toRightOf="@id/iv_exportPdfDialog_foldableBooklet_1"
+        app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toTopOf="@id/iv_exportPdfDialog_foldableBooklet_1" />
-
     <Button
         android:id="@+id/btn_exportPdfDialog_print"
         style="@style/Widget.AppCompat.Button.Borderless.Colored"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/export_pdf_dialog_print"
+        android:layout_marginTop="48dp"
+        android:layout_marginRight="24dp"
+        android:layout_marginBottom="24dp"
+        app:layout_constraintTop_toBottomOf="@id/iv_exportPdfDialog_foldableBooklet_2"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintRight_toRightOf="parent" />