Quellcode durchsuchen

修复scroller 不能右滑退出问题

liuzhenxing1118 vor 2 Jahren
Ursprung
Commit
785e6b6895
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      app/src/main/res/layout/activity_esim_activation.xml

+ 3 - 0
app/src/main/res/layout/activity_esim_activation.xml

@@ -22,6 +22,9 @@
     <ScrollView
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:layout_marginStart="2dp"
+        android:layout_marginEnd="2dp"
+        android:layout_alignParentEnd="true"
         android:layout_alignTop="@+id/title"
         android:layout_marginTop="25dp"
         android:layout_above="@+id/button"