Lengkap

Android Development (android studio 3.3 prefereblly)

Overview:

Create an application with multiple Fragments.

Assignment Requirements:

Create a new Android Application using the EMPTY Template. Select API 21 (Android 5.0) as the Minimum SDK.

Create three Blank Fragment Java classes - Small, Medium, and Large

For the Main Activity, create a Layout with the following elements:

Two frames splitting the screen in half; use a layout element such as a with orientation="vertical" or else use a Constraint Layout.

The top frame will be part of the main activity (although it could be another fragment if you want). The bottom frame will hold a fragment based on which button is pressed, but it will start out empty.

In the activity_main Layout for the top, add an EditText field and buttons : [SMALL] [MEDIUM] [LARGE]

Colour the background of this fragment with a colour of your choice.

In the layouts for each Fragment, create a unique background colour (different for each), and a centred TextView that is sized 14dp for the small, 20dp for medium, and 40dp for the large display.

When a Button is clicked, attach the matching Small, Medium,or Large Fragment to the bottom frame of the layout, and copy the text contents from the EditText into the TextView in the Fragment.

Hints:

You will need to attach your fragments using code (FragmentManger/FragmentTransaction). Make sure you use fragment transaction .replace() to prevent crashes or duplicate adds.

You can transfer the EditText string to your Fragments by whatever valid method you choose, for example global variables, Bundle, or an Interface.

To center the TextView vertically and horizontally, use android:gravity="center"

When the app starts, there is no fragment attached:

When SMALL, MEDIUM, or LARGE is pressed, the appropriate Fragment is attached & filled with the text:

Kemahiran: Android, HTML5, Java, Javascript, Mobile App Development

Lihat lebih lanjut: android development studio, simple javascript project example, business card javascript project, 3d development android , driver development android, ruby android development, android development israel, android development money, android development database, android development freelance, juicy development android, programmer android avec visual studio 2008, android development project , android development company, example credit card validation javascript using vbnet, code quiz using javascript, java game development android, sample randomize quiz using javascript, quiz using javascript, software development android bangalore, javascript project fun, javascript project lets race, example using data mysql using javascript php, javascript project management calendar, school management system project overview

Tentang Majikan:
( 4 ulasan ) Hamilton, Canada

ID Projek: #15915794

Dianugerahkan kepada:

Grisha97924

Dear sir I have experience of android I use android studio and i can make what you want I read your purpose and i'm interesting in your project You will not waste time with me and you will get whatever you want. Lagi

$50 CAD dalam sehari
(1 Ulasan)
0.7

5 pekerja bebas membida secara purata $83 untuk pekerjaan ini

jones417

Over the last 7 years I have developed a wide range of mobile applications for smartphones, tablets and smartwatches. Most of my clients are companies from the small business but I've also worked for Samsung, Shutterst Lagi

$25 CAD dalam sehari
(8 Ulasan)
4.9
supersuntech

I am a web and mobile app developer having 4 years of experience in mobile app development. I am providing you website which is compatible to all browsers and screens (fully responsive) and mobile app with user friendl Lagi

$300 CAD dalam 10 hari
(7 Ulasan)
3.8
tbldevelopment

My name is Thomas, and you may find more about me at [url removed, login to view] [url removed, login to view] & [url removed, login to view] Relevant Skills and Experience My skills are Swift, Objective C and PHP [url removed, login to view] framework Lagi

$25 CAD dalam sehari
(9 Ulasan)
3.5
ansifer

A proposal has not yet been provided

$15 CAD dalam sehari
(0 Ulasan)
0.0