Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8813209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:47:23+00:00 2026-06-14T03:47:23+00:00

I’m a newie in Android apps and now I’m stuck triyng to get something

  • 0

I’m a newie in Android apps and now I’m stuck triyng to get something like this layout…

http://cloud.addictivetips.com/wp-content/uploads/2012/04/Google-Drive-for-Android-Home.jpg

I’ve started doing with RelativeLayout, but I don’t know how to do this cute buttons. I’ve use buttons with background images with no success. I’ve seen there’s antoher layouts… What would you use to achieve these one? Or where can I follow a good example talking about layouts and buttons with different examples, because I couldn’t find anything interesting about 🙁

Thanks in advance and sorry about my english

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:47:24+00:00Added an answer on June 14, 2026 at 3:47 am

    It sounds like you basically have two questions:

    1. How to create this layout?
    2. How to create or where to get these buttons?

    To attempt to answer the first question, there are numerous ways to create a layout such as the one you presented. Since you mention that you are a “newbie” I will present you with one simple way, and that is to use a linear layout.

    > <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >
    
        <TextView
            android:id="@+id/TextView03"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:drawableLeft="@drawable/4_collections_collection"
            android:gravity="center"
            android:text="My Drive" />
    
        <View
            android:layout_width="fill_parent"
            android:layout_height="1dip"
            android:layout_above="@id/your_image_view_id"
            android:layout_centerVertical="true"
            android:background="#808080" />
    
        <TextView
            android:id="@+id/TextView01"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:drawableLeft="@drawable/6_social_group"
            android:gravity="center"
            android:text="Shared with me" />
    
    
    
        <View
            android:layout_width="fill_parent"
            android:layout_height="1dip"
            android:background="#808080" />
    
        <TextView
            android:id="@+id/TextView04"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:drawableLeft="@drawable/3_rating_important"
            android:gravity="center"
            android:text="Starred" />
    
        <View
            android:layout_width="fill_parent"
            android:layout_height="1dip"
            android:background="#808080" />
    
        <TextView
            android:id="@+id/TextView04"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:drawableLeft="@drawable/10_device_access_alarms"
            android:gravity="center"
            android:text="Recent" />
    
        <View
            android:layout_width="fill_parent"
            android:layout_height="1dip"
            android:background="#808080" />
    
        <TextView
            android:id="@+id/TextView04"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:drawableLeft="@drawable/9_av_make_available_offline"
            android:gravity="center"
            android:text="Offline" />
    
    </LinearLayout>
    

    The key parts here are:

    • android:drawableLeft – the textview has a property called android:drawableLeft that allows you to assign an icon and place it easily on the left.
    • View – View here was used to draw a horizontal line.

    Another important part of that layout is Action Bar. For that you can use the following reference: Action Bar Reference on developer.android.com

    The regarding the second question, the icon/buttons can be attained in the download section of developer.android.com. Of course you in developing applications it will become necessary to use a graphics program to design your own icons and buttons.

    Hope this helps you get going in the right direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I've got a string that has curly quotes in it. I'd like to replace
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.