Commit 384816a3 authored by android_sjl's avatar android_sjl

file manager select init

parents
Pipeline #1021 failed with stages
package com.zxhyis.tools.base
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.viewbinding.ViewBinding
import com.zxhyis.tools.logic.ActivityCollector
abstract class TopActivity<T : ViewBinding> : AppCompatActivity() {
lateinit var vb: T
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
ActivityCollector.addActivity(this)
vb = getViewBinding1()
setContentView(vb.root)
init()
}
abstract fun getViewBinding1(): T
abstract fun init()
override fun onDestroy() {
super.onDestroy()
ActivityCollector.removeActivity(this)
}
}
package com.zxhyis.tools.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.viewbinding.ViewBinding
abstract class TopFragment<T:ViewBinding> :Fragment(){
private var _binding: T? = null
protected val mK: T
get() = _binding!!
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
_binding = createBinding(inflater, container)
return mK.root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
abstract fun createBinding(inflater: LayoutInflater, container: ViewGroup?): T
}
\ No newline at end of file
package com.zxhyis.tools.logic
import android.app.Activity
import kotlin.system.exitProcess
object ActivityCollector {
private val activities = ArrayList<Activity>()
fun addActivity(activity: Activity?) {
activities.add(activity!!)
}
fun removeActivity(activity: Activity?) {
activities.remove(activity)
}
fun finishAll() {
for (activity in activities) {
if (!activity.isFinishing) {
activity.finish()
}
}
activities.clear()
exitProcess(0)
}
}
\ No newline at end of file
package com.zxhyis.tools.logic
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.view.View
import androidx.core.os.bundleOf
inline fun <reified T : Activity> Context.startActivity(vararg params: Pair<String, Any?>) {
val intent = Intent(this, T::class.java)
intent.putExtras(bundleOf(*params))
startActivity(intent)
}
fun View.setOnClick(action: () -> Unit) {
this.setOnClickListener { action() }
}
package com.zxhyis.tools.ui.home
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.zxhyis.tools.base.TopFragment
import com.zxhyis.tools.databinding.FragmentHomeBinding
class HomeFragment : TopFragment<FragmentHomeBinding>() {
override fun createBinding(
inflater: LayoutInflater,
container: ViewGroup?
): FragmentHomeBinding {
return FragmentHomeBinding.inflate(inflater,container,false)
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
mK.pb.setProgress(30f)
mK.pb.setProgressColor(0xFFFFFF)
mK.pb.setBackColor(0x52FFFFFF)
mK.pb.setStrokeWidth(8f)
}
}
\ No newline at end of file
package com.zxhyis.tools.ui.home
import androidx.fragment.app.Fragment
import androidx.viewpager2.adapter.FragmentStateAdapter
import androidx.viewpager2.widget.ViewPager2
import com.zxhyis.tools.R
import com.zxhyis.tools.base.TopActivity
import com.zxhyis.tools.databinding.ActivityMainBinding
class MainActivity : TopActivity<ActivityMainBinding>() {
private lateinit var f1: HomeFragment
private lateinit var f2: ViewFragment
private lateinit var f3: ToolFragment
override fun getViewBinding1(): ActivityMainBinding {
return ActivityMainBinding.inflate(layoutInflater)
}
override fun init() {
initBavAndVp2()
}
private fun initBavAndVp2() {
f1 = HomeFragment()
f2 = ViewFragment()
f3 = ToolFragment()
val fList = listOf(f1, f2, f3)
//配置vp2
vb.vp2.adapter = object : FragmentStateAdapter(this) {
override fun getItemCount(): Int = fList.size
override fun createFragment(position: Int): Fragment = fList[position]
}
vb.vp2.apply {
isUserInputEnabled=false
offscreenPageLimit=fList.size
currentItem=0
registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback(){
override fun onPageSelected(position: Int) {
super.onPageSelected(position)
when(position){
0 -> {
vb.bav.selectedItemId = R.id.bav1
}
1 -> {
vb.bav.selectedItemId = R.id.bav2
}
2-> {
vb.bav.selectedItemId = R.id.bav3
}
}
}
})
}
vb.bav.setOnItemSelectedListener { item ->
when (item.itemId) {
R.id.bav1 -> {
vb.vp2.currentItem = 0
true
}
R.id.bav2 -> {
vb.vp2.currentItem = 1
true
}
R.id.bav3 -> {
vb.vp2.currentItem = 2
true
}
else -> false
}
}
}
}
\ No newline at end of file
package com.zxhyis.tools.ui.home
import android.view.LayoutInflater
import android.view.ViewGroup
import com.zxhyis.tools.base.TopFragment
import com.zxhyis.tools.databinding.FragmentToolBinding
class ToolFragment : TopFragment<FragmentToolBinding>() {
override fun createBinding(
inflater: LayoutInflater,
container: ViewGroup?
): FragmentToolBinding {
return FragmentToolBinding.inflate(inflater,container,false)
}
}
\ No newline at end of file
package com.zxhyis.tools.ui.home
import android.view.LayoutInflater
import android.view.ViewGroup
import com.zxhyis.tools.base.TopFragment
import com.zxhyis.tools.databinding.FragmentViewBinding
class ViewFragment : TopFragment<FragmentViewBinding>() {
override fun createBinding(
inflater: LayoutInflater,
container: ViewGroup?
): FragmentViewBinding {
return FragmentViewBinding.inflate(inflater,container,false)
}
}
\ No newline at end of file
package com.zxhyis.tools.ui.view
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import android.util.AttributeSet
import android.view.View
import androidx.core.content.ContextCompat
import com.zxhyis.tools.R
import kotlin.math.min
class CircularPr (context: Context, attrs: AttributeSet) : View(context, attrs){
private var progressPaint: Paint = Paint(Paint.ANTI_ALIAS_FLAG)
private var backgroundPaint: Paint = Paint(Paint.ANTI_ALIAS_FLAG)
private var progress = 0f
private var maxProgress = 100f
private var progressColor = ContextCompat.getColor(context, R.color.main_color)
private var backgroundColor = ContextCompat.getColor(context, R.color.second_color)
private var strokeWidth = 20f
private var angle = 0f
private var rectF = RectF()
init {
progressPaint.color = progressColor
progressPaint.style = Paint.Style.STROKE
progressPaint.strokeWidth = strokeWidth
backgroundPaint.color = backgroundColor
backgroundPaint.style = Paint.Style.STROKE
backgroundPaint.strokeWidth = strokeWidth
}
override fun onDraw(canvas: Canvas) {
super.onDraw(canvas)
val centerX = width / 2f
val centerY = height / 2f
val radius = min(centerX, centerY) - strokeWidth / 2
rectF.set(centerX - radius, centerY - radius, centerX + radius, centerY + radius)
canvas.drawCircle(centerX, centerY, radius, backgroundPaint)
canvas.drawArc(rectF, -90f, angle, false, progressPaint)
}
fun setProgress(progress: Float) {
this.progress = progress
this.angle = 360 * progress / maxProgress
invalidate()
}
fun setMaxProgress(maxProgress: Float) {
this.maxProgress = maxProgress
}
fun setProgressColor(color: Int) {
this.progressColor = color
progressPaint.color = progressColor
invalidate()
}
fun setBackColor(color: Int) {
this.backgroundColor = color
backgroundPaint.color = backgroundColor
invalidate()
}
fun setStrokeWidth(width: Float) {
this.strokeWidth = width
progressPaint.strokeWidth = strokeWidth
backgroundPaint.strokeWidth = strokeWidth
invalidate()
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="166dp" android:height="79dp">
<shape android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners android:topLeftRadius="10dp" android:topRightRadius="10dp" android:bottomLeftRadius="10dp" android:bottomRightRadius="10dp" />
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="166dp" android:height="79dp">
<shape android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners android:topLeftRadius="15dp" android:topRightRadius="15dp" android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" />
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"><item android:width="5dp" android:height="14dp">
<shape android:shape="rectangle">
<solid android:color="#fffcad45" />
<corners android:topLeftRadius="3dp" android:topRightRadius="3dp" android:bottomLeftRadius="3dp" android:bottomRightRadius="3dp" />
</shape>
</item></selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="289dp" android:height="50dp">
<shape android:shape="rectangle">
<solid android:color="#ff4772ff" />
<corners android:topLeftRadius="25dp" android:topRightRadius="25dp" android:bottomLeftRadius="25dp" android:bottomRightRadius="25dp" />
</shape>
</item>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#4772FF" android:state_selected="true" />
<item android:color="#C3C3C3" android:state_selected="false" />
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F2F5FF"
tools:context=".ui.home.MainActivity">
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/vp2"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/bav"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:background="#fff"
app:itemIconSize="25dp"
app:itemIconTint="@drawable/bg_tv_selected"
app:itemTextColor="@drawable/bg_tv_selected"
app:menu="@menu/main_menu"
android:id="@+id/bav"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.home.ToolFragment">
<!-- TODO: Update blank fragment layout -->
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/hello_blank_fragment" />
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.home.ViewFragment">
<include
layout="@layout/layout_title"/>
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
android:layout_width="match_parent"
android:layout_height="50dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_back"
android:padding="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/iv_return"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tv_picture"
android:textColor="#ff000000"
android:textSize="19sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/tv_menu"
android:padding="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sheizhi"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
android:layout_width="match_parent"
android:layout_height="50dp">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/tv_picture"
android:textColor="#ff000000"
android:textSize="19sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:padding="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/sheizhi"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/bav1"
android:icon="@drawable/tab_home"
android:title="@string/tv_home" />
<item
android:id="@+id/bav2"
android:icon="@drawable/tab_view"
android:title="@string/tv_view" />
<item
android:id="@+id/bav3"
android:icon="@drawable/tab_tool"
android:title="@string/tv_tool" />
</menu>
\ No newline at end of file
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.FileManagerSelect" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your dark theme here. -->
<!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="main_color">#fff</color>
<color name="second_color">#52FFFFFF</color>
</resources>
\ No newline at end of file
<resources>
<string name="app_name">File Manager Select</string>
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
<string name="tv_home">Home</string>
<string name="tv_view">View</string>
<string name="tv_tool">Tool</string>
<string name="tv_picture">Picture</string>
</resources>
\ No newline at end of file
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.FileManagerSelect" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
</style>
<style name="Theme.FileManagerSelect" parent="Base.Theme.FileManagerSelect" />
<style name="Theme.top" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="colorPrimary">#fff</item>
<item name="colorPrimaryVariant">#fff</item>
<item name="colorOnPrimary">@color/white</item>
<item name="colorSecondary">#fff</item>
<item name="colorSecondaryVariant">#fff</item>
<item name="colorOnSecondary">@color/black</item>
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
</style>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment