Click here to Skip to main content
15,390,901 members
Home / Discussions / Android
   

Android

 
QuestionHow can I make an android app for Amazon Store affiliate deal & coupons? Pin
Amit Saha 202122-Jun-21 0:05
MemberAmit Saha 202122-Jun-21 0:05 
AnswerRe: How can I make an android app for Amazon Store affiliate deal & coupons? Pin
codelexer22-Jun-21 18:41
Membercodelexer22-Jun-21 18:41 
QuestionHow to set proportional distance between two controls? Pin
Alex Dunlop19-Jun-21 6:41
MemberAlex Dunlop19-Jun-21 6:41 
Questionwhy I am not able to fetch data from Json in AndroidStudio Pin
jerry pugu27-May-21 1:55
Memberjerry pugu27-May-21 1:55 
AnswerRe: why I am not able to fetch data from Json in AndroidStudio Pin
Richard Deeming27-May-21 3:06
mveRichard Deeming27-May-21 3:06 
AnswerRe: why I am not able to fetch data from Json in AndroidStudio Pin
BrillMindz Tech20-Sep-21 21:43
MemberBrillMindz Tech20-Sep-21 21:43 
QuestionConcepts for app development Pin
satyendra109015-May-21 19:43
Membersatyendra109015-May-21 19:43 
QuestionHow to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 19:59
MemberAlex Dunlop13-May-21 19:59 
I have made a BMI calculator based on a tutorial from Youtube. I added a wallpaper to my app. I want to add a transparent frame to my background and all the controls would be put on that frame.
I tried this code:
XML
<Frame BackgroundColor="Black"
                  CornerRadius="10"
                  HasShadow="False"
                  Opacity="0.5"
                  Margin="30">
       <FlexLayout Direction="Column"
               JustifyContent="SpaceEvenly"
               Padding="5">

           <StackLayout>
               <Label Text="قد شما چند سانتیمتر است؟"
                  Style="{StaticResource TitleStyle}"/>
               <Label Text="{Binding Source={x:Reference HeightSlider},
               Path=Value,
               StringFormat='{0:F0} cm'}"
                  Style="{StaticResource ValueStyle}"/>
               <Slider x:Name="HeightSlider"
                   Maximum="220"
                   Minimum="40"
                   Value="{Binding Height}"/>
           </StackLayout>
           <StackLayout>
               <Label Text="وزن شما چند کیلوگرم است؟"
                  Style="{StaticResource TitleStyle}"/>
               <Label Text="{Binding Source={x:Reference WeightSlider},
               Path=Value,
               StringFormat='{0:F0} kg'}"
                  Style="{StaticResource ValueStyle}"/>
               <Slider x:Name="WeightSlider"
                   Maximum="150"
                   Minimum="5"
                   Value="{Binding Weight}"/>
           </StackLayout>
           <StackLayout>
               <Label Text="شاخص توده بدنی شما:"
                  Style="{StaticResource LabelStyle}"/>
               <Label Text="{Binding BMI}"
                  Style="{StaticResource LabelStyle}"
                  FontSize="48"/>
               <Label Text="{Binding Classification}"
                  Style="{StaticResource LabelStyle}"
                  FontSize="20"/>
           </StackLayout>
       </FlexLayout>
   </Frame>

The problem is that all the child nodes get affected by opacity and marigin settings.
I want to have opacity just in fram, not child nodes. Also, Child nodes must have their own padding.
How to fix this problem?Confused | :confused:
AnswerRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan13-May-21 21:04
mveRichard MacCutchan13-May-21 21:04 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 23:03
MemberAlex Dunlop13-May-21 23:03 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan13-May-21 23:22
mveRichard MacCutchan13-May-21 23:22 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 23:53
MemberAlex Dunlop13-May-21 23:53 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan14-May-21 0:57
mveRichard MacCutchan14-May-21 0:57 
AnswerRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Gerry Schmitz14-May-21 9:42
mveGerry Schmitz14-May-21 9:42 
QuestionHow do I fire up an Android Emulator in Android Studio? Pin
priyamtheone6-May-21 8:14
Memberpriyamtheone6-May-21 8:14 
QuestionRe: How do I fire up an Android Emulator in Android Studio? Pin
David Crow9-May-21 16:23
MemberDavid Crow9-May-21 16:23 
AnswerRe: How do I fire up an Android Emulator in Android Studio? Pin
priyamtheone11-May-21 9:12
Memberpriyamtheone11-May-21 9:12 
AnswerRe: How do I fire up an Android Emulator in Android Studio? Pin
Gerry Schmitz14-May-21 9:53
mveGerry Schmitz14-May-21 9:53 
GeneralRe: How do I fire up an Android Emulator in Android Studio? Pin
priyamtheone15-May-21 5:55
Memberpriyamtheone15-May-21 5:55 
AnswerRe: How do I fire up an Android Emulator in Android Studio? Pin
JakeClarke25-May-21 3:19
professionalJakeClarke25-May-21 3:19 
GeneralRe: How do I fire up an Android Emulator in Android Studio? Pin
priyamtheone27-May-21 6:10
Memberpriyamtheone27-May-21 6:10 
QuestionHow do I write an application that sends the origin and destination of the user to the Uber app? Pin
Nima Mazaheri 20211-May-21 22:17
MemberNima Mazaheri 20211-May-21 22:17 
AnswerRe: How do I write an application that sends the origin and destination of the user to the Uber app? Pin
Richard MacCutchan2-May-21 1:04
mveRichard MacCutchan2-May-21 1:04 
QuestionRe: How do I write an application that sends the origin and destination of the user to the Uber app? Pin
David Crow2-May-21 16:42
MemberDavid Crow2-May-21 16:42 
QuestionAndroid studio Pin
Zainab Hussaini14-Apr-21 0:51
MemberZainab Hussaini14-Apr-21 0:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.