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 8027377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:47:36+00:00 2026-06-04T23:47:36+00:00

Is it possible, using just drawables to create a black background with an outward

  • 0

Is it possible, using just drawables to create a black background with an outward radiating white blur?

Here is what the final product will be, and whilst the gear is an ImageViwe, and the text is a TextView, I’d like to have the black + white blur be a single drawable, that I can assign to the containing LinearLayout:

enter image description here

Here is the code for the layout (eventually used in a GridView). I’d like to set the LinearLayout’s background to the aforementioned Drawable if possible:

<?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:layout_margin="10dp"
    android:background="#000000"
    android:gravity="center_vertical|center_horizontal"
    android:orientation="vertical"
    android:padding="5dp" >

    <ImageView
        android:id="@+id/tile_image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="10dp"
        android:adjustViewBounds="true"
        android:contentDescription="@string/temp_image"
        android:src="@drawable/ic_logo" />

    <TextView
        android:id="@+id/tile_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</LinearLayout>
  • 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-04T23:47:37+00:00Added an answer on June 4, 2026 at 11:47 pm

    Sure is, the following is the radial gradient drawable and will be used as the background. Change the colors/gradient radius to get the desired effect. ( create xml file in drawable folder “radialbg“, or which name you prefer)

    <?xml version="1.0" encoding="utf-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android"      
            android:shape="rectangle">
    <gradient
        android:startColor="#FFFFFFFF"
        android:endColor="#00FFFFFF"
        android:gradientRadius="270"
        android:type="radial"/>
    
    </shape>
    

    to apply it, use the following line in your linearlayout

    android:background="@drawable/radialbg">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started using Git and it's possible I've missed something obvious, but here
Hello guys. I think it isn't possible just using PHP, but just to be
Using just an sql query is it possible to write the contents of a
Is it possible to get data from remote server using JUST TSQL? I mean
is it possible to delete a file(s) inside the directory by just using javascript
using jqPlot, is it possible to limit the point labels to just one series?
Is it possible using jquery (or just javascript) to check for the existence of
Is it possible to make an enum using just numbers in C#? In my
Is it possible to implement a p2p using just PHP? Without Flash or Java
Is it possible using just SQL and MySQL to get the OUTPUT below? SAMPLE

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.