Commit 144f63e4 authored by iman Fauzi's avatar iman Fauzi

fix logo

parent 1649ce58
......@@ -12,9 +12,9 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher_new_icon"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_new_icon"
android:supportsRtl="true"
android:theme="@style/AppTheme.appbar">
<activity android:name=".InvoiceActivity"></activity>
......
......@@ -94,12 +94,12 @@ public class ProductModels<T> {
@BindingAdapter("path")
public static void setPathImage(ImageView view, String path) {
if (TextUtils.isEmpty(path)) view.setImageResource(R.mipmap.ic_launcher_round);
if (TextUtils.isEmpty(path)) view.setImageResource(R.drawable.ic_meser_create);
else {
File file = new File(path);
if (file.exists()) Glide.with(view).load(file).into(view);
else view.setImageResource(R.mipmap.ic_launcher_round);
else view.setImageResource(R.drawable.ic_meser_create);
}
}
}
<vector android:height="167.33978dp" android:viewportHeight="42.76"
android:viewportWidth="63.882" android:width="250dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@color/colorPrimary" android:pathData="M8.5,28.182m-8.5,0a8.5,8.5 0,1 1,17 0a8.5,8.5 0,1 1,-17 0"/>
<path android:fillColor="@color/colorPrimary" android:pathData="M40.9464,5.0349L59.6642,27.3332A6.5737,6.5737 94.989,0 1,58.8557 36.5945L58.8557,36.5945A6.5737,6.5737 94.989,0 1,49.5943 35.7861L30.8766,13.4878A6.5737,6.5737 94.989,0 1,31.6851 4.2264L31.6851,4.2264A6.5737,6.5737 94.989,0 1,40.9464 5.0349z"/>
<path android:fillColor="@color/colorPrimary" android:pathData="M21.5654,6.9739L40.2832,29.2722A6.5737,6.5737 94.989,0 1,39.4747 38.5335L39.4747,38.5335A6.5737,6.5737 94.989,0 1,30.2133 37.7251L11.4956,15.4268A6.5737,6.5737 94.989,0 1,12.3041 6.1654L12.3041,6.1654A6.5737,6.5737 94.989,0 1,21.5654 6.9739z"/>
</vector>
......@@ -50,7 +50,7 @@
android:layout_height="160dp"
android:scaleType="centerCrop"
app:path="@{photo}"
android:src="@mipmap/ic_launcher_round" />
android:src="@drawable/ic_meser_create" />
</com.google.android.material.card.MaterialCardView>
......
......@@ -43,7 +43,7 @@
android:id="@+id/image_product"
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@mipmap/ic_launcher_round"
android:src="@mipmap/ic_meser_icon"
app:layout_constraintTop_toTopOf="parent"
app:url="@{image}"
android:scaleType="fitXY"/>
......
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