mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 11:22:12 +00:00
Add: Use Card for AppItem
Fix: Escape Apostrophi Update: Rounded Corner for App Item
This commit is contained in:
parent
5da839e072
commit
cc2650454a
@ -9,8 +9,8 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:' + versions.kotlin
|
|
||||||
classpath 'com.android.tools.build:gradle:7.0.3'
|
classpath 'com.android.tools.build:gradle:7.0.3'
|
||||||
|
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,6 +125,8 @@ dependencies {
|
|||||||
implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
|
implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
|
||||||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
|
||||||
implementation 'androidx.activity:activity-ktx:1.4.0-rc01'
|
implementation 'androidx.activity:activity-ktx:1.4.0-rc01'
|
||||||
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
|
||||||
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
|
||||||
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
|
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
|
||||||
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2'
|
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.2'
|
||||||
implementation 'com.github.topjohnwu.libsu:core:3.1.2'
|
implementation 'com.github.topjohnwu.libsu:core:3.1.2'
|
||||||
|
@ -229,7 +229,7 @@ abstract class ScreenActivity : FragmentActivity() {
|
|||||||
if (!packageName.isNullOrEmpty()) {
|
if (!packageName.isNullOrEmpty()) {
|
||||||
val fragment = currentFragment
|
val fragment = currentFragment
|
||||||
if (fragment !is ProductFragment || fragment.packageName != packageName) {
|
if (fragment !is ProductFragment || fragment.packageName != packageName) {
|
||||||
pushFragment(ProductFragment(packageName))
|
navigateProduct(packageName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="?android:attr/colorBackground"
|
android:background="?android:attr/colorBackground" />
|
||||||
android:layout_marginHorizontal="10dp" />
|
|
||||||
|
|
||||||
</com.looker.droidify.widget.FragmentLinearLayout>
|
</com.looker.droidify.widget.FragmentLinearLayout>
|
||||||
|
@ -1,13 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<com.google.android.material.card.MaterialCardView 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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="72dp"
|
android:layout_height="72dp"
|
||||||
android:background="?android:attr/selectableItemBackground"
|
android:layout_marginHorizontal="10dp"
|
||||||
|
app:cardBackgroundColor="@null"
|
||||||
|
app:cardCornerRadius="12dp"
|
||||||
|
app:cardElevation="0dp"
|
||||||
|
app:strokeColor="@null"
|
||||||
|
app:strokeWidth="0dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal">
|
||||||
android:paddingStart="14dp"
|
|
||||||
android:paddingEnd="16dp">
|
|
||||||
|
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
android:id="@+id/icon"
|
android:id="@+id/icon"
|
||||||
@ -56,4 +64,6 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</com.google.android.material.card.MaterialCardView>
|
@ -12,7 +12,7 @@
|
|||||||
<string name="application">Applicazioni</string>
|
<string name="application">Applicazioni</string>
|
||||||
<string name="application_not_found">Applicazione non trovata</string>
|
<string name="application_not_found">Applicazione non trovata</string>
|
||||||
<string name="author_email">Email autore</string>
|
<string name="author_email">Email autore</string>
|
||||||
<string name="author_website">Sito web dell'autore</string>
|
<string name="author_website">Sito web dell\'autore</string>
|
||||||
<string name="available">Disponibile</string>
|
<string name="available">Disponibile</string>
|
||||||
<string name="bug_tracker">Bug tracker</string>
|
<string name="bug_tracker">Bug tracker</string>
|
||||||
<string name="cancel">Annulla</string>
|
<string name="cancel">Annulla</string>
|
||||||
@ -65,7 +65,7 @@
|
|||||||
<string name="install">Installa</string>
|
<string name="install">Installa</string>
|
||||||
<string name="install_types">Tipi di installazione</string>
|
<string name="install_types">Tipi di installazione</string>
|
||||||
<string name="installed">Installato</string>
|
<string name="installed">Installato</string>
|
||||||
<string name="integrity_check_error_DESC">Impossibile verificare l'integrità</string>
|
<string name="integrity_check_error_DESC">Impossibile verificare l\'integrità</string>
|
||||||
<string name="invalid_address">Indirizzo non valido</string>
|
<string name="invalid_address">Indirizzo non valido</string>
|
||||||
<string name="invalid_fingerprint_format">Fingerprint in un formato non valido</string>
|
<string name="invalid_fingerprint_format">Fingerprint in un formato non valido</string>
|
||||||
<string name="invalid_metadata_error_DESC">Metadata non validi.</string>
|
<string name="invalid_metadata_error_DESC">Metadata non validi.</string>
|
||||||
@ -124,7 +124,7 @@
|
|||||||
applicazioni da repository senza firma.</string>
|
applicazioni da repository senza firma.</string>
|
||||||
<string name="requires_FORMAT">Richiede %s</string>
|
<string name="requires_FORMAT">Richiede %s</string>
|
||||||
<string name="root_permission">Installazione silenziosa</string>
|
<string name="root_permission">Installazione silenziosa</string>
|
||||||
<string name="root_permission_description">Permetti i permessi Root per abilitare l'installazione silenziosa</string>
|
<string name="root_permission_description">Permetti i permessi Root per abilitare l\'installazione silenziosa</string>
|
||||||
<string name="save">Salva</string>
|
<string name="save">Salva</string>
|
||||||
<string name="saving_details">Salvataggio dettagli</string>
|
<string name="saving_details">Salvataggio dettagli</string>
|
||||||
<string name="screenshots">Screenshots</string>
|
<string name="screenshots">Screenshots</string>
|
||||||
@ -163,7 +163,7 @@
|
|||||||
<string name="upstream_source_code_is_not_free">Codice sorgente aggiornato non libero</string>
|
<string name="upstream_source_code_is_not_free">Codice sorgente aggiornato non libero</string>
|
||||||
<string name="username">Nome utente</string>
|
<string name="username">Nome utente</string>
|
||||||
<string name="username_missing">Nome utente mancante</string>
|
<string name="username_missing">Nome utente mancante</string>
|
||||||
<string name="validation_index_error_DESC">L'indice non può essere convalidato</string>
|
<string name="validation_index_error_DESC">L\'indice non può essere convalidato</string>
|
||||||
<string name="version_FORMAT">Versione %s</string>
|
<string name="version_FORMAT">Versione %s</string>
|
||||||
<string name="versions">Versioni</string>
|
<string name="versions">Versioni</string>
|
||||||
<string name="waiting_to_start_download">In attesa di inizio del download</string>
|
<string name="waiting_to_start_download">In attesa di inizio del download</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user