• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps HELP (I am a veryy beginner)

Dear Everyone willing to help,
I am a very beginner but have to create an App for Tuesday !

The App has to contain one Textfield + one button Pay + one button Refund. And then I have to add a specific SDK from a company.

But lets start, do you think I need to create 3 Activities :
1) Amount(Textfield) + PAY
2) Summary page (transaction accepted + amount) + Refund button
3) Refund page (Refund successful)
Should I link the activities via the android:eek:n click ?

Or should I create a single Activity with all these features ? and then an Intent for the Pay button ?


Thank you for any help!

Best,
 
The 3 Activity approach seems best.
First thing you need to do is design your layouts for each Activity.
 
Thank you for your help !

I need some more help.

In the Layout Text section, I first wrote :
android:text="PAY"

but then its asked me to change to a string value
so now it looks like that
android:text="@String/pay"

I also found the files value where I wrote (as I found on Android Developer)
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string
name="pay"
>PAY</string>

But now in my Layout it not a PAY butten anymore but a @String/PAY Button.

Would someone know what I am doing wrong here ?

THanks !!!!
 
Back
Top Bottom