layout adjustments

This commit is contained in:
Kyle Spearrin 2017-12-22 11:36:09 -05:00
parent 7f431dbd01
commit 94a4a38798
5 changed files with 10 additions and 31 deletions

View file

@ -4375,17 +4375,17 @@ namespace Bit.Android
// aapt resource value: 0x7f090051 // aapt resource value: 0x7f090051
public const int ApplicationName = 2131296337; public const int ApplicationName = 2131296337;
// aapt resource value: 0x7f0900b2 // aapt resource value: 0x7f0900ab
public const int AutoFillServiceDescription = 2131296434; public const int AutoFillServiceDescription = 2131296427;
// aapt resource value: 0x7f0900b1 // aapt resource value: 0x7f0900aa
public const int AutoFillServiceSummary = 2131296433; public const int AutoFillServiceSummary = 2131296426;
// aapt resource value: 0x7f090050 // aapt resource value: 0x7f090050
public const int Hello = 2131296336; public const int Hello = 2131296336;
// aapt resource value: 0x7f0900b3 // aapt resource value: 0x7f0900ac
public const int MyVault = 2131296435; public const int MyVault = 2131296428;
// aapt resource value: 0x7f090027 // aapt resource value: 0x7f090027
public const int abc_action_bar_home_description = 2131296295; public const int abc_action_bar_home_description = 2131296295;
@ -4540,27 +4540,6 @@ namespace Bit.Android
// aapt resource value: 0x7f09000f // aapt resource value: 0x7f09000f
public const int common_signin_button_text_long = 2131296271; public const int common_signin_button_text_long = 2131296271;
// aapt resource value: 0x7f0900ac
public const int default_web_client_id = 2131296428;
// aapt resource value: 0x7f0900ad
public const int firebase_database_url = 2131296429;
// aapt resource value: 0x7f0900aa
public const int gcm_defaultSenderId = 2131296426;
// aapt resource value: 0x7f0900ae
public const int google_api_key = 2131296430;
// aapt resource value: 0x7f0900ab
public const int google_app_id = 2131296427;
// aapt resource value: 0x7f0900af
public const int google_crash_reporting_api_key = 2131296431;
// aapt resource value: 0x7f0900b0
public const int google_storage_bucket = 2131296432;
// aapt resource value: 0x7f090052 // aapt resource value: 0x7f090052
public const int hockeyapp_crash_dialog_app_name_fallback = 2131296338; public const int hockeyapp_crash_dialog_app_name_fallback = 2131296338;

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
<solid android:color="@color/white"/> <solid android:color="@color/white"/>
<stroke android:width="2dp" android:color="#B5B5B5"/> <stroke android:width="1dp" android:color="#B5B5B5"/>
<size android:width="28dp" android:height="28dp"/> <size android:width="28dp" android:height="28dp"/>
</shape> </shape>

View file

@ -44,7 +44,7 @@ namespace Bit.App.Controls
var stackLayout = new StackLayout var stackLayout = new StackLayout
{ {
Spacing = 0, Spacing = 0,
Padding = new Thickness(16, 10), Padding = new Thickness(16, 10, 27, 10),
Children = { Icon, Label, CountLabel }, Children = { Icon, Label, CountLabel },
Orientation = StackOrientation.Horizontal Orientation = StackOrientation.Horizontal
}; };

View file

@ -80,7 +80,7 @@ namespace Bit.App.Pages
ItemsSource = PresentationSections, ItemsSource = PresentationSections,
HasUnevenRows = true, HasUnevenRows = true,
GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(nameof(Section<Cipher>.Name), GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(nameof(Section<Cipher>.Name),
nameof(Section<Cipher>.Count))), nameof(Section<Cipher>.Count), new Thickness(16, 8, 27, 8))),
GroupShortNameBinding = new Binding(nameof(Section<Cipher>.Name)), GroupShortNameBinding = new Binding(nameof(Section<Cipher>.Name)),
ItemTemplate = new DataTemplate(() => new VaultListViewCell( ItemTemplate = new DataTemplate(() => new VaultListViewCell(
(Cipher c) => Helpers.CipherMoreClickedAsync(this, c, !string.IsNullOrWhiteSpace(_uri)))) (Cipher c) => Helpers.CipherMoreClickedAsync(this, c, !string.IsNullOrWhiteSpace(_uri))))

View file

@ -72,7 +72,7 @@ namespace Bit.App.Pages
ItemsSource = PresentationSections, ItemsSource = PresentationSections,
HasUnevenRows = true, HasUnevenRows = true,
GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell( GroupHeaderTemplate = new DataTemplate(() => new SectionHeaderViewCell(
nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count), new Thickness(16, 12))), nameof(Section<Grouping>.Name), nameof(Section<Grouping>.Count), new Thickness(16, 12, 27, 12))),
ItemTemplate = new GroupingOrCipherDataTemplateSelector(this) ItemTemplate = new GroupingOrCipherDataTemplateSelector(this)
}; };