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

  • Home
  • SEARCH
  • 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 4084980
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:30:37+00:00 2026-05-20T18:30:37+00:00

HI All, I m working on one application in android. On the Home screen

  • 0

HI All,

I m working on one application in android. On the Home screen i have 6 buttons.

enter image description here

like this. on the buttons a have one transparent view which shows the current date.

Problem:

  1. I can not design the layout for the same.
  2. I am not getting how to overlap two views on the same window.
  3. if i make six buttons and after that if i take another layout the background layout is hiden and it is not shown at all.

This thing i know is we need two views on one view i can display 6 buttons and on anthoer view i can display date. but how?

Thanks in advance

  • 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-05-20T18:30:38+00:00Added an answer on May 20, 2026 at 6:30 pm

    check this layout it must help you to solve your problem

    <?xml version="1.0" encoding="utf-8"?>
    <FrameLayout
       xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
      android:layout_height="fill_parent">
      <RelativeLayout
        android:layout_width="fill_parent"
      android:layout_height="fill_parent">
      <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_alignParentTop="true"
       android:layout_alignParentLeft="true"></Button>
      <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_centerInParent="true"
       android:layout_alignParentLeft="true"></Button>
       <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_alignParentBottom="true"
       android:layout_alignParentLeft="true"></Button>
       <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_alignParentTop="true"
       android:layout_alignParentRight="true"></Button>
        <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_centerInParent="true"
       android:layout_alignParentRight="true"></Button>
        <Button
       android:text="Hello"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_alignParentBottom="true"
       android:layout_alignParentRight="true"></Button>
      </RelativeLayout>
      <ImageView
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
    
            android:src="@drawable/icon"/>
      </FrameLayout>
    

    to make image transparent see this

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

Sidebar

Related Questions

One long term project I have is working through all the exercises of SICP.
I created one application to read all the contacts stored in android 2.0 emulator.I
I have a map application using an in-house map engine on Android. I'm working
I have an Android application that installs a database (~2000 rows across all tables)
I'm working on one multi-tenancy application, where each tenant will have access to 1
I'm used to doing all my coding in one C file. However, I'm working
The question really says it all. For one project I am working on, the
My day job includes working to develop a Pascal-like compiler. I've been working all
All, I'm working on a SharePoint project, but this isn't a SharePoint-specific question per-se.
I am working on an android application, and I need to use encryption for

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.