M2/M3 갭: 라이브러리 그리드 추가일 표시 + iOS Info.plist ATS(NSAllowsLocalNetworking)/NSLocalNetworkUsageDescription

This commit is contained in:
Yun Chan 2026-08-16 11:36:38 +09:00
parent f380518919
commit 0cb16c8830
2 changed files with 11 additions and 1 deletions

View file

@ -218,6 +218,8 @@ public sealed class LibraryPage : ContentPage
name.SetBinding(Label.TextProperty, "FileName");
var size = new Label { FontSize = 10, TextColor = Colors.Gray };
size.SetBinding(Label.TextProperty, new Binding("SizeBytes", stringFormat: "{0:N0} bytes"));
var date = new Label { FontSize = 9, TextColor = Colors.Gray }; // M2: 추가일(수정일)
date.SetBinding(Label.TextProperty, new Binding("Modified", stringFormat: "{0:yy.MM.dd}"));
// U4 폰 저장: 카드 우측 버튼, 진행률을 버튼 텍스트로 표시
var save = new Button { Text = "💾 저장", FontSize = 12, Padding = new Thickness(10, 4), VerticalOptions = LayoutOptions.Center };
@ -226,7 +228,7 @@ public sealed class LibraryPage : ContentPage
var card = new Frame
{
Margin = new Thickness(6, 4), Padding = 8, CornerRadius = 10,
Content = new VerticalStackLayout { Spacing = 4, Children = { thumb, name, size, save } }
Content = new VerticalStackLayout { Spacing = 4, Children = { thumb, name, size, date, save } }
};
// CollectionView.SelectionChanged 는 Android 에서 발화 불안정 → 템플릿 카드에 탭 제스처
var tap = new TapGestureRecognizer();