small UI fixes in SetSettingsActivity

This commit is contained in:
Christian Schneppe 2019-11-14 21:37:20 +01:00
parent 8319822427
commit 6c083786f1
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E
9 changed files with 10 additions and 8 deletions

View file

@ -15,7 +15,6 @@ public class FirstStartManager {
public FirstStartManager(Context context) {
this.context = context;
pref = this.context.getSharedPreferences(PREF_NAME, MODE_PRIVATE);
editor = pref.edit();
}
public void setFirstTimeLaunch(boolean isFirstTime) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -61,7 +61,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/forbid_screenshots"
@ -92,7 +92,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/show_links"
@ -122,7 +122,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/show_mappreview"
@ -152,7 +152,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/chat_states"
@ -182,7 +182,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/confirm_messages"
@ -212,7 +212,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/last_seen"
@ -241,7 +241,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:gravity="center_vertical"
android:padding="@dimen/image_button_padding"
android:src="@drawable/ic_help_circle_outline_black_24dp" />
android:src="?attr/icon_help" />
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/invideous"

View file

@ -82,6 +82,7 @@
<attr name="icon_scan_qr_code" format="reference" />
<attr name="icon_enable_undecided_device" format="reference" />
<attr name="icon_scroll_down" format="reference" />
<attr name="icon_help" format="reference" />
<attr name="icon_notifications" format="reference" />
<attr name="icon_notifications_off" format="reference" />

View file

@ -79,6 +79,7 @@
<item name="media_preview_ebook" type="reference">@drawable/ic_book_black_48dp</item>
<item name="media_preview_unknown" type="reference">@drawable/ic_help_black_48dp</item>
<item name="media_preview_backup" type="reference">@drawable/ic_backup_black_48dp</item>
<item name="icon_help" type="reference">@drawable/ic_help_circle_outline_black_24dp</item>
<item name="icon_add_group" type="reference">@drawable/ic_group_add_white_24dp</item>
<item name="icon_add_person" type="reference">@drawable/ic_person_add_white_24dp</item>
@ -257,6 +258,7 @@
<item name="media_preview_ebook" type="reference">@drawable/ic_book_white_48dp</item>
<item name="media_preview_unknown" type="reference">@drawable/ic_help_white_48dp</item>
<item name="media_preview_backup" type="reference">@drawable/ic_backup_white_48dp</item>
<item name="icon_help" type="reference">@drawable/ic_help_circle_outline_white_24dp</item>
<item name="icon_add_group" type="reference">@drawable/ic_group_add_white_24dp</item>
<item name="icon_add_person" type="reference">@drawable/ic_person_add_white_24dp</item>