|
49 | 49 | android:layout_height="wrap_content" |
50 | 50 | android:orientation="vertical"> |
51 | 51 |
|
| 52 | + <!-- Activity Launcher --> |
| 53 | + <LinearLayout |
| 54 | + android:id="@+id/itemActivityLauncher" |
| 55 | + android:layout_width="match_parent" |
| 56 | + android:layout_height="wrap_content" |
| 57 | + android:gravity="center_vertical" |
| 58 | + android:paddingHorizontal="16dp" |
| 59 | + android:paddingVertical="14dp" |
| 60 | + android:background="?attr/selectableItemBackground"> |
| 61 | + |
| 62 | + <ImageView |
| 63 | + android:layout_width="22dp" |
| 64 | + android:layout_height="22dp" |
| 65 | + android:src="@drawable/ic_launch" |
| 66 | + app:tint="?attr/colorPrimary" /> |
| 67 | + |
| 68 | + <LinearLayout |
| 69 | + android:layout_width="0dp" |
| 70 | + android:layout_height="wrap_content" |
| 71 | + android:layout_weight="1" |
| 72 | + android:layout_marginStart="14dp" |
| 73 | + android:orientation="vertical"> |
| 74 | + |
| 75 | + <TextView |
| 76 | + android:layout_width="wrap_content" |
| 77 | + android:layout_height="wrap_content" |
| 78 | + android:text="@string/tools_activity_launcher" |
| 79 | + android:textSize="15sp" /> |
| 80 | + |
| 81 | + <TextView |
| 82 | + android:layout_width="wrap_content" |
| 83 | + android:layout_height="wrap_content" |
| 84 | + android:text="@string/tools_activity_launcher_desc" |
| 85 | + android:textColor="@color/on_surface_secondary" |
| 86 | + android:textSize="12sp" /> |
| 87 | + </LinearLayout> |
| 88 | + |
| 89 | + <ImageView |
| 90 | + android:layout_width="18dp" |
| 91 | + android:layout_height="18dp" |
| 92 | + android:src="@drawable/ic_chevron_right" |
| 93 | + android:alpha="0.4" /> |
| 94 | + </LinearLayout> |
| 95 | + |
| 96 | + <View |
| 97 | + android:layout_width="match_parent" |
| 98 | + android:layout_height="1dp" |
| 99 | + android:layout_marginStart="52dp" |
| 100 | + android:background="@color/outline" /> |
| 101 | + |
52 | 102 | <!-- Manage Apps --> |
53 | 103 | <LinearLayout |
54 | 104 | android:id="@+id/itemManageApps" |
|
80 | 130 | android:alpha="0.4" /> |
81 | 131 | </LinearLayout> |
82 | 132 |
|
| 133 | + <View |
| 134 | + android:layout_width="match_parent" |
| 135 | + android:layout_height="1dp" |
| 136 | + android:layout_marginStart="52dp" |
| 137 | + android:background="@color/outline" /> |
| 138 | + |
| 139 | + <!-- Autostart Manager --> |
| 140 | + <LinearLayout |
| 141 | + android:id="@+id/itemAutostartManager" |
| 142 | + android:layout_width="match_parent" |
| 143 | + android:layout_height="wrap_content" |
| 144 | + android:gravity="center_vertical" |
| 145 | + android:paddingHorizontal="16dp" |
| 146 | + android:paddingVertical="14dp" |
| 147 | + android:background="?attr/selectableItemBackground"> |
| 148 | + |
| 149 | + <ImageView |
| 150 | + android:layout_width="22dp" |
| 151 | + android:layout_height="22dp" |
| 152 | + android:src="@drawable/ic_speed" |
| 153 | + app:tint="?attr/colorPrimary" /> |
| 154 | + |
| 155 | + <LinearLayout |
| 156 | + android:layout_width="0dp" |
| 157 | + android:layout_height="wrap_content" |
| 158 | + android:layout_weight="1" |
| 159 | + android:layout_marginStart="14dp" |
| 160 | + android:orientation="vertical"> |
| 161 | + |
| 162 | + <TextView |
| 163 | + android:layout_width="wrap_content" |
| 164 | + android:layout_height="wrap_content" |
| 165 | + android:text="@string/tools_autostart_manager" |
| 166 | + android:textSize="15sp" /> |
| 167 | + |
| 168 | + <TextView |
| 169 | + android:layout_width="wrap_content" |
| 170 | + android:layout_height="wrap_content" |
| 171 | + android:text="@string/tools_autostart_manager_desc" |
| 172 | + android:textColor="@color/on_surface_secondary" |
| 173 | + android:textSize="12sp" /> |
| 174 | + </LinearLayout> |
| 175 | + |
| 176 | + <ImageView |
| 177 | + android:layout_width="18dp" |
| 178 | + android:layout_height="18dp" |
| 179 | + android:src="@drawable/ic_chevron_right" |
| 180 | + android:alpha="0.4" /> |
| 181 | + </LinearLayout> |
| 182 | + |
83 | 183 | <View |
84 | 184 | android:layout_width="match_parent" |
85 | 185 | android:layout_height="1dp" |
|
491 | 591 | </LinearLayout> |
492 | 592 | </com.google.android.material.card.MaterialCardView> |
493 | 593 |
|
494 | | - <!-- Advanced Section --> |
495 | | - <TextView |
496 | | - android:layout_width="wrap_content" |
497 | | - android:layout_height="wrap_content" |
498 | | - android:text="@string/tools_section_advanced" |
499 | | - android:textColor="?attr/colorPrimary" |
500 | | - android:textSize="13sp" |
501 | | - android:textStyle="bold" |
502 | | - android:layout_marginBottom="8dp" /> |
503 | | - |
504 | | - <com.google.android.material.card.MaterialCardView |
505 | | - android:layout_width="match_parent" |
506 | | - android:layout_height="wrap_content" |
507 | | - app:cardElevation="0dp" |
508 | | - app:strokeWidth="1dp" |
509 | | - app:strokeColor="@color/outline"> |
510 | | - |
511 | | - <!-- Activity Launcher --> |
512 | | - <LinearLayout |
513 | | - android:id="@+id/itemActivityLauncher" |
514 | | - android:layout_width="match_parent" |
515 | | - android:layout_height="wrap_content" |
516 | | - android:gravity="center_vertical" |
517 | | - android:paddingHorizontal="16dp" |
518 | | - android:paddingVertical="14dp" |
519 | | - android:background="?attr/selectableItemBackground"> |
520 | | - |
521 | | - <ImageView |
522 | | - android:layout_width="22dp" |
523 | | - android:layout_height="22dp" |
524 | | - android:src="@drawable/ic_launch" |
525 | | - app:tint="?attr/colorPrimary" /> |
526 | | - |
527 | | - <LinearLayout |
528 | | - android:layout_width="0dp" |
529 | | - android:layout_height="wrap_content" |
530 | | - android:layout_weight="1" |
531 | | - android:layout_marginStart="14dp" |
532 | | - android:orientation="vertical"> |
533 | | - |
534 | | - <TextView |
535 | | - android:layout_width="wrap_content" |
536 | | - android:layout_height="wrap_content" |
537 | | - android:text="@string/tools_activity_launcher" |
538 | | - android:textSize="15sp" /> |
539 | | - |
540 | | - <TextView |
541 | | - android:layout_width="wrap_content" |
542 | | - android:layout_height="wrap_content" |
543 | | - android:text="@string/tools_activity_launcher_desc" |
544 | | - android:textColor="@color/on_surface_secondary" |
545 | | - android:textSize="12sp" /> |
546 | | - </LinearLayout> |
547 | | - |
548 | | - <ImageView |
549 | | - android:layout_width="18dp" |
550 | | - android:layout_height="18dp" |
551 | | - android:src="@drawable/ic_chevron_right" |
552 | | - android:alpha="0.4" /> |
553 | | - </LinearLayout> |
554 | | - </com.google.android.material.card.MaterialCardView> |
555 | | - |
556 | 594 | </LinearLayout> |
557 | 595 | </ScrollView> |
0 commit comments