DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. TweetDeck Part 2: Preparing The Main View

TweetDeck Part 2: Preparing The Main View

Mohamed Haamdi user avatar by
Mohamed Haamdi
·
Jul. 22, 12 · Interview
Like (0)
Save
Tweet
Share
2.86K Views

Join the DZone community and get the full member experience.

Join For Free
Creating the Project

We shall start with creating the project. In Flash Builder go to  File > New > Flex Mobile Project and name it "TweetDeck" > Finish. For the template select the second one : View-Based Application. Flash Builder will create a new View named "TweetDeckHomeView.mxml" which will be the first one in our Project. Its in this View that the work will be done.

Placing the elements

Before we see every bit of the interface in detail, we will make a "skeleton" of our View. Here is the main Interface of the TweetDeck application on Android
 
Evidently,the application is composed of 3 main parts , vertically.Here we are not using the standard "ViewNavigator" hence we are not using the ActionBar.For deleting the actionBar, we use the propriety "actionBarVisible" of the View object which we are going to change to "false".
Here is the skeleton of the app with rectangles of colors : 
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        actionBarVisible="false">
  <s:layout>
    <s:VerticalLayout gap="0" />
  </s:layout>
  <s:Rect width="100%" height="40">
    <s:fill>
      <s:SolidColor color="0xFF0000" />
    </s:fill>
  </s:Rect>
  <s:Rect width="100%" height="100%">
    <s:fill>
      <s:SolidColor color="0xFF0FF0" />
    </s:fill>
  </s:Rect>
  <s:Rect width="100%" height="80">
    <s:fill>
      <s:SolidColor color="0xFFFF00" />
    </s:fill>
  </s:Rect>
</s:View>

After testing in the emulator , here is the result :
mobile app Interface (computing) Template Android (robot) Skeleton (computer programming) FLEX (protocol) Element Object (computer science)

Published at DZone with permission of Mohamed Haamdi. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Do Not Forget About Testing!
  • Mr. Over, the Engineer [Comic]
  • The Role of Data Governance in Data Strategy: Part II
  • Simulate Network Latency and Packet Drop In Linux

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: