修改字体样式,接入applist
This commit is contained in:
parent
aa06fc263f
commit
eb2be3b735
@ -2,16 +2,21 @@ package com.xyzshell.myphoneinfo.adapter
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.graphics.drawable.Drawable
|
||||
import android.util.Log
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.xyzshell.andinfo.libs.AppDetails
|
||||
import com.xyzshell.myphoneinfo.databinding.ItemAppListBinding
|
||||
|
||||
|
||||
class AppListAdapter: RecyclerView.Adapter<AppListAdapter.ListViewHolder>() {
|
||||
private lateinit var context: Context
|
||||
private lateinit var listener: OnShowDialogListener
|
||||
|
||||
private var list: List<AppDetails> = emptyList()
|
||||
override fun onCreateViewHolder(
|
||||
parent: ViewGroup,
|
||||
viewType: Int
|
||||
@ -25,26 +30,29 @@ class AppListAdapter: RecyclerView.Adapter<AppListAdapter.ListViewHolder>() {
|
||||
holder: ListViewHolder,
|
||||
position: Int
|
||||
) {
|
||||
holder.binding.tvName.text = list[position].appName
|
||||
holder.binding.tvNum.text = list[position].packageName
|
||||
holder.binding.ivIcon.setImageDrawable(list[position].icon as Drawable)
|
||||
holder.binding.view.setOnClickListener {
|
||||
listener.onShowAppSelectDialog()
|
||||
listener.onShowAppSelectDialog(list[position])
|
||||
}
|
||||
// if(position==itemCount-1){
|
||||
// holder.binding.view2.visibility=View.VISIBLE
|
||||
// }else{
|
||||
// holder.binding.view2.visibility=View.GONE
|
||||
// }
|
||||
|
||||
}
|
||||
fun setOnclickListener(listener: OnShowDialogListener) {
|
||||
this.listener = listener
|
||||
}
|
||||
fun setList(list :List<AppDetails>){
|
||||
this.list = list
|
||||
notifyDataSetChanged()
|
||||
}
|
||||
|
||||
override fun getItemCount(): Int {
|
||||
return 13
|
||||
return list.size
|
||||
}
|
||||
|
||||
class ListViewHolder(val binding: ItemAppListBinding): RecyclerView.ViewHolder(binding.root)
|
||||
interface OnShowDialogListener {
|
||||
fun onShowAppSelectDialog()
|
||||
fun onShowAppSelectDialog(item:AppDetails)
|
||||
}
|
||||
|
||||
}
|
||||
@ -8,6 +8,8 @@ import android.os.Build
|
||||
import android.util.Log
|
||||
import androidx.core.app.ActivityCompat
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.xyzshell.andinfo.AndInfo
|
||||
import com.xyzshell.andinfo.libs.PermissionInfo
|
||||
|
||||
object PermissionChecker {
|
||||
/**
|
||||
@ -19,38 +21,8 @@ object PermissionChecker {
|
||||
permission
|
||||
) == PackageManager.PERMISSION_GRANTED
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查Wi-Fi权限
|
||||
*/
|
||||
fun hasWifiPermission(context: Context): Boolean {
|
||||
val permissions = mutableListOf(Manifest.permission.ACCESS_WIFI_STATE)
|
||||
|
||||
// Android 10+ 需要位置权限
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.Q) {
|
||||
permissions.add(Manifest.permission.ACCESS_FINE_LOCATION)
|
||||
}
|
||||
|
||||
return permissions.all { hasPermission(context, it) }
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查电话权限
|
||||
*/
|
||||
fun hasPhonePermission(context: Context): Boolean {
|
||||
return hasPermission(context, Manifest.permission.READ_PHONE_STATE)
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查所有权限
|
||||
*/
|
||||
// fun hasWifiAndPhonePermissions(context: Context): Boolean {
|
||||
// return hasWifiPermission(context) && hasPhonePermission(context)
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* 获取缺少的权限列表
|
||||
* 获取network缺少的权限列表
|
||||
*/
|
||||
fun getMissingPermissions(context: Context): List<String> {
|
||||
val permissions = mutableListOf<String>()
|
||||
@ -73,6 +45,7 @@ object PermissionChecker {
|
||||
Log.d("PermissionChecker", "missingPermissions: $permissions")
|
||||
return permissions
|
||||
}
|
||||
|
||||
fun requestSimple(
|
||||
activity: Activity,
|
||||
onGranted: () -> Unit = {},
|
||||
|
||||
@ -7,6 +7,8 @@ import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.xyzshell.andinfo.AndInfo
|
||||
import com.xyzshell.andinfo.libs.AppDetails
|
||||
import com.xyzshell.myphoneinfo.R
|
||||
import com.xyzshell.myphoneinfo.adapter.AppListAdapter
|
||||
import com.xyzshell.myphoneinfo.databinding.FragmentAppsBinding
|
||||
@ -30,6 +32,9 @@ class AppsFragment : Fragment(),AppListAdapter.OnShowDialogListener {
|
||||
// Inflate the layout for this fragment
|
||||
binding = FragmentAppsBinding.inflate(inflater, container, false)
|
||||
val adapter= AppListAdapter()
|
||||
val installedApps = AndInfo.instance.app.getInstalledApps()
|
||||
val userSize=installedApps.size
|
||||
adapter.setList(installedApps)
|
||||
adapter.setOnclickListener(this)
|
||||
binding.recyclerView.adapter = adapter
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||
@ -37,10 +42,10 @@ class AppsFragment : Fragment(),AppListAdapter.OnShowDialogListener {
|
||||
bottomDialog= BottomDialogFragment(type = "apps", sel = sel, invoke = {item->
|
||||
sel = item
|
||||
binding.tvTitle.text=when(item){
|
||||
0 -> "User(23)"
|
||||
0 -> "User$userSize"
|
||||
1 -> "System(23)"
|
||||
2 -> "All(23)"
|
||||
else -> "User"
|
||||
else -> "None"
|
||||
}
|
||||
})
|
||||
Log.d("sel", sel.toString())
|
||||
@ -60,8 +65,9 @@ class AppsFragment : Fragment(),AppListAdapter.OnShowDialogListener {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onShowAppSelectDialog() {
|
||||
override fun onShowAppSelectDialog(item: AppDetails) {
|
||||
dialogFragment = AppDialogFragment()
|
||||
|
||||
dialogFragment.show(requireActivity().supportFragmentManager, "AppDialogFragment")
|
||||
}
|
||||
}
|
||||
@ -19,7 +19,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/does_everything"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginBottom="28dp"
|
||||
/>
|
||||
@ -29,7 +29,7 @@
|
||||
android:layout_marginBottom="18dp"
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/yes"
|
||||
@ -37,7 +37,7 @@
|
||||
android:paddingHorizontal="42dp"
|
||||
android:background="@drawable/is_working_btn" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/no"
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
android:text="@string/cpu_status"
|
||||
android:textStyle="normal"
|
||||
android:layout_marginStart="5dp"
|
||||
style="@style/TextTool25"/>
|
||||
style="@style/TextHeavy20"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="1dp"
|
||||
@ -70,7 +70,7 @@
|
||||
android:id="@+id/pop_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/first_cluster"/>
|
||||
<ImageView
|
||||
@ -88,7 +88,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/reset"
|
||||
android:textStyle="bold"
|
||||
style="@style/TextDialogLabel"/>
|
||||
style="@style/LeftContent"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -106,7 +106,7 @@
|
||||
android:textStyle="normal"
|
||||
android:layout_marginStart="19dp"
|
||||
android:layout_marginTop="16dp"
|
||||
style="@style/TextBtnTitle"/>
|
||||
style="@style/LeftContent"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
android:text="@string/accelerometer"
|
||||
android:textStyle="normal"
|
||||
android:layout_marginStart="5dp"
|
||||
style="@style/TextTool25"/>
|
||||
style="@style/TextHeavy20"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
android:id="@+id/textMore1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/metric_units"/>
|
||||
</LinearLayout>
|
||||
@ -53,7 +53,7 @@
|
||||
android:id="@+id/textMore2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/reset_"/>
|
||||
</LinearLayout>
|
||||
@ -80,7 +80,7 @@
|
||||
android:id="@+id/textMore3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/export"/>
|
||||
</LinearLayout>
|
||||
@ -102,7 +102,7 @@
|
||||
android:id="@+id/textMore4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/share"/>
|
||||
</LinearLayout>
|
||||
@ -124,7 +124,7 @@
|
||||
android:id="@+id/textMore5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/faq"/>
|
||||
</LinearLayout>
|
||||
@ -146,7 +146,7 @@
|
||||
android:id="@+id/textMore6"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/about"/>
|
||||
</LinearLayout>
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
android:text="@string/temperatures"
|
||||
android:textStyle="normal"
|
||||
android:layout_marginStart="5dp"
|
||||
style="@style/TextTool25"/>
|
||||
style="@style/TextHeavy20"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/reset"
|
||||
style="@style/TextTool21"/>
|
||||
style="@style/LeftContent"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
android:id="@+id/main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#EDEDED"
|
||||
android:background="@color/background_color"
|
||||
tools:context=".dashboard.TestOtherActivity">
|
||||
<LinearLayout
|
||||
android:id="@+id/top_bar"
|
||||
@ -34,8 +34,10 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/flashlight"
|
||||
android:textStyle="normal"
|
||||
android:textSize="18sp"
|
||||
android:layout_marginStart="5dp"
|
||||
style="@style/TextTool25"/>
|
||||
android:textColor="@color/black"
|
||||
style="@style/TextHeavy20"/>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
@ -59,11 +61,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/press_each"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginTop="20dp"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintTop_toBottomOf="@+id/icon"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/backLight"
|
||||
@ -92,8 +96,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/slide_to_adjust"
|
||||
android:textColor="@color/right_color"
|
||||
style="@style/TextSecondaryTitle"
|
||||
android:textColor="@color/black"
|
||||
style="@style/TextHeavy20"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginTop="18dp" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -111,8 +116,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="313.0 lx"
|
||||
android:textStyle="normal"
|
||||
style="@style/TextSecondaryTitle"
|
||||
android:textSize="59sp"
|
||||
style="@style/TextHeavy20"
|
||||
android:textSize="48sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@ -128,18 +133,20 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Min:"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/sensorMin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="184.0 lx"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -152,18 +159,20 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Avg:"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/sensorAvg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="184.0 lx"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -176,18 +185,20 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Max:"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/sensorMax"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="184.0 lx"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/left_color"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
@ -209,7 +220,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5.0 cm"
|
||||
android:textStyle="normal"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textSize="59sp"
|
||||
/>
|
||||
<LinearLayout
|
||||
@ -220,7 +231,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/status_1"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
/>
|
||||
@ -229,7 +240,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Far"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
/>
|
||||
@ -239,7 +250,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/cover_the_top"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textStyle="normal"
|
||||
android:textColor="@color/right_color"
|
||||
/>
|
||||
@ -260,7 +271,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/is_it_working"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/right_color"
|
||||
android:layout_marginBottom="28dp"
|
||||
/>
|
||||
@ -269,10 +281,11 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/yes"
|
||||
android:textSize="16sp"
|
||||
android:paddingVertical="7dp"
|
||||
android:paddingHorizontal="42dp"
|
||||
android:background="@drawable/is_working_btn" />
|
||||
@ -281,10 +294,11 @@
|
||||
android:layout_height="1dp"
|
||||
android:layout_weight="1"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/no"
|
||||
android:textSize="16sp"
|
||||
android:paddingVertical="7dp"
|
||||
android:paddingHorizontal="42dp"
|
||||
android:background="@drawable/is_working_btn" />
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
android:text="@string/device_is_not"
|
||||
android:textAlignment="center"
|
||||
android:paddingBottom="48dp"
|
||||
style="@style/TextTool25"/>
|
||||
style="@style/TextHeavy20"/>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -84,7 +84,7 @@
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvPair"
|
||||
style="@style/TextTool21"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
@ -106,7 +106,7 @@
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvNear"
|
||||
style="@style/TextTool21"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/number_of_touches"
|
||||
/>
|
||||
@ -25,7 +25,7 @@
|
||||
android:id="@+id/num"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:text="8"
|
||||
android:textAlignment="center"
|
||||
@ -41,7 +41,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/is_it_working"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginBottom="28dp"
|
||||
/>
|
||||
@ -51,7 +51,7 @@
|
||||
android:layout_marginBottom="18dp"
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/yes"
|
||||
@ -59,7 +59,7 @@
|
||||
android:paddingHorizontal="42dp"
|
||||
android:background="@drawable/is_working_btn" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/no"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/number_of_touches"
|
||||
/>
|
||||
@ -27,7 +27,7 @@
|
||||
android:id="@+id/num"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:text="8"
|
||||
android:textAlignment="center"
|
||||
@ -128,7 +128,7 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/screen_will_change"
|
||||
@ -136,7 +136,7 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:textColor="@color/white"
|
||||
android:textAlignment="center"
|
||||
android:layout_marginTop="17dp"
|
||||
|
||||
@ -8,20 +8,18 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="17dp"
|
||||
android:layout_height="17dp"
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="4dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@mipmap/per_no" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/content"
|
||||
style="@style/TextCheck"
|
||||
style="@style/TextWhiteNormal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="@string/apps"
|
||||
android:textSize="15sp"
|
||||
android:textColor="#E75757"
|
||||
android:textStyle="bold"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
android:text="Read call status and mobile network information"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/color_red" />
|
||||
</LinearLayout>
|
||||
25
myphoneinfo/src/main/res/layout/common_check_style2.xml
Normal file
25
myphoneinfo/src/main/res/layout/common_check_style2.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="4dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@mipmap/per_yes" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/content"
|
||||
style="@style/TextWhiteNormal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Read call status and mobile network information"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/color_green" />
|
||||
</LinearLayout>
|
||||
25
myphoneinfo/src/main/res/layout/common_check_style3.xml
Normal file
25
myphoneinfo/src/main/res/layout/common_check_style3.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="4dp"
|
||||
android:layout_height="4dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@mipmap/per_special" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/content"
|
||||
style="@style/TextWhiteNormal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:text="Read call status and mobile network information"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/color_yellow" />
|
||||
</LinearLayout>
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv_sub_title"
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
android:src="@mipmap/flash"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv_label"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
android:src="@mipmap/key"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv_label"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.textview.MaterialTextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/TextCPUContent"
|
||||
style="@style/LeftContent"
|
||||
android:id="@+id/text_cpu_content"
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center"
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
tools:ignore="RelativeOverlap" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/battery_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/apps"
|
||||
@ -86,7 +86,7 @@
|
||||
tools:ignore="RelativeOverlap" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/storage_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/apps"
|
||||
@ -136,7 +136,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/network_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/icon_network"
|
||||
@ -189,7 +189,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/ram_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/icon_ram"
|
||||
@ -241,7 +241,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/display_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/icon_display"
|
||||
@ -294,7 +294,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/apps_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/icon_apps"
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_cpu0"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/cpu_0"
|
||||
@ -82,7 +82,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_cpu1"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/phone_logo"
|
||||
style="@style/TextDeviceLogo"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="OPPO"
|
||||
|
||||
@ -6,42 +6,36 @@
|
||||
android:background="@drawable/dashboard_model_background"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||||
android:id="@+id/image_icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_width="66dp"
|
||||
android:layout_height="66dp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<View
|
||||
android:id="@+id/view_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="80dp"
|
||||
android:background="@color/module_title_color"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/dialog_title"
|
||||
style="@style/TextBig"
|
||||
android:textSize="24sp"
|
||||
style="@style/TextHeavy20"
|
||||
android:textSize="18sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginStart="80dp"
|
||||
android:text="@string/screenreader"
|
||||
app:layout_constraintLeft_toRightOf="@id/image_icon"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="@id/image_icon"
|
||||
app:layout_constraintBottom_toBottomOf="@id/image_icon"/>
|
||||
<!-- 子类内容容器 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/contentContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:paddingBottom="16dp"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/view_line"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/image_icon"
|
||||
|
||||
android:orientation="vertical"
|
||||
>
|
||||
@ -49,7 +43,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tv1"
|
||||
app:valueText="com.bjbyhd.screenreader-huawei"
|
||||
app:valueText=""
|
||||
app:labelText="@string/package_name"/>
|
||||
<com.xyzshell.myphoneinfo.custom.LabelValueCustomView
|
||||
android:layout_width="match_parent"
|
||||
@ -98,11 +92,11 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="16sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/permissions"
|
||||
android:textStyle="bold" />
|
||||
android:text="@string/permissions" />
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
@ -112,33 +106,54 @@
|
||||
android:layout_marginEnd="10dp"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/allowed"
|
||||
android:textColor="#878787"
|
||||
android:textStyle="bold" />
|
||||
<ImageView
|
||||
android:layout_width="17dp"
|
||||
android:layout_height="17dp"
|
||||
android:src="@mipmap/per_no"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/not_allowed"
|
||||
android:textColor="#878787"
|
||||
android:textStyle="bold" />
|
||||
android:textColor="#878787" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/allowedLL"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<include layout="@layout/common_check_style2" android:id="@+id/check2"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="17dp"
|
||||
android:layout_height="17dp"
|
||||
android:src="@mipmap/per_no"
|
||||
android:layout_marginEnd="10dp"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/not_allowed"
|
||||
android:textColor="#878787" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/notAllowedLL"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check1"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="17dp"
|
||||
android:layout_height="17dp"
|
||||
@ -146,39 +161,62 @@
|
||||
android:layout_marginEnd="10dp"
|
||||
/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/special_access"
|
||||
android:textColor="#878787"
|
||||
android:textStyle="bold" />
|
||||
android:textColor="#878787" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/specialLL"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<include layout="@layout/common_check_style3" android:id="@+id/check3"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check1"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check2"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check3"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check4"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check5"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check6"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check7"/>
|
||||
<include layout="@layout/common_check_style1" android:id="@+id/check8"/>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_cancel"
|
||||
style="@style/TextBtnTitle"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="@string/cancel"
|
||||
android:layout_marginEnd="20dp"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
app:layout_constraintTop_toBottomOf="@id/contentContainer"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_cancel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="@string/cancel"
|
||||
android:background="@drawable/dialog_cancel_bg"
|
||||
android:textColor="@color/black"
|
||||
android:textAlignment="center"
|
||||
android:layout_marginHorizontal="20dp"
|
||||
/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_manage"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:text="@string/manage"
|
||||
android:background="@drawable/hard_bg"
|
||||
android:textColor="@color/module_title_color"
|
||||
android:textAlignment="center"
|
||||
android:layout_marginEnd="20dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextContent"
|
||||
style="@style/LeftContent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -43,7 +43,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/system_apps"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_marginStart="7dp"
|
||||
android:textSize="13sp"/>
|
||||
<View
|
||||
@ -55,7 +55,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/user_apps"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginEnd="53dp"
|
||||
android:textSize="13sp"/>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="19sp"
|
||||
@ -45,7 +45,7 @@
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -69,7 +69,7 @@
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -84,7 +84,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.12GB"
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/stor2"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="read only"
|
||||
@ -114,7 +114,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.22 GB used"
|
||||
@ -128,7 +128,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/stor3"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3.75 GB free"
|
||||
@ -157,7 +157,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="19sp"
|
||||
@ -181,7 +181,7 @@
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -205,7 +205,7 @@
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -220,7 +220,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.12GB"
|
||||
@ -234,7 +234,7 @@
|
||||
android:layout_weight="1" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="read only"
|
||||
@ -249,7 +249,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.22 GB used"
|
||||
@ -262,7 +262,7 @@
|
||||
android:layout_weight="1" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3.75 GB free"
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
android:layout_height="1dp"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/textContent"
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -56,7 +56,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ram"
|
||||
@ -70,7 +70,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/ram1"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5.97 GB"
|
||||
@ -84,7 +84,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.22 GB used"
|
||||
@ -98,7 +98,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/ram2"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3.75 GB free"
|
||||
@ -127,7 +127,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/zram"
|
||||
@ -141,7 +141,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/ram3"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5.97 GB"
|
||||
@ -156,7 +156,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.22 GB used"
|
||||
@ -170,7 +170,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/ram4"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3.75 GB free"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="28.01 GB used"
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/stor1"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="128 GB total"
|
||||
@ -66,7 +66,7 @@
|
||||
android:src="@mipmap/radius1" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -81,7 +81,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/radius1"
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -103,7 +103,7 @@
|
||||
android:src="@mipmap/radius2" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -118,7 +118,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/radius2"
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -140,7 +140,7 @@
|
||||
android:src="@mipmap/radius3" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -155,7 +155,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/radius3"
|
||||
style="@style/TextDialogSubTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="11dp"
|
||||
@ -169,7 +169,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
@ -195,7 +195,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/textContent"
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
@ -212,7 +212,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="/data"
|
||||
@ -227,7 +227,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/stor2"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="119 GB"
|
||||
@ -242,7 +242,7 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2.22 GB used"
|
||||
@ -256,7 +256,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/stor3"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="3.75 GB free"
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
android:layout_height="23dp"
|
||||
android:src="@drawable/radius_sel"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/temperature1"
|
||||
@ -46,7 +46,7 @@
|
||||
android:layout_height="23dp"
|
||||
android:src="@drawable/radius_sel"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/temperature2"
|
||||
@ -54,7 +54,7 @@
|
||||
android:layout_marginStart="20dp" />
|
||||
</LinearLayout>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextContentRight"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="shell_frame"
|
||||
@ -73,7 +73,7 @@
|
||||
android:orientation="horizontal">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_cancel"
|
||||
style="@style/TextBtnTitle"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
@ -84,7 +84,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text_ok"
|
||||
style="@style/TextBtnTitle"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
|
||||
@ -74,11 +74,12 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/conText1"
|
||||
style="@style/TextBig"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textStyle="bold"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/module_title_color"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
@ -87,7 +88,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/module_title_color"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
@ -97,12 +98,13 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/module_title_color"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/noConnect"
|
||||
style="@style/TextWifiRight"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/public_ip"
|
||||
style="@style/TextDialog"
|
||||
style="@style/LeftContent"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="280dp"
|
||||
@ -27,13 +27,13 @@
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="TextContentSmall"
|
||||
style="LeftContentSmall"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="20dp"
|
||||
android:text="192.168.1.100"/>
|
||||
</LinearLayout>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextModuleTitle"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="match_parent"
|
||||
android:id="@+id/ok"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/logoDevice"
|
||||
style="@style/TextDeviceLogo"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
@ -301,7 +301,7 @@
|
||||
android:text="@string/drm"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
@ -314,7 +314,7 @@
|
||||
android:id="@+id/textclear2"
|
||||
layout="@layout/common_text_style" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
|
||||
@ -354,7 +354,7 @@
|
||||
android:paddingHorizontal="15dp">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
style="@style/TextSecondaryTitle"
|
||||
style="@style/TextHeavy20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="30dp"
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
android:paddingHorizontal="20dp"
|
||||
android:id="@+id/view">
|
||||
<ImageView
|
||||
android:id="@+id/ivIcon"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:src="@mipmap/ic_launcher"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/textTitle"
|
||||
style="@style/TextDialogContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
<!-- <com.google.android.material.textview.MaterialTextView-->
|
||||
<!-- android:id="@+id/cpuTv01"-->
|
||||
<!-- style="@style/TextDialogLabel"-->
|
||||
<!-- style="@style/LeftContent"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:text="Processor :AArch64 Processor rev 2(aarch64)"-->
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvName"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
@ -19,7 +19,7 @@
|
||||
android:layout_weight="1"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvNum"
|
||||
style="@style/TextTool21"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="135dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvName"
|
||||
style="@style/TextDialogContent"
|
||||
style="@style/LeftContent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvNum"
|
||||
style="@style/TextDialogContent"
|
||||
style="@style/LeftContent"
|
||||
android:textSize="13sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@ -39,7 +39,7 @@
|
||||
android:thumb="@drawable/progress_oval" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tvPercent"
|
||||
style="@style/TextDialogContent"
|
||||
style="@style/LeftContent"
|
||||
android:textSize="13sp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@ -18,14 +18,14 @@
|
||||
android:id="@+id/text1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/first_cluster"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/text2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:layout_marginTop="15dp"
|
||||
android:text="@string/second_cluster"/>
|
||||
@ -49,7 +49,7 @@
|
||||
android:id="@+id/textSleep"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/hide_deep_sleep"/>
|
||||
</LinearLayout>
|
||||
@ -79,7 +79,7 @@
|
||||
android:id="@+id/textMore1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/metric_units"/>
|
||||
</LinearLayout>
|
||||
@ -98,7 +98,7 @@
|
||||
android:id="@+id/textMore2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/reset_"/>
|
||||
</LinearLayout>
|
||||
@ -122,7 +122,7 @@
|
||||
android:id="@+id/textMore3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/export"/>
|
||||
</LinearLayout>
|
||||
@ -141,7 +141,7 @@
|
||||
android:id="@+id/textMore4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/share"/>
|
||||
</LinearLayout>
|
||||
@ -160,7 +160,7 @@
|
||||
android:id="@+id/textMore5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/faq"/>
|
||||
</LinearLayout>
|
||||
@ -179,7 +179,7 @@
|
||||
android:id="@+id/textMore6"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/TextDialogLabel"
|
||||
style="@style/LeftContent"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/about"/>
|
||||
</LinearLayout>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 586 B |
Binary file not shown.
|
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 569 B |
Binary file not shown.
|
Before Width: | Height: | Size: 825 B After Width: | Height: | Size: 619 B |
@ -6,7 +6,6 @@
|
||||
<color name="main_tab_unselected">#7F7F7F</color>
|
||||
<color name="main_tab_selected">#1E8C29</color>
|
||||
<color name="forground_color">#FFFFFF</color>
|
||||
<color name="background_color">#f4f4f4</color>
|
||||
<color name="module_title_color">#3B948A</color>
|
||||
|
||||
<color name="check_color">#484848</color>
|
||||
@ -23,4 +22,8 @@
|
||||
<color name="dialog_cancel">#F2F2F2</color>
|
||||
<color name="right_color">#C1C5C2</color>
|
||||
<color name="btn_30_trans">#C4DFDC</color>
|
||||
<color name="color_red">#EF4444</color>
|
||||
<color name="color_yellow">#FFD54F</color>
|
||||
<color name="color_green">#3B948A</color>
|
||||
<color name="background_color">#F4F4F4</color>
|
||||
</resources>
|
||||
@ -63,6 +63,7 @@
|
||||
<string name="deep_sleep">Deep sleep:</string>
|
||||
|
||||
<string name="cancel">Cancel</string>
|
||||
<string name="manage">Manage</string>
|
||||
<string name="settings">Settings</string>
|
||||
<string name="device">Device</string>
|
||||
<string name="product">Product</string>
|
||||
@ -233,9 +234,9 @@
|
||||
<string name="installed">Installed</string>
|
||||
<string name="uid">UID</string>
|
||||
<string name="permissions">Permissions</string>
|
||||
<string name="allowed">= Allowed</string>
|
||||
<string name="special_access">= Special access</string>
|
||||
<string name="not_allowed">= Not allowed</string>
|
||||
<string name="allowed"> Allowed</string>
|
||||
<string name="special_access"> Special access</string>
|
||||
<string name="not_allowed"> Not allowed</string>
|
||||
<string name="temperatures">Temperatures</string>
|
||||
<string name="magnetic_field">Magnetic field</string>
|
||||
<string name="orientation">Orientation</string>
|
||||
|
||||
@ -6,187 +6,6 @@
|
||||
<item name="android:textAllCaps">false</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<!-- Dashboard面板 -->
|
||||
|
||||
<!-- 页面上每个模块的模块名字-->
|
||||
<style name="TextModuleTitle" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">@dimen/size_module_title</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_regular</item>
|
||||
</style>
|
||||
|
||||
<!-- CPU status 内容显示-->
|
||||
<style name="TextCPUContent" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">23sp</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<!-- <item name="android:fontFamily">sans-serif</item> <!– 老版本 fallback –>-->
|
||||
</style>
|
||||
|
||||
<!-- 模块通用内容显示-->
|
||||
<style name="TextContent" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
</style>
|
||||
|
||||
<!-- 模块大字号-->
|
||||
<style name="TextBig" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">21sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
|
||||
<!-- 首页弹窗内容副标题-->
|
||||
<style name="TextDialogSubTitle" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">20sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
|
||||
</style>
|
||||
<!-- 首页弹窗内容的左边标题-->
|
||||
<style name="TextDialogLabel" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">17sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/dialog_label_color</item>
|
||||
</style>
|
||||
|
||||
<!-- 首页弹窗内容的右边内容-->
|
||||
<style name="TextDialogContent" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
|
||||
</style>
|
||||
<!-- 首页弹窗Cancel-->
|
||||
<style name="TextBtnTitle" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">19sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<!-- <item name="android:fontFamily">sans-serif</item> <!– 老版本 fallback –>-->
|
||||
</style>
|
||||
|
||||
<!--右边内容字体-->
|
||||
<style name="TextContentRight" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">19sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">normal</item>
|
||||
<item name="android:textColor">@color/right_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
</style>
|
||||
<!-- 判断框字体-->
|
||||
<style name="TextCheck" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">19sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/check_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
</style>
|
||||
<!-- Dialog标题-->
|
||||
<style name="TextDialog" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">21sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<!--小字体-->
|
||||
<style name="TextContentSmall" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">12sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
</style>
|
||||
<!-- 超大字号-->
|
||||
<style name="TextMaxBig" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">48sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<!-- systemDevice标题-->
|
||||
<style name="TextDeviceBig" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">26sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
<!-- systemLogo标题-->
|
||||
<style name="TextDeviceLogo">
|
||||
<item name="android:textSize">21sp</item>
|
||||
<item name="android:textColor">@color/black</item>
|
||||
<item name="fontFamily">@font/pingfang_bold</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
<!-- 电池电量标题-->
|
||||
<style name="TextBatteryLogo">
|
||||
<item name="android:textSize">44sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_bold</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
<item name="android:textStyle">normal</item>
|
||||
</style>
|
||||
<!-- size37-->
|
||||
<style name="TextSize37">
|
||||
<item name="android:textSize">37sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
</style>
|
||||
<!-- size28-->
|
||||
<style name="TextSize28">
|
||||
<item name="android:textSize">28sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
</style>
|
||||
<!-- system副标题-->
|
||||
<style name="TextSecondaryTitle" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">17sp</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<!-- <item name="android:fontFamily">sans-serif</item> <!– 老版本 fallback –>-->
|
||||
</style>
|
||||
<!-- 电量右边字体-->
|
||||
<style name="TextButteryRight" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">19sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<!-- <item name="fontFamily">@font/semibold</item>-->
|
||||
</style>
|
||||
<!-- wifi右边字体-->
|
||||
<style name="TextWifiRight" parent="TextAppearance.Material3.BodyLarge">
|
||||
<item name="android:textSize">30sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
</style>
|
||||
<!-- tool左边字体-->
|
||||
<style name="TextTool21">
|
||||
<item name="android:textSize">21sp</item>
|
||||
<item name="android:textColor">@color/dialog_value_color</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<!-- 工具大字体-->
|
||||
<style name="TextTool25" >
|
||||
<item name="android:textSize">25sp</item>
|
||||
<item name="fontFamily">@font/pingfang_heavy_0</item>
|
||||
<item name="android:textColor">@color/module_title_color</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<style name="PopupAnimation" parent="android:Animation">
|
||||
<item name="android:windowEnterAnimation">@anim/popup_enter</item>
|
||||
<item name="android:windowExitAnimation">@anim/popup_exit</item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user