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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:36:10+00:00 2026-05-27T15:36:10+00:00

I have finished coding the logic of my application, which contains a GridView, a

  • 0

I have finished coding the logic of my application, which contains a GridView, a few TextViews and a few dialogs.

I now wish to style these views, as the default theme is somewhat ugly.

I’ve had a look at the provided Android themes, and tried out a few of them but they didn’t really offer much.
Therefore, I’m wondering if there are any resources available that would allow me to quickly apply a pre-defined thene and I could then tweak it accordingly?
The ability to switch between a few stylish themes to get ideas and tweak them would be very beneficial as I am not the most graphical-minded.

Thanks

  • 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-27T15:36:11+00:00Added an answer on May 27, 2026 at 3:36 pm

    Here what I do to style my dialogs differently. I first define a shape which gives be a gradient filled background and rounded edges:

    filled_roundededges_box.xml

    <?xml version="1.0" encoding="utf-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle" >
        <gradient 
            android:startColor="#353535"
            android:endColor="#222222"
            android:angle="90" />
    <stroke android:width="2dp" android:color="#808080"/>
    <corners android:radius="5dp" />
    <padding android:left="10dp" android:top="10dp"
        android:right="10dp" android:bottom="10dp" />
    </shape>
    

    I then create a style using this shape:

    styles.xml:

    <style name="AppCustomDialog" parent="android:style/Theme.Dialog">
        <item name="android:windowBackground">@drawable/filled_roundededges_box</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowSoftInputMode">stateVisible</item>
    </style>
    

    Finally I apply this style to my button:

    <ImageButton
            android:id="@+id/addedit_btnPrev"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical|right"
            android:src="@drawable/left"
            style="@style/App_ButtonStyle" />
    

    Alternatively you can apply the style as a theme to the who app using:

    <application
        android:icon="@drawable/ic_launcher_noteit1"
        android:label="@string/app_name" 
        android:theme="@style/App_Theme"
        android:name="NoteItApplication" 
        android:debuggable="true">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i just finished Coding my PHP application now the coding has become somewhat Huge
Age old question! When you have finished developing and testing your ASP.Net web application,
My software handles multiple operations on files, and I have now finished writing the
I have pretty much finished my first working Symbian application, but in my hastened
I'm new to computer coding and have just finished coding an app and tested
I have heard that writing (coding) unit tests for your application effectively doubles the
I have just finished coding up a relatively involved web service in PHP. The
I have just finished writing my c# console application, and I am contemplating embedding
I finished coding my jQuery site but I have found that .live jQuery is
So I am just starting out developing PHP web applications and have finished setting

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.