Browse Source

-add logo
-fixing layout after scan

ilhamitubagoes 4 years ago
parent
commit
0479e2d228

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

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

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