47
+                }
48
+            }
49
+            os.write(data, 0, read);
50
+            read = is.read(data);
51
+        }
52
+
53
+        os.flush();
54
+        os.close();
55
+        is.close();
56
+    }
57
+
58
+}

+ 32 - 0
app/src/main/res/layout/activity_encrypt.xml

@@ -0,0 +1,32 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+    android:layout_width="match_parent"
4
+    android:layout_height="match_parent"
5
+    android:background="@color/background_light_grey_color">
6
+
7
+    <RelativeLayout
8
+        android:id="@+id/title_layout"
9
+        android:layout_width="match_parent"
10
+        android:layout_height="wrap_content"
11
+        android:background="@color/colorPrimaryDark">
12
+        <include layout="@layout/title_bar_with_back_and_option" />
13
+    </RelativeLayout>
14
+
15
+    <ImageView
16
+        android:id="@+id/image_encrypt"
17
+        android:layout_width="match_parent"
18
+        android:layout_height="300dp"
19
+        android:scaleType="centerInside"
20
+        android:layout_below="@id/title_layout"/>
21
+
22
+    <Button
23
+        android:id="@+id/btn_encrypt"
24
+        android:layout_width="100dp"
25
+        android:layout_height="48dp"
26
+        android:layout_alignParentBottom="true"
27
+        android:layout_marginBottom="60dp"
28
+        android:layout_centerHorizontal="true"
29
+        android:gravity="center"/>
30
+
31
+
32
+</RelativeLayout>

kodo - Gogs: Go Git Service

暂无描述

Brightcells: 8b7c49ddb9 add app to add page user_agreement/contact_us 10 年之前
..
__init__.py 8b7c49ddb9 add app to add page user_agreement/contact_us 10 年之前