Skip to content

Commit

Permalink
update map animation
Browse files Browse the repository at this point in the history
  • Loading branch information
annhienktuit committed Sep 14, 2021
1 parent 69b471c commit e1f856b
Show file tree
Hide file tree
Showing 6 changed files with 5,810 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
applicationId "com.annhienktuit.piggykeeper"
minSdkVersion 23
targetSdkVersion 30
versionCode 7
versionName "1.4"
versionCode 8
versionName "1.5"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
14 changes: 8 additions & 6 deletions app/src/main/res/layout/activity_map.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
</RelativeLayout>



<com.google.android.material.textfield.TextInputEditText
android:id="@+id/textViewBankName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:paddingLeft="20dp"
android:paddingBottom="10dp"
android:background="@drawable/edit_text_border"
android:hint="Enter Bank Name"/>
android:hint="Enter Bank Name"
android:minHeight="48dp"
android:paddingLeft="20dp"
android:paddingBottom="10dp" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
Expand Down Expand Up @@ -79,11 +79,13 @@
android:text="Your address: "
android:textColor="@color/black"
android:textStyle="bold"/>
<ImageView
<com.airbnb.lottie.LottieAnimationView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:src="@drawable/ic_mylocation"/>
app:lottie_rawRes="@raw/map_lottie"
app:lottie_autoPlay="true"
app:lottie_loop="true"/>

</LinearLayout>
14 changes: 6 additions & 8 deletions app/src/main/res/layout/fragment_current_month.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,19 @@

<com.anychart.AnyChartView
android:id="@+id/pieChartIncome"
android:layout_marginTop="20dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_width="match_parent"
android:layout_height="300dp"
/>
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp" />

<ProgressBar
android:id="@+id/progressIncomeBar"
android:indeterminate="true"
style="@style/Widget.MaterialComponents.CircularProgressIndicator"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true" />

</RelativeLayout>

Expand Down
7 changes: 4 additions & 3 deletions app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp" />

<ImageView
android:id="@+id/emptyImage"
android:layout_below="@+id/layout_recent"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_empty_2"/>
android:layout_below="@+id/layout_recent"
android:layout_centerHorizontal="true"
android:src="@drawable/ic_empty_2" />
<TextView
android:id="@+id/emptyText"
android:layout_width="match_parent"
Expand Down
Loading

0 comments on commit e1f856b

Please sign in to comment.