Dynamic colors [1/2]

This commit is contained in:
Rahul Patel
2024-08-31 02:33:07 +05:30
parent 4107eed2d9
commit 3546ed8a54
119 changed files with 676 additions and 2321 deletions

View File

@@ -17,49 +17,58 @@
~
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:targetApi="o">
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/permissions_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="@dimen/margin_normal"
android:layout_marginBottom="@dimen/margin_small"
android:paddingHorizontal="@dimen/margin_normal"
android:text="@string/details_permission"
android:textAppearance="@style/TextAppearance.Aurora.Title" />
<androidx.core.widget.NestedScrollView
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/padding_medium"
android:scrollbars="none">
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/permissions_container"
<com.google.android.material.bottomsheet.BottomSheetDragHandleView
android:id="@+id/drag_handle"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/permissions_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="@dimen/margin_small"
android:paddingHorizontal="@dimen/margin_normal"
android:text="@string/details_permission"
android:textAppearance="@style/TextAppearance.Aurora.Title" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:padding="@dimen/padding_medium"
android:scrollbars="none">
<LinearLayout
android:id="@+id/permissions_container_widgets"
android:id="@+id/permissions_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
android:orientation="vertical">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/permissions_none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/details_no_permission"
android:textAppearance="@style/TextAppearance.Aurora.Line1"
android:visibility="gone" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
<LinearLayout
android:id="@+id/permissions_container_widgets"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/permissions_none"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/details_no_permission"
android:textAppearance="@style/TextAppearance.Aurora.Line1"
android:visibility="gone" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
</FrameLayout>