Revert "v1.8 : le bouton d'envoi devient le badge illustré « Envoyer ma position »"
This reverts commit dbc7456ae4.
This commit is contained in:
parent
dbc7456ae4
commit
bc0a860f2c
5 changed files with 52 additions and 7 deletions
|
|
@ -23,8 +23,8 @@ android {
|
||||||
applicationId = "com.example.maposition"
|
applicationId = "com.example.maposition"
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 9
|
versionCode = 8
|
||||||
versionName = "1.8"
|
versionName = "1.7"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 300 KiB |
|
|
@ -18,6 +18,26 @@
|
||||||
<solid android:color="#304A9DFF" />
|
<solid android:color="#304A9DFF" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
|
<!-- Sphère -->
|
||||||
|
<item
|
||||||
|
android:bottom="18dp"
|
||||||
|
android:left="18dp"
|
||||||
|
android:right="18dp"
|
||||||
|
android:top="18dp">
|
||||||
|
<shape android:shape="oval">
|
||||||
|
<gradient
|
||||||
|
android:type="radial"
|
||||||
|
android:centerX="0.33"
|
||||||
|
android:centerY="0.25"
|
||||||
|
android:gradientRadius="190dp"
|
||||||
|
android:startColor="#5FB0FF"
|
||||||
|
android:centerColor="#1E63C8"
|
||||||
|
android:endColor="#082B66" />
|
||||||
|
<stroke
|
||||||
|
android:width="2dp"
|
||||||
|
android:color="#8CFFFFFF" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
</item>
|
</item>
|
||||||
</ripple>
|
</ripple>
|
||||||
|
|
|
||||||
9
app/src/main/res/drawable/ic_globe.xml
Normal file
9
app/src/main/res/drawable/ic_globe.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM11,19.93c-3.95,-0.49 -7,-3.85 -7,-7.93 0,-0.62 0.08,-1.21 0.21,-1.79L9,15v1c0,1.1 0.9,2 2,2v1.93zM17.9,17.39c-0.26,-0.81 -1,-1.39 -1.9,-1.39h-1v-3c0,-0.55 -0.45,-1 -1,-1L8,12v-2h2c0.55,0 1,-0.45 1,-1L11,7h2c1.1,0 2,-0.9 2,-2v-0.41c2.93,1.19 5,4.06 5,7.41 0,2.08 -0.8,3.97 -2.1,5.39z" />
|
||||||
|
</vector>
|
||||||
|
|
@ -38,11 +38,27 @@
|
||||||
app:layout_constraintVertical_bias="0.75">
|
app:layout_constraintVertical_bias="0.75">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="196dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="196dp"
|
||||||
android:layout_margin="16dp"
|
android:layout_gravity="center"
|
||||||
android:contentDescription="@string/send_button"
|
android:alpha="0.30"
|
||||||
android:src="@drawable/globe_badge" />
|
android:importantForAccessibility="no"
|
||||||
|
android:src="@drawable/ic_globe" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:gravity="center"
|
||||||
|
android:letterSpacing="0.08"
|
||||||
|
android:lineSpacingExtra="4dp"
|
||||||
|
android:shadowColor="#99000000"
|
||||||
|
android:shadowDy="2"
|
||||||
|
android:shadowRadius="8"
|
||||||
|
android:text="@string/send_button"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="17sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue