Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 91519 articles
Browse latest View live

Xamarin.Forms Mini Window App

$
0
0
Not sure how to phrase this correctly. I wanted to create a mini window of my app so that whenever press the home button or navigate to other window in my phone, ky app still shows. I've seen this a couple of times in Android apps and the latest one is the Google Maps. See image attached.

How to change navigation bar background color for each content page?

$
0
0

I want to change xamarin forms app content page's navigation bar background color for each page instead of common color, has any plugin or default feature how can I change it?

I need to change for each page separately to match with content page's body.

Implementing Bluetooth features to Print on a bluetooth printer in Xamarin Forms App

Xamrin Forms iOS project Linking Error "framework not found carbon"

$
0
0

Hi Guys,

I have added ITextSharp.LGPL library to my Xamarin forms iOS project.
After that, when i try to build the application .i am getting error like. "framework not found carbon".

Please help me to resolve this issue

How to make login as a splash screen

$
0
0

Hi may I ask is it possible to make login form will be displayed upon opening the app that I made then after the user was logged in they will be put to the page with a slide from left menu

Change Status Bar Color on iOS

$
0
0

Is there a way to change status bar color dynamically, but not the navigation bar color?

Reusing images in ListView

$
0
0

Greetings,

In Android platform while recycling the ListView containing bound image items, the images are rendered slowly in the View. I would like to know how you have recycled the images in the list. Whether you have set the image from native views asynchronously to achieve this or just let me know where to look into the source codes which would get me a clear idea. I have referred the ImageViewExtensions but i don't think any recycling process is performed here.

Thanks.

Navigating from Tabbed page to Content page it hides the tab, but I want that tabbed pages as it is.

$
0
0

I have 3 tabbed pages inside the Xamarin forms. Such as Tab1 Tab2 and Tab3.
Inside the Tab1 having the 1 button click on this button click, I am opening the new page

        private void Button_Clicked(object sender, EventArgs e)
        {
            Navigation.PushAsync(new MyContentPage());
        }

While clicking on the button it navigates me on MyContentPage. at that time my tab page is hidden bcoz I am navigating to the new page. But I want that Tabbed pages as it is on MyContentPage.
How Can I do this?


how to loading images from gallery?

$
0
0

I'm planning an app for cross-platform and i can not loading images from gallery.

Is it possible to share and install the app on other device using APK file generated in debug mode?

$
0
0

I am new to Xamarin development and developing an app in Xamarin.forms using Visual Studio 2017 on Mac. I am testing my app using USB-Debugging/Genymotion on devices and also getting generated APK file at location: XYZ.Android/bin/debug/com.XYZ.XYZ-Signed.apk

The app crashes when I am trying to install it on other devices using the generated APK file at the above-mentioned location right after the Splash screen disappears?

In error reporting I am getting the error: "Unable to find application mono.android.platform.api level 27 or xamarin.android.platform" on Mi5a device

I have tried the solutions at URLs:
https://stackoverflow.com/questions/42243195/unable-to-find-application-mono-android-platform-apilevel-24-or-xamarin-android
https://stackoverflow.com/questions/37063507/unable-to-find-application-mono-android-platform-apilevel-23-or-xamarin-android?rq=1
https://stackoverflow.com/questions/48781713/xamarin-android-app-crashing?rq=1

So is it possible to share and install the app on other device using APK file generated in debug mode OR I need to create APK file in the release mode?

code: https://www.dropbox.com/s/525zce3ysoi56j6/FlashControl.zip?dl=0

Please Assist me for the right settings.

Thanks in advance.

Set color and size of Scrollbar in Scrollview

$
0
0

How do I set the color of the scroll bar for a scroll view? Currently the color is the same as the background and it is hard to tell as a user that that I should scroll unless I know that there is more to scroll.

This is my scrollview:

<ScrollView VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"  Orientation="Horizontal">
    .....
 </ScrollView>

Select Multiple image from gallery in ios.

$
0
0

I have goann with ELCImagePickerController but they said install this component which is not available. Is there any other lib that i can go for multiple selection.
Thankx in advance :smile:

binding data of multiple classes to a single list view

$
0
0

Hi i'm having trouble in binding data of multiple classes to a single list view.

Is it possible to build multiple apps from the same source code (Single Project) in xamarin forms

$
0
0

Hi Guys ,

Is it possible to build multiple apps from the same source code in Xamarin forms
i.e i want to make some changes like login page and want to build different apps for different clients but the same code

i want to build in both Android and ios platforms using Xamarin Form

Please guide me unless i can't start the project

Thanks in Advance.

Tap gesture recognizer in a looped grid possible?

$
0
0

Im stuck with how to make every grid unique when adding tap gesture recognizer! Is there another way to do it?

foreach (var item in list)
{
var grid = new Grid
{
BackgroundColor = Color.White,
Padding = 2,
HeightRequest = 150,
TranslationY = 5
};

        grid.Children.Add(new Label
        {
           Text = item.Title,
           FontSize = 16,
           FontFamily="Arial",
           TextColor = Color.Red,
           VerticalTextAlignment = TextAlignment.Center,
           HorizontalTextAlignment = TextAlignment.Center,
           HorizontalOptions =LayoutOptions.Center,


        });
        grid.Children.Add(new Label
        {
           Text = item.PublishTime.ToString(),
           FontSize = 10,
            FontFamily = "Arial",
            TextColor = Color.Red,
           VerticalTextAlignment = TextAlignment.Start,
           HorizontalTextAlignment = TextAlignment.End,
            TranslationX = -15,

        });
            grid.Children.Add(new Label
            {
                Text = item.Price.ToString() + " SEK",
                FontSize = 16,
                FontFamily = "Arial",
                TextColor = Color.Red,
                VerticalTextAlignment = TextAlignment.Center,
                HorizontalTextAlignment = TextAlignment.End,
                TranslationX = -15,
                WidthRequest = 90,

            });
            grid.Children.Add(new Image
            {
                Source = "item.jpg", 
                HorizontalOptions = LayoutOptions.Start,
                VerticalOptions = LayoutOptions.Center,
                WidthRequest = 120,
                HeightRequest = 120,

``
});
PostList.Children.Add(grid);


how to set background on login page

$
0
0

Hi im wondering how can I set an image background in my login form using xaml I tried all I have found in google and nothing works

Xamarin.forms Frame OutlineColor doesn't work on Android

$
0
0

Hey,

I am trying to have a frame which has a border around it and by setting the OutlineColor is does show up on iOS+WP but it doesn't on Android. I have been googling alittle and the issue gets changed to resolved even though it still persists.

Does anyone know a quick fix, since I need this border to complete my project.

Sincerely,

Luuk

Open context menu on map

$
0
0

Hi,
I am working on map and I want the context menu to open when I long click on map. I implemented click and long click events on map but i don't know to open context menu on maps. Is there a way to do this?
Thanks in advance.

How to refresh page content when tab reslected

Xamarin.Forms grid display with frozen columns?

$
0
0

I am evaluating Telerik's Xamarin.Forms product to see if it can provide for our needs.

I need to display data in grid form with columns and rows larger than the device's screen size. The user should be able to swipe horizontally or vertically to see their data, and I need the left two columns to be frozen so they remain on screen at all times.

I think the ListView Telerik provides covers all of these but the frozen columns. Is there a way to do this?

Viewing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>