Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-194
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021–194
2021-194
Commits
72ddd0f0
Commit
72ddd0f0
authored
Jul 03, 2021
by
dananjayawickrama95@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project interfaces
parent
59248321
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
513 additions
and
0 deletions
+513
-0
app/src/main/res/layout/activity_maintainces.xml
app/src/main/res/layout/activity_maintainces.xml
+103
-0
app/src/main/res/layout/activity_predicted_mileage.xml
app/src/main/res/layout/activity_predicted_mileage.xml
+120
-0
app/src/main/res/layout/activity_predicted_suggestions.xml
app/src/main/res/layout/activity_predicted_suggestions.xml
+72
-0
app/src/main/res/layout/activity_prediction.xml
app/src/main/res/layout/activity_prediction.xml
+218
-0
No files found.
app/src/main/res/layout/activity_maintainces.xml
0 → 100644
View file @
72ddd0f0
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
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:fitsSystemWindows=
"true"
tools:context=
"com.appsnipp.education.Maintainces"
android:background=
"@color/profileBackground"
>
<android.support.design.widget.AppBarLayout
android:id=
"@+id/app_bar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:fitsSystemWindows=
"true"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
<android.support.design.widget.CollapsingToolbarLayout
android:id=
"@+id/toolbar_layout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:fitsSystemWindows=
"true"
app:contentScrim=
"@color/profilePrimaryDark"
app:layout_scrollFlags=
"scroll|exitUntilCollapsed"
app:toolbarId=
"@+id/toolbar"
app:expandedTitleMarginEnd=
"64dp"
app:expandedTitleMarginStart=
"48dp"
app:expandedTitleTextAppearance=
"@style/TransparentText"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:id=
"@+id/linearLayout"
android:background=
"@drawable/profile_bk"
>
<ImageView
android:id=
"@+id/vehiclechange"
android:layout_width=
"228dp"
android:layout_height=
"197dp"
android:src=
"@drawable/vp"
/>
<ImageButton
android:id=
"@+id/imageButton"
android:layout_width=
"wrap_content"
android:layout_height=
"24dp"
android:background=
"@drawable/add_circle"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"\Bugatti Chiron"
android:textSize=
"28dp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Last Maintaince: 2021/5/27"
android:textSize=
"12dp"
android:textStyle=
"bold"
/>
<RelativeLayout
android:id=
"@+id/BackToHome"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:layout_gravity=
"bottom"
android:layout_marginTop=
"20dp"
android:background=
"@color/profileBackground"
>
<View
android:layout_alignParentTop=
"true"
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
android:background=
"@drawable/profile_bk"
/>
<TextView
android:text=
"Back to\nHome"
style=
"@style/profileStyledBackButton12"
/>
</RelativeLayout>
</LinearLayout>
<android.support.v7.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
app:layout_collapseMode=
"pin"
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<include
layout=
"@layout/content_profile"
/>
</android.support.design.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/activity_predicted_mileage.xml
0 → 100644
View file @
72ddd0f0
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
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:fitsSystemWindows=
"true"
tools:context=
"com.appsnipp.education.PredictedMileage"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<android.support.design.widget.AppBarLayout
android:id=
"@+id/app_bar"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/form_app_bar_height"
android:background=
"@drawable/centre_background"
android:fitsSystemWindows=
"true"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
<android.support.design.widget.CollapsingToolbarLayout
android:id=
"@+id/toolbar_layout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:fitsSystemWindows=
"true"
app:contentScrim=
"?attr/colorPrimary"
app:layout_scrollFlags=
"scroll|exitUntilCollapsed"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/centre_background"
>
<ImageView
android:layout_width=
"401dp"
android:layout_height=
"189dp"
android:layout_below=
"@+id/textInputEmail"
android:layout_alignParentStart=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginStart=
"10dp"
android:layout_marginTop=
"7dp"
android:layout_marginEnd=
"0dp"
android:layout_marginRight=
"0dp"
android:layout_marginBottom=
"0dp"
android:adjustViewBounds=
"true"
android:cropToPadding=
"true"
android:src=
"@drawable/mileage"
/>
<android.support.design.widget.TextInputLayout
android:id=
"@+id/textInputEmail"
style=
"@style/parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentTop=
"true"
android:layout_marginTop=
"1dp"
android:background=
"@drawable/profile_back_button"
android:gravity=
"center"
android:rotationX=
"0"
android:rotationY=
"0"
>
<TextView
android:id=
"@+id/textView19"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center"
android:textColor=
"#E8526D"
android:text=
"Fill your Form"
android:textSize=
"40dp"
/>
</android.support.design.widget.TextInputLayout>
</RelativeLayout>
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<include
layout=
"@layout/vehicle_register_form"
/>
<include
layout=
"@layout/vehicle_register_form1"
/>
<include
layout=
"@layout/vehicle_register_form2"
/>
<!-- <RelativeLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent">-->
<!-- <Button-->
<!-- android:id="@+id/btnSendForm"-->
<!-- android:layout_width="100dp"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_alignParentTop="true"-->
<!-- android:layout_marginTop="30dp"-->
<!-- android:background="@drawable/centre_button"-->
<!-- android:text="Add"-->
<!-- android:textColor="@color/whiteTextColor"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintHorizontal_bias="0.87"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent" />-->
<!-- </RelativeLayout>-->
</LinearLayout>
</ScrollView>
</android.support.design.widget.CoordinatorLayout>
\ No newline at end of file
app/src/main/res/layout/activity_predicted_suggestions.xml
0 → 100644
View file @
72ddd0f0
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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"
tools:context=
".predicted_suggestions"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<LinearLayout
android:id=
"@+id/linearLayout2"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/centre_background"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/textView3"
android:layout_width=
"match_parent"
android:layout_height=
"93dp"
android:background=
"@drawable/centre_background"
android:gravity=
"center"
android:text=
"FILL YOUR FORM"
android:textColor=
"@color/whiteTextColor"
android:textSize=
"45sp"
tools:layout_conversion_absoluteHeight=
"73dp"
tools:layout_conversion_absoluteWidth=
"411dp"
tools:layout_editor_absoluteX=
"0dp"
tools:layout_editor_absoluteY=
"0dp"
/>
<ImageView
android:id=
"@+id/imageView4"
android:layout_width=
"248dp"
android:layout_height=
"210dp"
android:layout_gravity=
"center"
android:background=
"@drawable/centre_background"
android:src=
"@drawable/maintenance_suggessions"
tools:layout_conversion_absoluteHeight=
"251dp"
tools:layout_conversion_absoluteWidth=
"411dp"
tools:layout_editor_absoluteX=
"0dp"
tools:layout_editor_absoluteY=
"73dp"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<include
layout=
"@layout/vehicle_sugeestion_form"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"0dp"
android:layout_marginEnd=
"0dp"
tools:layout_conversion_absoluteHeight=
"407dp"
tools:layout_conversion_absoluteWidth=
"411dp"
tools:layout_editor_absoluteX=
"0dp"
tools:layout_editor_absoluteY=
"324dp"
/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
</android.support.constraint.ConstraintLayout>
\ No newline at end of file
app/src/main/res/layout/activity_prediction.xml
0 → 100644
View file @
72ddd0f0
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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"
tools:context=
".Prediction"
>
<ScrollView
android:id=
"@+id/scrollView2"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<RelativeLayout
android:layout_gravity=
"center"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<RelativeLayout
android:id=
"@+id/headerLayout"
android:layout_width=
"315dp"
android:layout_height=
"395dp"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:layout_marginStart=
"24dp"
android:layout_marginTop=
"69dp"
android:layout_marginEnd=
"32dp"
android:background=
"@drawable/reports_header_bk"
android:paddingLeft=
"20dp"
android:paddingTop=
"6dp"
android:paddingRight=
"20dp"
android:paddingBottom=
"20dp"
>
<TextView
android:id=
"@+id/salesHeaderTextView"
style=
"@style/reportContentText"
android:layout_width=
"335dp"
android:layout_height=
"67dp"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"45dp"
android:layout_marginEnd=
"0dp"
android:gravity=
"center"
android:text=
"@string/total_mileage"
android:textSize=
"40sp"
/>
<TextView
android:id=
"@+id/f89"
style=
"@style/viewParent.headerText"
android:layout_width=
"335dp"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/salesHeaderTextView"
android:layout_alignParentStart=
"true"
android:layout_alignParentEnd=
"true"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"15dp"
android:layout_marginEnd=
"0dp"
android:layout_marginBottom=
"70dp"
android:gravity=
"center"
android:text=
"@string/_15_290_km"
android:textColor=
"@color/whiteTextColor"
/>
<TextView
android:id=
"@+id/textView2"
android:layout_width=
"67dp"
android:layout_height=
"51dp"
android:layout_alignStart=
"@+id/progress_bar"
android:layout_alignBottom=
"@+id/progress_bar"
android:layout_marginStart=
"45dp"
android:layout_marginBottom=
"60dp"
android:gravity=
"center"
android:text=
"60%"
android:textSize=
"30dp"
/>
<ProgressBar
android:id=
"@+id/progress_bar"
style=
"@style/CircularDeterminateProgressBar"
android:layout_width=
"172dp"
android:layout_height=
"192dp"
android:layout_alignParentStart=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginStart=
"67dp"
android:layout_marginTop=
"-64dp"
android:layout_marginBottom=
"34dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:progress=
"60"
/>
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"120dp"
>
<include
android:id=
"@+id/includepredictedSugestions"
layout=
"@layout/predict_suggesstions"
android:layout_width=
"359dp"
android:layout_height=
"99dp"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginStart=
"22dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"30dp"
android:layout_marginBottom=
"1dp"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"120dp"
>
<include
android:id=
"@+id/includepredicted_mileage"
layout=
"@layout/predict_mileage"
android:layout_width=
"359dp"
android:layout_height=
"97dp"
android:layout_alignParentStart=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginStart=
"22dp"
android:layout_marginTop=
"20dp"
android:layout_marginEnd=
"30dp"
android:layout_marginBottom=
"3dp"
/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
<!-- <LinearLayout-->
<!-- android:id="@+id/cardLayout"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="320dp"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="@+id/headerLayout">-->
<!-- <android.support.v7.widget.CardView-->
<!-- style="@style/reportsCardStyle"-->
<!-- app:cardBackgroundColor="@color/whiteTextColor"-->
<!-- app:cardCornerRadius="16dp">-->
<!-- <LinearLayout-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_gravity="center"-->
<!-- android:orientation="vertical">-->
<!-- <TextView-->
<!-- android:id="@+id/this_month"-->
<!-- style="@style/reportContentText"-->
<!-- android:text="@string/this_month"-->
<!-- android:textColor="#79D0A3" />-->
<!-- <TextView-->
<!-- android:id="@+id/valuethismonth"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/km"-->
<!-- android:textColor="@color/black"-->
<!-- android:textSize="27sp"-->
<!-- android:textStyle="bold" />-->
<!-- </LinearLayout>-->
<!-- </android.support.v7.widget.CardView>-->
<!-- <android.support.v7.widget.CardView-->
<!-- style="@style/reportsCardStyle"-->
<!-- app:cardBackgroundColor="@color/whiteTextColor"-->
<!-- app:cardCornerRadius="16dp">-->
<!-- <LinearLayout-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_gravity="center"-->
<!-- android:orientation="vertical">-->
<!-- <TextView-->
<!-- style="@style/reportContentText"-->
<!-- android:text="@string/thisweekkm"-->
<!-- android:textColor="#79D0A3" />-->
<!-- <TextView-->
<!-- android:id="@+id/valuethisWeek"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/km"-->
<!-- android:textColor="@color/black"-->
<!-- android:textSize="27sp"-->
<!-- android:textStyle="bold" />-->
<!-- </LinearLayout>-->
<!-- </android.support.v7.widget.CardView>-->
<!-- </LinearLayout>-->
</android.support.constraint.ConstraintLayout>
\ 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