|
@@ -17,36 +17,36 @@
|
|
You should have received a copy of the GNU General Public License
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
-->
|
|
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
+<ScrollView
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_horizontal">
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
- <androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
- android:id="@+id/card_view"
|
|
|
|
|
|
+ <com.google.android.material.card.MaterialCardView
|
|
|
|
+ xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="@dimen/standard_double_margin"
|
|
android:layout_margin="@dimen/standard_double_margin"
|
|
- card_view:cardCornerRadius="4dp"
|
|
|
|
|
|
+ card_view:strokeWidth="0dp"
|
|
|
|
+ card_view:cardCornerRadius="16dp"
|
|
card_view:cardElevation="@dimen/dialog_elevation">
|
|
card_view:cardElevation="@dimen/dialog_elevation">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
|
+ android:id="@+id/card_view_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
- android:paddingStart="@dimen/standard_padding"
|
|
|
|
- android:paddingTop="@dimen/standard_padding"
|
|
|
|
- android:paddingEnd="@dimen/standard_padding"
|
|
|
|
- android:paddingBottom="@dimen/standard_half_padding">
|
|
|
|
|
|
+ android:padding="@dimen/standard_padding">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/header"
|
|
android:id="@+id/header"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -56,7 +56,7 @@
|
|
android:textSize="@dimen/two_line_primary_text_size"
|
|
android:textSize="@dimen/two_line_primary_text_size"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/explanation"
|
|
android:id="@+id/explanation"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -96,12 +96,14 @@
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/cancel"
|
|
android:id="@+id/cancel"
|
|
- style="@style/Button.Borderless"
|
|
|
|
|
|
+ style="@style/Widget.Material3.Button.TextButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:layout_gravity="end"
|
|
android:text="@string/common_cancel" />
|
|
android:text="@string/common_cancel" />
|
|
|
|
+
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
- </androidx.cardview.widget.CardView>
|
|
|
|
|
|
+ </com.google.android.material.card.MaterialCardView>
|
|
|
|
+
|
|
</ScrollView>
|
|
</ScrollView>
|