UX: guardado automático en Opciones, buscador en selección de animes, flecha Atrás
Opts: spinners reparados (el label match_parent los colapsaba), sin botón Guardar — cada cambio persiste y reprograma la alarma al momento. AnimesSel: buscador arriba, filas de 56dp, fuera botón Volver. Todas las ventanas secundarias con flecha Atrás en el ActionBar (onSupportNavigateUp).
This commit is contained in:
1 parent
5c52ab91c4
commit
7d7918a50f
8 files changed
+183
-131
No files matched your search
@@ -16,6 +16,14 @@ class AboutActivity : AppCompatActivity(){
|
||||
super.onCreate(savedInstanceState)
|
||||
binding = ActivityAboutBinding.inflate(layoutInflater)
|
||||
setContentView(binding.root)
|
||||
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
}
|
||||
|
||||
/** Flecha Atrás del ActionBar */
|
||||
override fun onSupportNavigateUp(): Boolean {
|
||||
finish()
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,14 +1,18 @@
|
||||
package com.jkanetwork.st.frasesdeanime
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import android.text.Editable
|
||||
import android.text.TextWatcher
|
||||
import android.view.ViewGroup
|
||||
import android.widget.CheckBox
|
||||
import android.widget.ListView
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.jkanetwork.st.frasesdeanime.databinding.ActivityAnimesSelBinding
|
||||
|
||||
/**
|
||||
* Created by kprkpr on 25/07/17.
|
||||
* Help: https://www.youtube.com/watch?v=x-M1L6tcsLo
|
||||
* Layout DSL de Anko migrado a XML (activity_animes_sel.xml) + ViewBinding
|
||||
* Layout DSL de Anko migrado a XML + ViewBinding. Buscador superior (2026-10).
|
||||
*/
|
||||
class AnimesSelActivity : AppCompatActivity(){
|
||||
private lateinit var binding: ActivityAnimesSelBinding
|
||||
@@ -18,58 +22,68 @@ class AnimesSelActivity : AppCompatActivity(){
|
||||
binding = ActivityAnimesSelBinding.inflate(layoutInflater)
|
||||
setContentView(binding.root)
|
||||
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
|
||||
val db = SQLiteHelper(applicationContext) //Database connection
|
||||
|
||||
if (db.getAllAnimeSel()){ //If all selected
|
||||
binding.btnSel.setText("Deseleccionar todos")
|
||||
binding.btnSel.text = "Deseleccionar todos"
|
||||
}else{
|
||||
binding.btnSel.setText("Seleccionar todos")
|
||||
binding.btnSel.text = "Seleccionar todos"
|
||||
}
|
||||
|
||||
//Load ids and Names
|
||||
//Load ids, names and selection state
|
||||
val arrayIDs = db.getAllAnimeIDs()
|
||||
val arrayNames = db.getAllAnimeNames()
|
||||
val length = arrayIDs.size
|
||||
|
||||
//Init List of objets
|
||||
var listSel: List<Boolean> = (emptyList())
|
||||
var listNames: List<String> = (emptyList())
|
||||
for (i in 0..length -1){ //Load selected for every one and create list names/selected
|
||||
listSel += listOf(db.getAnimeSel(arrayIDs[i]))
|
||||
listNames += listOf(arrayNames[i])
|
||||
val listSel = ArrayList<Boolean>()
|
||||
val listNames = ArrayList<String>()
|
||||
for (i in 0..length -1){
|
||||
listSel.add(db.getAnimeSel(arrayIDs[i]))
|
||||
listNames.add(arrayNames[i])
|
||||
}
|
||||
|
||||
// Load adapter for view_list. CustomListAdapter class is in "CustomListAdapter.kt"
|
||||
binding.viewList.adapter = CustomListAdapter<String>({ listNames }) {
|
||||
index, listNames, view ->
|
||||
val checkBox = CheckBox(this)
|
||||
checkBox.text = listNames[index]
|
||||
checkBox.setOnClickListener { db.setAnimeSel(db.getIDAnimeFromName(listNames[index])) }
|
||||
checkBox.isChecked = listSel[index]
|
||||
checkBox.textSize = 18f
|
||||
checkBox.setPadding(0, dpToPx(6), 0, dpToPx(6))
|
||||
checkBox
|
||||
}
|
||||
// Adapter with search filter. CustomListAdapter class is in "CustomListAdapter.kt"
|
||||
val adapter = CustomListAdapter<String>(
|
||||
{ listNames },
|
||||
{ index, names, view ->
|
||||
val checkBox = CheckBox(this)
|
||||
checkBox.layoutParams = android.widget.AbsListView.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT, dpToPx(56))
|
||||
checkBox.text = names[index]
|
||||
checkBox.isChecked = listSel[index]
|
||||
checkBox.textSize = 18f
|
||||
checkBox.setPadding(dpToPx(16), 0, dpToPx(16), 0)
|
||||
checkBox.setOnClickListener {
|
||||
db.setAnimeSel(db.getIDAnimeFromName(names[index]))
|
||||
listSel[index] = !listSel[index]
|
||||
checkBox.isChecked = listSel[index]
|
||||
}
|
||||
checkBox
|
||||
})
|
||||
|
||||
binding.btnSel.setOnClickListener() {
|
||||
binding.viewList.adapter = adapter
|
||||
|
||||
binding.txtSearch.addTextChangedListener(object : TextWatcher {
|
||||
override fun afterTextChanged(s: Editable?) { adapter.filter(s?.toString() ?: "") }
|
||||
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
|
||||
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {}
|
||||
})
|
||||
|
||||
binding.btnSel.setOnClickListener {
|
||||
db.setAllAnimeSel()
|
||||
restartActivity(this)
|
||||
}
|
||||
|
||||
//"Return" to main
|
||||
binding.btnExit.setOnClickListener() {
|
||||
startActivity<MainActivity>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private fun dpToPx(dp: Int): Int =
|
||||
(dp * resources.displayMetrics.density).toInt()
|
||||
|
||||
/** On back go to main */
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onBackPressed() {
|
||||
startActivity<MainActivity>()
|
||||
/** Flecha Atrás del ActionBar */
|
||||
override fun onSupportNavigateUp(): Boolean {
|
||||
finish()
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,39 +1,47 @@
|
||||
package com.jkanetwork.st.frasesdeanime
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.BaseAdapter
|
||||
import android.widget.ListView
|
||||
import android.widget.CheckBox
|
||||
|
||||
/**
|
||||
* Created by kprkpr on 18/07/17.
|
||||
* CustomListAdapter for item with checkbox
|
||||
* 2026-10: soporte de filtro de búsqueda (los índices de la vista se mapean a los originales)
|
||||
*/
|
||||
|
||||
class CustomListAdapter<T>(itemFactory: () -> List<T>, viewFactory: Context.(index: Int, listNames: List<T>, view: View?) -> View): BaseAdapter() {
|
||||
val viewFactory = viewFactory
|
||||
val items: List<T> by lazy { itemFactory() }
|
||||
|
||||
/** Índices originales visibles tras el filtro (null = sin filtro) */
|
||||
private var visibleIndices: List<Int>? = null
|
||||
|
||||
/** Filtra los items por texto (insensible a mayúsculas, por toString) */
|
||||
fun filter(query: String) {
|
||||
visibleIndices = if (query.isBlank()) null
|
||||
else items.indices.filter { items[it].toString().contains(query, ignoreCase = true) }
|
||||
notifyDataSetChanged()
|
||||
}
|
||||
|
||||
private fun visiblePositionToOriginal(visiblePos: Int): Int =
|
||||
visibleIndices?.get(visiblePos) ?: visiblePos
|
||||
|
||||
override fun getView(index: Int, view: View?, viewGroup: ViewGroup?): View {
|
||||
return viewGroup!!.context.viewFactory(index, items, view)
|
||||
// index llega como posición VISIBLE; el viewFactory trabaja con índices ORIGINALES
|
||||
return viewGroup!!.context.viewFactory(visiblePositionToOriginal(index), items, view)
|
||||
}
|
||||
|
||||
override fun getCount(): Int {
|
||||
return items.size
|
||||
return visibleIndices?.size ?: items.size
|
||||
}
|
||||
|
||||
override fun getItem(index: Int): T {
|
||||
return items.get(index)
|
||||
return items[visiblePositionToOriginal(index)]
|
||||
}
|
||||
|
||||
override fun getItemId(index: Int): Long {
|
||||
|
||||
return (items.get(index) as Any).hashCode().toLong() + (index.toLong() * Int.MAX_VALUE)
|
||||
return (items[visiblePositionToOriginal(index)] as Any).hashCode().toLong() + (index.toLong() * Int.MAX_VALUE)
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,8 @@ class FavsActivity : AppCompatActivity(){
|
||||
binding = ActivityListBinding.inflate(layoutInflater)
|
||||
setContentView(binding.root)
|
||||
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
|
||||
val data = ArrayList<HashMap<String,String>>()
|
||||
val db = SQLiteHelper(applicationContext)
|
||||
val listIDFrases = db.getAllIDFavs()
|
||||
@@ -50,6 +52,12 @@ class FavsActivity : AppCompatActivity(){
|
||||
inflater.inflate(R.menu.menu_favsentence, menu)
|
||||
}
|
||||
|
||||
/** Flecha Atrás del ActionBar */
|
||||
override fun onSupportNavigateUp(): Boolean {
|
||||
finish()
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
override fun onContextItemSelected(item: MenuItem): Boolean {
|
||||
val info = item.getMenuInfo() as AdapterView.AdapterContextMenuInfo
|
||||
|
||||
@@ -3,29 +3,30 @@ package com.jkanetwork.st.frasesdeanime
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import android.content.Context
|
||||
import android.widget.ArrayAdapter
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.widget.ArrayAdapter
|
||||
import android.widget.AdapterView
|
||||
import android.os.Build
|
||||
import android.provider.Settings
|
||||
import java.util.*
|
||||
import android.app.NotificationManager
|
||||
import com.jkanetwork.st.frasesdeanime.databinding.ActivityOptsBinding
|
||||
|
||||
/**
|
||||
* Created by kprkpr on 30/08/17.
|
||||
* Guardado automático: cada cambio (checks, hora, minuto) se aplica al momento —
|
||||
* no hay botón "Guardar cambios".
|
||||
*/
|
||||
class OptsActivity : AppCompatActivity(){
|
||||
|
||||
private lateinit var binding: ActivityOptsBinding
|
||||
lateinit var P: Prefs
|
||||
|
||||
val cont = this
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
binding = ActivityOptsBinding.inflate(layoutInflater)
|
||||
setContentView(R.layout.activity_opts)
|
||||
setContentView(binding.root)
|
||||
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
|
||||
P = Prefs(applicationContext)
|
||||
|
||||
@@ -39,8 +40,8 @@ class OptsActivity : AppCompatActivity(){
|
||||
minutes.add(i)
|
||||
}
|
||||
|
||||
var hoursAdapter = ArrayAdapter(this,android.R.layout.simple_list_item_1,hours)
|
||||
var minutesAdapter = ArrayAdapter(this,android.R.layout.simple_list_item_1,minutes)
|
||||
val hoursAdapter = ArrayAdapter(this,android.R.layout.simple_list_item_1,hours)
|
||||
val minutesAdapter = ArrayAdapter(this,android.R.layout.simple_list_item_1,minutes)
|
||||
|
||||
hoursAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
minutesAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
@@ -51,70 +52,89 @@ class OptsActivity : AppCompatActivity(){
|
||||
binding.spinnerHour.setSelection(P.getHour())
|
||||
binding.spinnerMinute.setSelection(P.getMinute())
|
||||
|
||||
binding.chkAlarm.setChecked(P.getNotifOn())
|
||||
binding.chkPersistent.setChecked(P.getPersNotifOn())
|
||||
binding.chkAlarm.isChecked = P.getNotifOn()
|
||||
binding.chkPersistent.isChecked = P.getPersNotifOn()
|
||||
|
||||
setEnabledParts()
|
||||
|
||||
/* Button listeners */
|
||||
binding.chkAlarm.setOnClickListener() {
|
||||
/* Guardado automático en cada interacción */
|
||||
binding.chkAlarm.setOnCheckedChangeListener { _, _ ->
|
||||
setEnabledParts()
|
||||
saveAndApply()
|
||||
}
|
||||
binding.chkPersistent.setOnClickListener() {
|
||||
binding.chkPersistent.setOnCheckedChangeListener { _, _ ->
|
||||
setEnabledParts()
|
||||
saveAndApply()
|
||||
}
|
||||
|
||||
binding.btnSaveNotif.setOnClickListener() {
|
||||
|
||||
P.setHour(binding.spinnerHour.getSelectedItem().toString().toInt())
|
||||
P.setMinute(binding.spinnerMinute.getSelectedItem().toString().toInt())
|
||||
|
||||
P.setNotifOn(binding.chkAlarm.isChecked())
|
||||
P.setPersNotifOn(binding.chkPersistent.isChecked())
|
||||
|
||||
val nm = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
||||
nm.cancel(1); //Cancel notif before service going on, for persistent notification problems
|
||||
putAlarm(this)
|
||||
if (binding.chkPersistent.isChecked() && binding.chkAlarm.isChecked()) {
|
||||
// Disparar la notificación persistente vía broadcast (AlarmNotif es un receiver, no un service)
|
||||
sendBroadcast(Intent(this, AlarmNotif::class.java))
|
||||
binding.spinnerHour.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
|
||||
override fun onItemSelected(parent: AdapterView<*>?, view: android.view.View?, position: Int, id: Long) {
|
||||
// onItemSelected también salta al fijar la selección inicial; solo guardar cambios reales
|
||||
if (position != P.getHour()) saveAndApply()
|
||||
}
|
||||
|
||||
/* Si la alarma queda activa pero no hay permiso de notificaciones (Android 13+),
|
||||
el diálogo del sistema ya no se mostrará (2 denegaciones): ofrecer los ajustes */
|
||||
if (binding.chkAlarm.isChecked() && Build.VERSION.SDK_INT >= 33 &&
|
||||
checkSelfPermission(android.Manifest.permission.POST_NOTIFICATIONS) != android.content.pm.PackageManager.PERMISSION_GRANTED) {
|
||||
androidx.appcompat.app.AlertDialog.Builder(this)
|
||||
.setTitle("Notificaciones desactivadas")
|
||||
.setMessage("Sin el permiso de notificaciones no podrás recibir la frase diaria.\n¿Quieres activarlas en los ajustes del sistema?")
|
||||
.setPositiveButton("Abrir ajustes") { _, _ ->
|
||||
startActivity(Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS).apply {
|
||||
putExtra(Settings.EXTRA_APP_PACKAGE, packageName)
|
||||
})
|
||||
}
|
||||
.setNegativeButton("Ahora no") { _, _ -> }
|
||||
.show()
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {}
|
||||
}
|
||||
binding.spinnerMinute.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
|
||||
override fun onItemSelected(parent: AdapterView<*>?, view: android.view.View?, position: Int, id: Long) {
|
||||
if (position != P.getMinute()) saveAndApply()
|
||||
}
|
||||
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {}
|
||||
}
|
||||
}
|
||||
|
||||
/** Guarda prefs y reprograma la alarma. Se llama tras cada cambio. */
|
||||
private fun saveAndApply() {
|
||||
P.setHour(binding.spinnerHour.selectedItem.toString().toInt())
|
||||
P.setMinute(binding.spinnerMinute.selectedItem.toString().toInt())
|
||||
P.setNotifOn(binding.chkAlarm.isChecked)
|
||||
P.setPersNotifOn(binding.chkPersistent.isChecked)
|
||||
|
||||
val nm = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
||||
nm.cancel(1) //Cancel notif before service going on, for persistent notification problems
|
||||
putAlarm(this)
|
||||
if (binding.chkPersistent.isChecked && binding.chkAlarm.isChecked) {
|
||||
// Disparar la notificación persistente vía broadcast (AlarmNotif es un receiver, no un service)
|
||||
sendBroadcast(Intent(this, AlarmNotif::class.java))
|
||||
}
|
||||
toast("Guardado")
|
||||
|
||||
/* Si la alarma queda activa pero no hay permiso de notificaciones (Android 13+),
|
||||
el diálogo del sistema ya no se mostrará (2 denegaciones): ofrecer los ajustes */
|
||||
if (binding.chkAlarm.isChecked && Build.VERSION.SDK_INT >= 33 &&
|
||||
checkSelfPermission(android.Manifest.permission.POST_NOTIFICATIONS) != android.content.pm.PackageManager.PERMISSION_GRANTED) {
|
||||
androidx.appcompat.app.AlertDialog.Builder(this)
|
||||
.setTitle("Notificaciones desactivadas")
|
||||
.setMessage("Sin el permiso de notificaciones no podrás recibir la frase diaria.\n¿Quieres activarlas en los ajustes del sistema?")
|
||||
.setPositiveButton("Abrir ajustes") { _, _ ->
|
||||
startActivity(Intent(Settings.ACTION_APP_NOTIFICATION_SETTINGS).apply {
|
||||
putExtra(Settings.EXTRA_APP_PACKAGE, packageName)
|
||||
})
|
||||
}
|
||||
.setNegativeButton("Ahora no") { _, _ -> }
|
||||
.show()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onSupportNavigateUp(): Boolean {
|
||||
finish()
|
||||
return true
|
||||
}
|
||||
|
||||
fun setEnabledParts() {
|
||||
if (binding.chkAlarm.isChecked()) {
|
||||
binding.chkPersistent.setEnabled(true)
|
||||
if (binding.chkAlarm.isChecked) {
|
||||
binding.chkPersistent.isEnabled = true
|
||||
/* This other checks is chk_persistent checked dependent */
|
||||
if (binding.chkPersistent.isChecked()) {
|
||||
binding.spinnerHour.setEnabled(false)
|
||||
binding.spinnerMinute.setEnabled(false)
|
||||
if (binding.chkPersistent.isChecked) {
|
||||
binding.spinnerHour.isEnabled = false
|
||||
binding.spinnerMinute.isEnabled = false
|
||||
} else {
|
||||
binding.spinnerHour.setEnabled(true)
|
||||
binding.spinnerMinute.setEnabled(true)
|
||||
binding.spinnerHour.isEnabled = true
|
||||
binding.spinnerMinute.isEnabled = true
|
||||
}
|
||||
} else {
|
||||
binding.chkPersistent.setEnabled(false)
|
||||
binding.spinnerHour.setEnabled(false)
|
||||
binding.spinnerMinute.setEnabled(false)
|
||||
binding.chkPersistent.isEnabled = false
|
||||
binding.spinnerHour.isEnabled = false
|
||||
binding.spinnerMinute.isEnabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,29 +4,32 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
<EditText
|
||||
android:id="@+id/txt_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:hint="Buscar anime..."
|
||||
android:imeOptions="actionSearch"
|
||||
android:inputType="text"
|
||||
android:maxLines="1" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_exit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Volver" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_sel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Seleccionar todos" />
|
||||
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/btn_sel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:text="Seleccionar todos" />
|
||||
|
||||
<ListView
|
||||
android:id="@+id/view_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
android:layout_height="match_parent"
|
||||
android:dividerHeight="8dp"
|
||||
android:divider="#00000000" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -22,25 +22,23 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layoutWhen"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_when"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="12dp"
|
||||
android:text="Cuando mostrar:"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinnerHour"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:dropDownWidth="80dp" />
|
||||
@@ -51,26 +49,19 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_weight="0.02"
|
||||
android:text=":"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="18sp" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinnerMinute"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_weight="1"
|
||||
android:dropDownWidth="80dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_SaveNotif"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:text="Guardar cambios" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imgBackground"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#Mon Oct 12 11:17:46 CEST 2026
|
||||
VERSION_CODE=1368
|
||||
#Mon Oct 12 11:30:29 CEST 2026
|
||||
VERSION_CODE=1370
|
||||
Reference in new issue
Block a user