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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:46:36+00:00 2026-06-17T05:46:36+00:00

when using android:theme=@android:style/Theme.Holo.Light.Dialog.NoActionBar image stretched but when using android:theme=@android:style/Theme.NoTitleBar so image are show perfact

  • 0

enter image description here

when using android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar" image stretched
but when using android:theme="@android:style/Theme.NoTitleBar so image are show perfact why this image are strech?

<RelativeLayout
    android:id="@+id/journal_log_actionbar"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="@color/transparent" >

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginLeft="10dp"
        android:text="@string/journal_entry"
        android:textColor="@android:color/black" />

    <Button
        android:id="@+id/journal_actionbar_menu_add"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginRight="10dp"
        android:layout_toLeftOf="@+id/journal_actionbar_menu_save"
        android:background="@drawable/btn_small_add" />

    <Button
        android:id="@+id/journal_actionbar_menu_save"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toLeftOf="@+id/journal_actionbar_menu_delete"
        android:layout_centerVertical="true"
        android:layout_marginRight="10dp"
        android:background="@drawable/btn_small_save" />

    <Button
        android:id="@+id/journal_actionbar_menu_delete"
        android:layout_width="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_height="wrap_content"
        android:layout_marginRight="10dp"
        android:layout_centerVertical="true"
        android:background="@drawable/btn_trash" />
</RelativeLayout>

but when use android:theme="@android:style/Theme.NoTitleBar so this type of images shown
enter image description here

  • 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-17T05:46:37+00:00Added an answer on June 17, 2026 at 5:46 am

    change theme and try

    <RelativeLayout
    android:id="@+id/journal_log_actionbar"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="@color/transparent" >
    
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginLeft="10dp"
        android:text="@string/journal_entry"
        android:textColor="@android:color/black" />
    
    <ImageView
        android:id="@+id/journal_actionbar_menu_add"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginRight="10dp"
        android:layout_toLeftOf="@+id/journal_actionbar_menu_save"
        android:src="@drawable/btn_small_add" />
    
    <ImageView
        android:id="@+id/journal_actionbar_menu_save"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toLeftOf="@+id/journal_actionbar_menu_delete"
        android:layout_centerVertical="true"
        android:layout_marginRight="10dp"
        android:src="@drawable/btn_small_save" />
    

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

Sidebar

Related Questions

I have this configuration for my application. <application android:label=@string/app_name android:theme=@android:style/Theme.Holo.Light> <activity android:name=.MainActivity android:label=@string/app_name> I
I got few Activities that use @android:style/Theme.Holo.Light.NoActionBar as theme. API levels above 11 work
I was using this xml style: <style name=Theme.Transparent parent=@android:style/Theme.Translucent.NoTitleBar> This was showing a tansparent
I'm using an activity with android:theme=@android:style/Theme.Dialog to make it act as a dialog. What
I have an application with three tabs. I am using android:theme=@android:style/Theme.NoTitleBar.Fullscreen to hide the
In my AndroidManifest.xml I'm using the android:theme=@android:style/Theme.NoTitleBar.Fullscreen attribute in the application tag. When I
I am having this issue where I am using the Android's Holo theme on
I'm using: android:theme=@android:style/Theme.Translucent.NoTitleBar in combination with: getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, WindowManager.LayoutParams.FLAG_BLUR_BEHIND); to get a nice transparent background
For some Activity I'm using @Theme/Dialog, but this appears like old UI 2.3. If
I am using Theme.Holo in My Current android app. Above is the overflow UI

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.