Compare commits

..

1 Commits

Author SHA1 Message Date
Jean-Baptiste
b561895579 [android] Use Material Cardview foreach item phone
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2026-01-02 21:35:23 +01:00
2 changed files with 11 additions and 10 deletions

View File

@@ -167,9 +167,6 @@ jobs:
concurrency: concurrency:
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
env:
# language wikis in order of speaker count from https://meta.wikimedia.org/wiki/List_of_Wikipedias_by_speakers_per_article
LANGUAGES: zh en es ar fr bn hi pt id ru de ja ha jv wuu ko te vi it
steps: steps:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:

View File

@@ -1,11 +1,16 @@
<androidx.constraintlayout.widget.ConstraintLayout <com.google.android.material.card.MaterialCardView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" style="@style/MwmWidget.M3.Editor.CardView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/height_item_oneline" android:layout_margin="@dimen/margin_half"
android:background="?clickableBackground" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_half" app:cardElevation="5dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_half"
android:background="?cardBackground"
android:paddingStart="@dimen/margin_half_plus" android:paddingStart="@dimen/margin_half_plus"
android:paddingEnd="@dimen/margin_half_plus"> android:paddingEnd="@dimen/margin_half_plus">
@@ -25,7 +30,6 @@
android:layout_marginStart="@dimen/margin_half" android:layout_marginStart="@dimen/margin_half"
android:layout_marginEnd="@dimen/margin_half" android:layout_marginEnd="@dimen/margin_half"
android:layout_toStartOf="@id/delete_icon" android:layout_toStartOf="@id/delete_icon"
android:textColorHint="?android:textColorSecondary"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/delete_icon" app:layout_constraintEnd_toStartOf="@+id/delete_icon"
app:layout_constraintStart_toEndOf="@+id/phone_icon" app:layout_constraintStart_toEndOf="@+id/phone_icon"
@@ -41,7 +45,6 @@
<com.google.android.material.imageview.ShapeableImageView <com.google.android.material.imageview.ShapeableImageView
android:id="@+id/delete_icon" android:id="@+id/delete_icon"
style="@style/MwmWidget.Editor.MetadataIcon" style="@style/MwmWidget.Editor.MetadataIcon"
android:layout_marginStart="@dimen/margin_half"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
@@ -49,3 +52,4 @@
app:srcCompat="@drawable/ic_delete" /> app:srcCompat="@drawable/ic_delete" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>