POS-22 Dodanie ekranu z podglądem zdjęcia prze wysłaniem

This commit is contained in:
Wojciech Przybyła 2020-12-10 20:37:35 +01:00
parent 44b7f9e1a7
commit 8e3c9635c3
3 changed files with 68 additions and 40 deletions

View File

@ -131,6 +131,11 @@
<ItemGroup> <ItemGroup>
<AndroidResource Include="Resources\drawable\Obraz1.png" /> <AndroidResource Include="Resources\drawable\Obraz1.png" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\ekranPoZdjeciu.xml">
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>

View File

@ -10138,124 +10138,127 @@ namespace Klient.Droid
public const int ekranPoLogowaniu = 2131427374; public const int ekranPoLogowaniu = 2131427374;
// aapt resource value: 0x7F0B002F // aapt resource value: 0x7F0B002F
public const int ekranRejestracji = 2131427375; public const int ekranPoZdjeciu = 2131427375;
// aapt resource value: 0x7F0B0030 // aapt resource value: 0x7F0B0030
public const int ekranStartowy = 2131427376; public const int ekranRejestracji = 2131427376;
// aapt resource value: 0x7F0B0031 // aapt resource value: 0x7F0B0031
public const int FlyoutContent = 2131427377; public const int ekranStartowy = 2131427377;
// aapt resource value: 0x7F0B0032 // aapt resource value: 0x7F0B0032
public const int mr_cast_dialog = 2131427378; public const int FlyoutContent = 2131427378;
// aapt resource value: 0x7F0B0033 // aapt resource value: 0x7F0B0033
public const int mr_cast_group_item = 2131427379; public const int mr_cast_dialog = 2131427379;
// aapt resource value: 0x7F0B0034 // aapt resource value: 0x7F0B0034
public const int mr_cast_group_volume_item = 2131427380; public const int mr_cast_group_item = 2131427380;
// aapt resource value: 0x7F0B0035 // aapt resource value: 0x7F0B0035
public const int mr_cast_media_metadata = 2131427381; public const int mr_cast_group_volume_item = 2131427381;
// aapt resource value: 0x7F0B0036 // aapt resource value: 0x7F0B0036
public const int mr_cast_route_item = 2131427382; public const int mr_cast_media_metadata = 2131427382;
// aapt resource value: 0x7F0B0037 // aapt resource value: 0x7F0B0037
public const int mr_chooser_dialog = 2131427383; public const int mr_cast_route_item = 2131427383;
// aapt resource value: 0x7F0B0038 // aapt resource value: 0x7F0B0038
public const int mr_chooser_list_item = 2131427384; public const int mr_chooser_dialog = 2131427384;
// aapt resource value: 0x7F0B0039 // aapt resource value: 0x7F0B0039
public const int mr_controller_material_dialog_b = 2131427385; public const int mr_chooser_list_item = 2131427385;
// aapt resource value: 0x7F0B003A // aapt resource value: 0x7F0B003A
public const int mr_controller_volume_item = 2131427386; public const int mr_controller_material_dialog_b = 2131427386;
// aapt resource value: 0x7F0B003B // aapt resource value: 0x7F0B003B
public const int mr_dialog_header_item = 2131427387; public const int mr_controller_volume_item = 2131427387;
// aapt resource value: 0x7F0B003C // aapt resource value: 0x7F0B003C
public const int mr_picker_dialog = 2131427388; public const int mr_dialog_header_item = 2131427388;
// aapt resource value: 0x7F0B003D // aapt resource value: 0x7F0B003D
public const int mr_picker_route_item = 2131427389; public const int mr_picker_dialog = 2131427389;
// aapt resource value: 0x7F0B003E // aapt resource value: 0x7F0B003E
public const int mr_playback_control = 2131427390; public const int mr_picker_route_item = 2131427390;
// aapt resource value: 0x7F0B003F // aapt resource value: 0x7F0B003F
public const int mr_volume_control = 2131427391; public const int mr_playback_control = 2131427391;
// aapt resource value: 0x7F0B0040 // aapt resource value: 0x7F0B0040
public const int mtrl_layout_snackbar = 2131427392; public const int mr_volume_control = 2131427392;
// aapt resource value: 0x7F0B0041 // aapt resource value: 0x7F0B0041
public const int mtrl_layout_snackbar_include = 2131427393; public const int mtrl_layout_snackbar = 2131427393;
// aapt resource value: 0x7F0B0042 // aapt resource value: 0x7F0B0042
public const int notification_action = 2131427394; public const int mtrl_layout_snackbar_include = 2131427394;
// aapt resource value: 0x7F0B0043 // aapt resource value: 0x7F0B0043
public const int notification_action_tombstone = 2131427395; public const int notification_action = 2131427395;
// aapt resource value: 0x7F0B0044 // aapt resource value: 0x7F0B0044
public const int notification_media_action = 2131427396; public const int notification_action_tombstone = 2131427396;
// aapt resource value: 0x7F0B0045 // aapt resource value: 0x7F0B0045
public const int notification_media_cancel_action = 2131427397; public const int notification_media_action = 2131427397;
// aapt resource value: 0x7F0B0046 // aapt resource value: 0x7F0B0046
public const int notification_template_big_media = 2131427398; public const int notification_media_cancel_action = 2131427398;
// aapt resource value: 0x7F0B0047 // aapt resource value: 0x7F0B0047
public const int notification_template_big_media_custom = 2131427399; public const int notification_template_big_media = 2131427399;
// aapt resource value: 0x7F0B0048 // aapt resource value: 0x7F0B0048
public const int notification_template_big_media_narrow = 2131427400; public const int notification_template_big_media_custom = 2131427400;
// aapt resource value: 0x7F0B0049 // aapt resource value: 0x7F0B0049
public const int notification_template_big_media_narrow_custom = 2131427401; public const int notification_template_big_media_narrow = 2131427401;
// aapt resource value: 0x7F0B004A // aapt resource value: 0x7F0B004A
public const int notification_template_custom_big = 2131427402; public const int notification_template_big_media_narrow_custom = 2131427402;
// aapt resource value: 0x7F0B004B // aapt resource value: 0x7F0B004B
public const int notification_template_icon_group = 2131427403; public const int notification_template_custom_big = 2131427403;
// aapt resource value: 0x7F0B004C // aapt resource value: 0x7F0B004C
public const int notification_template_lines_media = 2131427404; public const int notification_template_icon_group = 2131427404;
// aapt resource value: 0x7F0B004D // aapt resource value: 0x7F0B004D
public const int notification_template_media = 2131427405; public const int notification_template_lines_media = 2131427405;
// aapt resource value: 0x7F0B004E // aapt resource value: 0x7F0B004E
public const int notification_template_media_custom = 2131427406; public const int notification_template_media = 2131427406;
// aapt resource value: 0x7F0B004F // aapt resource value: 0x7F0B004F
public const int notification_template_part_chronometer = 2131427407; public const int notification_template_media_custom = 2131427407;
// aapt resource value: 0x7F0B0050 // aapt resource value: 0x7F0B0050
public const int notification_template_part_time = 2131427408; public const int notification_template_part_chronometer = 2131427408;
// aapt resource value: 0x7F0B0051 // aapt resource value: 0x7F0B0051
public const int RootLayout = 2131427409; public const int notification_template_part_time = 2131427409;
// aapt resource value: 0x7F0B0052 // aapt resource value: 0x7F0B0052
public const int select_dialog_item_material = 2131427410; public const int RootLayout = 2131427410;
// aapt resource value: 0x7F0B0053 // aapt resource value: 0x7F0B0053
public const int select_dialog_multichoice_material = 2131427411; public const int select_dialog_item_material = 2131427411;
// aapt resource value: 0x7F0B0054 // aapt resource value: 0x7F0B0054
public const int select_dialog_singlechoice_material = 2131427412; public const int select_dialog_multichoice_material = 2131427412;
// aapt resource value: 0x7F0B0055 // aapt resource value: 0x7F0B0055
public const int ShellContent = 2131427413; public const int select_dialog_singlechoice_material = 2131427413;
// aapt resource value: 0x7F0B0056 // aapt resource value: 0x7F0B0056
public const int support_simple_spinner_dropdown_item = 2131427414; public const int ShellContent = 2131427414;
// aapt resource value: 0x7F0B0057
public const int support_simple_spinner_dropdown_item = 2131427415;
static Layout() static Layout()
{ {

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffbdd7f0">
<ImageView
android:src="@drawable/imgToSend"
android:layout_width="match_parent"
android:layout_height="217.5dp"
android:minWidth="100px"
android:minHeight="100px"
android:id="@+id/imageView1" />
<Button
android:text="Wyślij zdjęcie"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/SendPhoto" />
</LinearLayout>