Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
Your Cashier
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ahmad Abi Mulya
Your Cashier
Commits
15dfc1de
Commit
15dfc1de
authored
Aug 24, 2020
by
Wahyu Wibowo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update gradle
parent
2187aa2d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
10 deletions
+32
-10
build.gradle
app/build.gradle
+20
-10
activity_cart.xml
app/src/main/res/layout/activity_cart.xml
+11
-0
strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/build.gradle
View file @
15dfc1de
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
android
{
android
{
compileSdkVersion
30
compileSdkVersion
29
buildToolsVersion
"30.0.2"
buildToolsVersion
"30.0.2"
defaultConfig
{
defaultConfig
{
applicationId
"com.example.yourcashiertest"
applicationId
"com.example.yourcashiertest"
minSdkVersion
23
minSdkVersion
23
targetSdkVersion
30
targetSdkVersion
29
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
...
@@ -33,15 +33,25 @@ android {
...
@@ -33,15 +33,25 @@ android {
dependencies
{
dependencies
{
implementation
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
implementation
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'androidx.appcompat:appcompat:1.2.0'
implementation
'com.google.android.material:material:1.2.0'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
implementation
'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation
'junit:junit:4.12'
def
room_version
=
"2.2.5"
implementation
"androidx.room:room-runtime:$room_version"
annotationProcessor
"androidx.room:room-compiler:$room_version"
def
lifecycle_version
=
"2.2.0"
implementation
"androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
implementation
"androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
def
glide_version
=
"4.11.0"
implementation
"com.github.bumptech.glide:glide:$glide_version"
annotationProcessor
"com.github.bumptech.glide:compiler:$glide_version"
testImplementation
'junit:junit:4.13'
androidTestImplementation
'androidx.test.ext:junit:1.1.1'
androidTestImplementation
'androidx.test.ext:junit:1.1.1'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.2.0'
implementation
"androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation
"androidx.lifecycle:lifecycle-common-java8:2.2.0"
implementation
'com.google.android.material:material:1.2.0'
implementation
"com.github.bumptech.glide:glide:4.11.0"
annotationProcessor
"com.github.bumptech.glide:compiler:4.11.0"
implementation
"androidx.room:room-runtime:2.2.5"
annotationProcessor
"androidx.room:room-compiler:2.2.5"
}
}
\ No newline at end of file
app/src/main/res/layout/activity_cart.xml
View file @
15dfc1de
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
tools:layout_editor_absoluteX=
"9dp"
/>
tools:layout_editor_absoluteX=
"9dp"
/>
<include
<include
android:id=
"@+id/include"
layout=
"@layout/cart_item"
layout=
"@layout/cart_item"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -88,5 +89,15 @@
...
@@ -88,5 +89,15 @@
app:layout_constraintTop_toBottomOf=
"@+id/view"
app:layout_constraintTop_toBottomOf=
"@+id/view"
app:layout_constraintVertical_bias=
"0.071"
/>
app:layout_constraintVertical_bias=
"0.071"
/>
<Button
android:id=
"@+id/button"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"@string/checkout"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/include"
app:layout_constraintVertical_bias=
"1.0"
tools:layout_editor_absoluteX=
"39dp"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
15dfc1de
...
@@ -16,4 +16,5 @@
...
@@ -16,4 +16,5 @@
<string
name=
"cash"
>
Cash
</string>
<string
name=
"cash"
>
Cash
</string>
<string
name=
"rp_500_000"
>
Rp. 500.000
</string>
<string
name=
"rp_500_000"
>
Rp. 500.000
</string>
<string
name=
"pay"
>
Pay
</string>
<string
name=
"pay"
>
Pay
</string>
<string
name=
"checkout"
>
Checkout
</string>
</resources>
</resources>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment