瀏覽代碼

-add logo
-fixing layout after scan

ilhamitubagoes 4 年之前
父節點
當前提交
0479e2d228

+ 2 - 2
app/src/main/AndroidManifest.xml

@@ -6,9 +6,9 @@
6 6
 
7 7
     <application
8 8
         android:allowBackup="true"
9
-        android:icon="@mipmap/ic_launcher"
9
+        android:icon="@drawable/logo_hse_autimation"
10 10
         android:label="@string/app_name"
11
-        android:roundIcon="@mipmap/ic_launcher_round"
11
+        android:roundIcon="@drawable/logo_hse_autimation"
12 12
         android:supportsRtl="true"
13 13
         android:theme="@style/AppTheme">
14 14
         <activity android:name=".ui.scanresult.ScanResultActivity"></activity>

二進制
app/src/main/res/drawable-v24/logo_hse_autimation.png


+ 1 - 5
app/src/main/res/layout/activity_scan_result.xml

@@ -36,7 +36,7 @@
36 36
         android:layout_margin="16dp"
37 37
         android:layout_below="@id/iv_profile_image"
38 38
         android:orientation="vertical"
39
-        android:padding="8dp"
39
+        android:padding="12dp"
40 40
         android:background="@drawable/bg_green">
41 41
 
42 42
         <TextView
@@ -45,7 +45,6 @@
45 45
             android:layout_width="match_parent"
46 46
             android:layout_height="wrap_content"
47 47
             android:gravity="center"
48
-            android:layout_margin="2dp"
49 48
             tools:text="HADYAN EL AUFAR" />
50 49
 
51 50
         <TextView
@@ -54,7 +53,6 @@
54 53
             android:layout_width="match_parent"
55 54
             android:layout_height="wrap_content"
56 55
             android:gravity="center"
57
-            android:layout_margin="2dp"
58 56
             tools:text="IT System Development Specialist" />
59 57
 
60 58
         <TextView
@@ -63,7 +61,6 @@
63 61
             android:layout_width="match_parent"
64 62
             android:layout_height="wrap_content"
65 63
             android:gravity="center"
66
-            android:layout_margin="2dp"
67 64
             tools:text="Engineer/Specialist" />
68 65
 
69 66
         <TextView
@@ -72,7 +69,6 @@
72 69
             android:layout_width="match_parent"
73 70
             android:layout_height="wrap_content"
74 71
             android:gravity="center"
75
-            android:layout_margin="2dp"
76 72
             tools:text="PT. Berau Coal Energy" />
77 73
 
78 74
     </LinearLayout>