Redo Permissions [1/2]

This commit is contained in:
Rahul Patel
2024-07-27 13:56:40 +05:30
parent 894e7a629f
commit 44b9a1a7b2
15 changed files with 407 additions and 475 deletions

View File

@@ -17,12 +17,11 @@
~
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout 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="wrap_content"
android:background="?selectableItemBackground"
android:orientation="vertical"
android:padding="@dimen/padding_small">
@@ -31,24 +30,25 @@
style="@style/AuroraTextStyle.Subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Title" />
android:layout_toStartOf="@id/btn_action"
tools:text="Permission Title" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/line2"
style="@style/AuroraTextStyle.Line2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="5"
tools:text="Description" />
android:layout_below="@id/line1"
android:layout_toStartOf="@id/btn_action"
android:maxLines="3"
tools:text="Permission Description" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_action"
style="@style/Widget.Material3.Button"
style="@style/Widget.Material3.Button.TextButton.Dialog.Flush"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:insetTop="@dimen/margin_xsmall"
android:insetBottom="@dimen/margin_xsmall"
android:layout_alignParentEnd="true"
android:text="@string/action_grant"
android:textColor="?colorSurface"
app:cornerRadius="@dimen/radius_small" />
</LinearLayout>
app:iconPadding="@dimen/padding_small" />
</RelativeLayout>