dialog_permission.xml raw

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   3      android:layout_width="match_parent"
   4      android:layout_height="match_parent"
   5      android:orientation="vertical">
   6  
   7      <ImageView
   8          android:id="@+id/icon"
   9          android:layout_width="match_parent"
  10          android:layout_height="wrap_content"
  11          android:layout_marginBottom="?dialogPreferredPadding"
  12          android:padding="?dialogPreferredPadding"
  13          android:background="?android:attr/textColorSecondaryInverse"
  14          android:contentDescription="@null"/>
  15  
  16      <TextView
  17          style="@style/MaterialAlertDialog.Material3.Title.Text"
  18          android:id="@+id/title"
  19          android:layout_width="match_parent"
  20          android:layout_height="wrap_content"
  21          android:layout_marginBottom="@dimen/aod_spacing_8"
  22          android:paddingHorizontal="?dialogPreferredPadding"
  23          android:textIsSelectable="false" />
  24  
  25      <TextView
  26          style="@style/MaterialAlertDialog.Material3.Body.Text"
  27          android:id="@+id/message"
  28          android:layout_width="match_parent"
  29          android:layout_height="wrap_content"
  30          android:paddingHorizontal="?dialogPreferredPadding"
  31          android:textIsSelectable="false" />
  32  </LinearLayout>
  33