added displaying all locations upon stopping the route
This commit is contained in:
12
app/src/main/res/drawable-anydpi/ic_stop_icon.xml
Normal file
12
app/src/main/res/drawable-anydpi/ic_stop_icon.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="#333333"
|
||||
android:alpha="0.6">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M8,16h8V8H8V16zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10s10,-4.48 10,-10S17.52,2 12,2L12,2z"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
BIN
app/src/main/res/drawable-hdpi/ic_stop_icon.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_stop_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 318 B |
BIN
app/src/main/res/drawable-mdpi/ic_stop_icon.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_stop_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 213 B |
BIN
app/src/main/res/drawable-xhdpi/ic_stop_icon.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_stop_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 416 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_stop_icon.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_stop_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 552 B |
@@ -27,6 +27,17 @@
|
||||
android:src="@drawable/ic_baseline_outlined_flag_24"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/home_stop_route_button"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/location_list_button"
|
||||
android:backgroundTint="@color/secondaryColour"
|
||||
android:src="@drawable/ic_stop_icon"/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -17,4 +17,5 @@
|
||||
<string name="coupons_gespaard">Coupons gespaard:</string>
|
||||
<string name="coupons">Coupons</string>
|
||||
<string name="start_route">Start Route</string>
|
||||
<string name="route_stop_toast">Route stopped!</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user