Skip to content

Commit

Permalink
MainActivity: bring Permissions layout in line w/ Settings one
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Aug 30, 2024
1 parent 044791d commit 7946c2b
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,12 @@
android:layout_height="match_parent">

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_column="0"
android:padding="10dp"
android:hyphenationFrequency="full"
android:text="@string/main_activity_screen_capturing" />

<TextView
Expand All @@ -342,8 +344,9 @@
android:text="@string/main_activity_colon" />

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:layout_column="2"
android:padding="10dp"
android:text="@string/main_activity_fallback"
Expand All @@ -356,10 +359,12 @@
android:layout_height="match_parent">

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_column="0"
android:padding="10dp"
android:hyphenationFrequency="full"
android:text="@string/main_activity_input" />

<TextView
Expand All @@ -370,8 +375,9 @@
android:text="@string/main_activity_colon" />

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:layout_column="2"
android:padding="10dp"
android:text="@string/main_activity_fallback"
Expand All @@ -386,10 +392,12 @@
android:id="@+id/permission_row_file_access">

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_column="0"
android:padding="10dp"
android:hyphenationFrequency="full"
android:text="@string/main_activity_file_access" />

<TextView
Expand All @@ -400,8 +408,9 @@
android:text="@string/main_activity_colon" />

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:layout_column="2"
android:padding="10dp"
android:text="@string/main_activity_fallback"
Expand All @@ -416,10 +425,12 @@
android:id="@+id/permission_row_notification">

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_column="0"
android:padding="10dp"
android:hyphenationFrequency="full"
android:text="@string/main_activity_notifications" />

<TextView
Expand All @@ -430,8 +441,9 @@
android:text="@string/main_activity_colon" />

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:layout_column="2"
android:padding="10dp"
android:text="@string/main_activity_fallback"
Expand All @@ -446,10 +458,12 @@
android:id="@+id/permission_row_start_on_boot">

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_column="0"
android:padding="10dp"
android:hyphenationFrequency="full"
android:text="@string/main_activity_start_on_boot" />

<TextView
Expand All @@ -460,8 +474,9 @@
android:text="@string/main_activity_colon" />

<TextView
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:layout_column="2"
android:padding="10dp"
android:text="@string/main_activity_fallback"
Expand Down

0 comments on commit 7946c2b

Please sign in to comment.