Commit a6c782e3 by ta 03

2

parent bf69c19f
......@@ -2,13 +2,13 @@
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeWidth="1"
android:strokeColor="#00000000">
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
......@@ -29,6 +29,6 @@
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
android:strokeColor="#00000000"
android:strokeWidth="1" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:angle="45"
android:startColor="@color/gradient_start_color"
android:endColor="@color/gradEnd"
/>
</shape>
\ No newline at end of file
<vector android:height="24dp" android:tint="#49ADFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,2c1.1,0 2,0.9 2,2s-0.9,2 -2,2 -2,-0.9 -2,-2 0.9,-2 2,-2zM21,9h-6v13h-2v-6h-2v6L9,22L9,9L3,9L3,7h18v2z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M19,3h-4.18C14.4,1.84 13.3,1 12,1c-1.3,0 -2.4,0.84 -2.82,2L5,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2L21,5c0,-1.1 -0.9,-2 -2,-2zM12,3c0.55,0 1,0.45 1,1s-0.45,1 -1,1 -1,-0.45 -1,-1 0.45,-1 1,-1zM14,17L7,17v-2h7v2zM17,13L7,13v-2h10v2zM17,9L7,9L7,7h10v2z"/>
</vector>
<vector android:height="24dp" android:tint="#49ADFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM20,8l-8,5 -8,-5L4,6l8,5 8,-5v2z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="#49ADFF"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
......
<vector android:height="24dp" android:tint="#49ADFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M16,1L8,1C6.34,1 5,2.34 5,4v16c0,1.66 1.34,3 3,3h8c1.66,0 3,-1.34 3,-3L19,4c0,-1.66 -1.34,-3 -3,-3zM14,21h-4v-1h4v1zM17.25,18L6.75,18L6.75,4h10.5v14z"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto"
app:fontProviderAuthority="com.google.android.gms.fonts"
app:fontProviderPackage="com.google.android.gms"
app:fontProviderQuery="Aclonica"
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs">
</font-family>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.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="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="405dp">
android:background="#D5D2D2"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<androidx.cardview.widget.CardView
android:id="@+id/profileCard"
android:layout_width="300dp"
android:layout_height="437dp"
android:layout_centerInParent="true"
app:cardCornerRadius="20dp"
app:cardUseCompatPadding="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/app_name">
<TextView
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:text="STATUS"
android:textColor="@color/colorPrimaryDark"
android:textSize="20sp" />
<LinearLayout
android:background="@color/design_default_color_background"
android:layout_width="match_parent"
android:layout_height="350dp"
android:orientation="vertical">
<ImageView
android:id="@+id/app_logo"
android:layout_marginTop="45dp"
android:layout_gravity="center_horizontal"
android:layout_width="150dp"
android:layout_height="150dp"/>
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:orientation="vertical"
android:padding="0dp">
<TextView
android:id="@+id/app_name"
android:layout_marginTop="10dp"
android:layout_gravity="center_horizontal"
android:id="@+id/malware_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Application name"
android:layout_gravity="center"
android:paddingTop="10dp"
android:text="Malware Name"
android:textColor="@color/colorPrimaryDark"
android:textStyle="bold"
android:textSize="21sp"/>
</LinearLayout>
android:textSize="20sp"
android:textStyle="bold" />
<androidx.cardview.widget.CardView
android:layout_width="358dp"
android:layout_height="104dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="275dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="Description"
android:textStyle="bold" />
<LinearLayout
android:id="@+id/status_card"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:weightSum="2">
android:layout_height="250dp"
android:layout_gravity="center"
android:layout_marginTop="8dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="0dp"
<TextView
android:id="@+id/detail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="2"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFFFFF"
android:text="STATUS"
android:textSize="20sp" />
<TextView
android:id="@+id/malware_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="10dp"
android:text="Malware Name"
android:textColor="#FFFFFF"
android:textSize="20sp"
android:textStyle="bold" />
</LinearLayout>
android:layout_gravity="center_vertical"
android:text="Lorem Ipsum" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</RelativeLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/app_logo"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="28dp"
android:elevation="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:textStyle="bold"
android:id="@+id/app_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="20dp"
android:text="Keterangan Malware"/>
<LinearLayout
android:layout_width="360dp"
android:layout_height="250dp"
android:orientation="vertical"
android:layout_gravity="center"
android:layout_marginTop="25dp">
<TextView
android:id="@+id/detail"
android:layout_gravity="center_vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="20dp"
android:text="Lorem Ipsum"/>
android:layout_gravity="center_horizontal"
android:layout_marginTop="9dp"
android:text="Application name"
android:textColor="@color/colorPrimaryDark"
android:textSize="21sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/app_logo" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......@@ -8,12 +8,11 @@
<ImageView
android:id="@+id/logo"
android:layout_width="0dp"
android:layout_height="271dp"
android:layout_marginTop="150dp"
android:layout_width="330dp"
android:layout_height="221dp"
android:layout_marginTop="160dp"
android:src="@drawable/logos"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.565"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
......@@ -22,12 +21,14 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="36dp"
android:fontFamily="@font/chivo_black_italic"
android:text="NamaApps"
android:fontFamily="@font/aclonica"
android:shadowColor="#00131313"
android:text="MalToR"
android:textAlignment="center"
android:textColor="#304FFE"
android:textColorHighlight="#00B8D4"
android:textSize="55sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/logo" />
......@@ -35,13 +36,50 @@
android:id="@+id/txt_apps"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:fontFamily="@font/antic"
android:text="Malware Detector Apps"
android:text="Malware Detector"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.498"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/txt_apps_name" />
<ImageView
android:id="@+id/LogoDel"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="88dp"
android:layout_marginBottom="8dp"
android:src="@drawable/logo_del"
app:layout_constraintBottom_toTopOf="@+id/text"
app:layout_constraintEnd_toStartOf="@+id/LogoHimatif"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
android:id="@+id/LogoHimatif"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="88dp"
android:layout_marginBottom="8dp"
android:src="@drawable/logo_himatif"
app:layout_constraintBottom_toTopOf="@+id/text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/LogoDel" />
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:text="TA-D3TI03 Del Institute of Technology © 2020 -. All Rights Reserved"
android:textSize="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.644"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<TextView
android:id="@+id/text_account"
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/img_item_photo_profile"
android:layout_width="200dp"
android:layout_height="265dp"
android:layout_gravity="center"
android:paddingTop="50dp"
android:src="@drawable/profile" />
<!-- <TextView-->
<!-- android:id="@+id/choose_image"-->
<!-- android:layout_gravity="center"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:clickable="true"-->
<!-- android:text="Choose Image"/>-->
<FrameLayout
android:id="@+id/child_fragment"
android:paddingTop="20dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:textAlignment="center"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
android:layout_height="match_parent">
</FrameLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/text_home"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:textAlignment="center"
android:textSize="20sp"
<ImageView
android:id="@+id/imageLogo"
android:layout_width="160dp"
android:layout_height="160dp"
android:layout_marginTop="20dp"
android:src="@drawable/logos"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.cardview.widget.CardView
android:id="@+id/card"
android:layout_width="344dp"
android:layout_height="394dp"
app:cardCornerRadius="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageLogo">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="394dp">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:fontFamily="@font/chivo_black_italic"
android:text="How To use"
android:textAlignment="center"
android:textSize="30sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="58dp"
android:layout_height="58dp"
android:layout_marginStart="16dp"
android:layout_marginTop="36dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView"
app:srcCompat="@drawable/list" />
<ImageView
android:id="@+id/imageView5"
android:layout_width="58dp"
android:layout_height="58dp"
android:layout_marginStart="16dp"
android:layout_marginTop="32dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView4"
app:srcCompat="@drawable/list" />
<TextView
android:id="@+id/textView2"
android:layout_width="251dp"
android:layout_height="62dp"
android:layout_marginStart="16dp"
android:layout_marginTop="36dp"
android:text="Select Application"
android:textSize="20sp"
android:textStyle="bold"
app:layout_constraintStart_toEndOf="@+id/imageView3"
app:layout_constraintTop_toBottomOf="@+id/textView" />
<TextView
android:id="@+id/textView4"
android:layout_width="251dp"
android:layout_height="64dp"
android:layout_marginStart="18dp"
android:layout_marginTop="30dp"
android:text="Click Scan Button"
android:textSize="20sp"
android:textStyle="bold"
app:layout_constraintStart_toEndOf="@+id/imageView4"
app:layout_constraintTop_toBottomOf="@+id/textView2" />
<ImageView
android:id="@+id/imageView4"
android:layout_width="58dp"
android:layout_height="58dp"
android:layout_marginStart="16dp"
android:layout_marginTop="32dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView3"
app:srcCompat="@drawable/list" />
<TextView
android:id="@+id/textView5"
android:layout_width="215dp"
android:layout_height="66dp"
android:layout_marginStart="20dp"
android:layout_marginTop="24dp"
android:text="Information Will Be Displayed"
android:textSize="20sp"
android:textStyle="bold"
app:layout_constraintStart_toEndOf="@+id/imageView5"
app:layout_constraintTop_toBottomOf="@+id/textView4" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......@@ -3,7 +3,7 @@
<item
android:id="@+id/navigation_home"
android:icon="@drawable/ic_home_black_24dp"
android:icon="@drawable/ic_assignment_black_24dp"
android:title="@string/title_home" />
<item
......
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
\ No newline at end of file
......@@ -13,5 +13,18 @@
<color name="intro_title_color">#000000</color>
<color name="intro_description_color">#656565</color>
<color name="address">#2F7092</color>
<color name="followers">#0D5D98</color>
<color name="headings">#3797CF</color>
<color name="solidCircle">#AAFFFFFF</color>
<color name="circleBorder">#50FFFFFF</color>
<color name="gradEnd">#67EFC8</color>
<color name="gradStart">#63C9FF</color>
<color name="followersBg">#65DCE5</color>
<color name="followingBg">#49BEFF</color>
<color name="grey">#E5E5E5</color>
<color name="white">#FFFFFF</color>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="preloaded_fonts" translatable="false">
<item>@font/aclonica</item>
<item>@font/acme</item>
<item>@font/antic</item>
<item>@font/berkshire_swash</item>
......
<resources>
<string name="app_name">TugasAkhir</string>
<string name="app_name">MalToR</string>
<string name="title_activity_main">MainActivity</string>
<string name="title_home">Home</string>
<string name="title_dashboard">Dashboard</string>
<string name="title_dashboard">Scan Apps</string>
<string name="title_notifications">Notifications</string>
<string name="title_account">Account</string>
<string name="title_scan">Scan</string>
<string name="apps_name">Aplication Name</string>
<string name="apps_name">Application Name</string>
<string name="app_status">Application Status</string>
<string name="app_malware">Malware Name</string>
<string name="detail">Detail</string>
<string name="nothing">Tidak Ada</string>
<string name="name">Name</string>
<string name="email">Email</string>
<string name="age">Age</string>
<string name="phone_number">PhoneNumber</string>
<string name="key_email">email</string>
<string name="key_age">age</string>
<string name="key_gender">Gender</string>
<string name="key_phone">phone</string>
<string name="key_name">name</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:iconSpaceReserved="true">
<EditTextPreference
android:key="@string/key_name"
android:selectAllOnFocus="true"
android:singleLine="true"
android:summary="@string/nothing"
android:title="@string/name"
app:icon="@drawable/ic_person_black_24dp"
app:iconSpaceReserved="true" />
<EditTextPreference
android:inputType="textEmailAddress"
android:key="@string/key_email"
android:selectAllOnFocus="true"
android:singleLine="true"
android:summary="@string/nothing"
android:title="@string/email"
app:icon="@drawable/ic_email_black_24dp"
app:iconSpaceReserved="true" />
<EditTextPreference
android:inputType="number"
android:key="@string/key_phone"
android:selectAllOnFocus="true"
android:singleLine="true"
android:summary="@string/nothing"
android:title="@string/phone_number"
app:icon="@drawable/ic_phone_android_black_24dp"
app:iconSpaceReserved="true" />
</PreferenceScreen>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment