Android :: Remove Default Drop Shadow At Top Of Activity Layout

Oct 26, 2010

I have an activity. It does not have a title bar. The content view is just a linear layout. It looks like android draws a drop shadow at the top of my content view, directly below the status bar. Is there a way to stop that from being drawn?

My layout is just:

I have no titlebar:

requestWindowFeature(Window.FEATURE_NO_TITLE);

Android :: Remove default drop shadow at top of activity layout


Android :: Create Drop Shadow For Drawable?

Jan 18, 2010

How do i create a drop shadow to add it to a custom drawable i made using shape?

View 1 Replies View Related

Android :: PNG File With Transparent Drop Shadow Appears As Solid / What Am I Doing Wrong?

Oct 3, 2010

I have a PNG file with drop shadow that is supposed to be blended using multiply operation. I'm using an ImageView to show it.

However, the shadow is shown as solid gray.

What am I doing wrong?

View 4 Replies View Related

Android :: Shadow On Top Of A Layout On ActivityGroup / Fix It?

Jul 16, 2010

I'm trying to give my first steps on working with ActivityGroups. To be more specific, I have a parent activity with a layout containing several buttons, and another layout below them in order to add other activities' layouts by means of the "addView()" method. Well, everything works fine in functionality terms; but I'm experiencing a weird behavior inside the layout where other activities are kind of loaded into. A black line along the top border of the layout plus a slight shadow do appear when I run the application on the emulator. I have tried to play changing the paddings, margins, etc. with no success.

Has any of you experienced such weird behavior?

View 2 Replies View Related

Android :: Remove Shadow On Markers On My Map?

Nov 17, 2010

I am displaying a custom marker on my Google Map. They are placed fine, but they have this funny shadow. How can I remove the shadow? code...

View 1 Replies View Related

Android : Remove Drop Icon In Expandablelist?

May 21, 2009

Is there anyway to remove the default drop down icon on ExpandableList?

View 2 Replies View Related

Android :: Drop Pin On Default Google Maps From My App?

Apr 21, 2010

I have an address for a location. when i click some button in my app. it should redirect to default google map in android and drop the pin to that particular location.

View 1 Replies View Related

Android :: How To Dynamically Remove Widgets From Layout Inside A Layout

Sep 6, 2010

I have LinearLayout. Inside to that i have added one more Linearyout ( checkbox & text ).

(LinearLayout) one textView, (LinearLayout) Checkbox,textview , one textview

Now whenever clicks the checkbox, i need to dynamically display EditBox after the checkbox.

code:..........

On the click of checkbox listener i added a code like below.

code:.........

I want to the layout which was added earlier.

View 2 Replies View Related

Android : Can I Set A Default Item In Spinner Drop Down List?

Jan 26, 2010

How can I use code to set a default item in a spinner drop down list

View 4 Replies View Related

Android :: Adding To LinearLayout Another Layout And Handle This Layout In Separate Activity

May 6, 2010

I have an Activity which uses a layout with a LinearLayout in it. Now I want to create in runtime a subactivity which loads some other layout and add this layout as item of my LinearLatout.

View 1 Replies View Related

Sprint HTC Hero :: Edit Drop Down Menu's - Way To Remove?

Oct 14, 2009

I buried this in another thread. When I got to my photo album and select the "Share" option. My listing starts off with FACEBOOK, FACEBOOK, FLICKR, GMAIL, etc...

I only have one Facebook app installed. Is there a way to remove one of them?

View 1 Replies View Related

Android :: Possible To Remove PM Button From Timepicker On Layout?

Nov 10, 2010

i have to use some timepickers on my layout, but i dont need the PM buton, i just want to have 24 hours sistem on the timepickers this is possible? it is bassically to call "setIs24HourView(true)" but not from the java code, from the layout

View 1 Replies View Related

Android :: Finding Default Layout Of Device

Feb 26, 2010

Is there a mechanism in Android to know the default layout of any device (landscape or potrait)?

View 3 Replies View Related

Android :: How To Set The Mainfest.xml To Remove The Default Label

Mar 8, 2010

Any one can share the mainfest.xml. How to set it? then can remove the label..?

View 2 Replies View Related

Android :: How To Remove QuickOffice / Set Word To Go As Default?

Mar 9, 2010

I just bought Documents to Go, and so far love the actual program. One issue though, which I think may have more to do with the Android OS, is setting Documents to Go as the default fro opening Word/Excel/PDF/PPT files. When I try to open a Word Document (using ASTRO, DroidBox, or anything else) it asks me what app to use. The list has "Documents to Go" and "QuickOffice". If I pick "Word to Go", and tell it to use that as the default, it works. However if I then try to open a different file type (say an Excel file) it attempts to open it with Word to Go and obviously gives an error about it being the wrong/unsupported file. If I remove Word to Go as the default handler, I can then go back to the Excel file, attempt to open it, and select Sheets to Go, it works. So, first, how do I remove QuickOffice as an option (it shows up under Manage Apps, but there is no option to remove it)? Second, how do I set Word to Go as the default for .doc/.docx file types, Sheets to Go the default for .xls/.xlsx?

View 10 Replies View Related

Android :: How Can I Change Default Size (width + Height) Of XML Layout Preview?

Oct 5, 2010

Every time that I want to do a Layout, I'm getting a black layout preview then I can drop stuff on it, that's ok, but how can I change the size of that blank surface (xml). The question came because I set a folder layout-large and then when I add a new layout.xml to that folder it came with the same size, as a layout-normal.

View 1 Replies View Related

Android :: Remove Default Margin Inside WebView

Feb 24, 2010

There seems to be a default inner border in the WebView - it's about 6 pixels all round. How can this be removed so the size matches the content?

Simple demo (target is Google API 1.6):

CODE:............

View 2 Replies View Related

Android :: Unable To Remove Default Launching Of An Application

May 6, 2009

Example: I have a button which starts an activity with GET_CONTENT audio/* I have a menu with choices: Music Track or Sound Recorder and a checkbox. I check the box, it tells me that I can clear the setting in Application -> Manage Applications. I launch the Music Track with the box checked. I go to the application settings, but the "clear defaults" button is always enabled. It was already the case with 1.1 SDK, 1.5 does not help (tested on emulator 1.5 AND ADP1 with 1.5 recovery image). I also tested the allowClearUserData flag but it seems we cannot clear anything but the cache (for the webview ?)

View 8 Replies View Related

Android :: Static Layout For Whole App That Must In All Activity

Nov 17, 2010

Static Layout for whole app that must be in all Activity

View 12 Replies View Related

Android :: Pages Activity Or Layout

Oct 5, 2010

My app Consists an intro page with "Start", "About", etc..

I managed to create a functional version of the app by having the "Start" button call a new layout in which a new onclick listener is defined.

This doesn't seem clean to me that I@m defining a new onClick listener for each Layout I use and wonder how the correct way would be to create individual pages (including my "About" and any other screens I implement).

View 1 Replies View Related

Android :: Implement Tab Layout Using Only One Activity?

Sep 14, 2010

Official android dev website says that:You can implement your tab content in one of two ways: use the tabs to swap Views within the same Activity,.....http://developer.android.com/resources/tutorials/views/hello-tabwidget.html

I just wanna use tabs to swap views, no more than one activity. is there any sample code?

View 2 Replies View Related

Android :: Andorid Default Onfocus On Autofocus And Editview - How To Remove

Nov 19, 2010

In my application i have a autocomplete in first activity and some edittext in second activity.when i run my code in emulator it works fine and i am not seeing any virtual keyboard on screen when program is excecuted.but when i depoly it in device when i application loads, onfocus is directly on autocomplete and a keyboard pops out,and also when i navigate from first activity to second activity onfocus is on first edittext and keyboard pops out. I want to disable this onfocus on all the page. how to do that ?

View 1 Replies View Related

Android :: Use Default Droid Drawables / Risk To Remove Or Resize It?

Jul 8, 2010

What is the best approach when using default Android drawables? Should I use android.R.drawable or should I copy the drawables in my project and use R.drawable?

Is there any risk, that in a newer version of Android, some of the default drawables are removed or resized? Or, affect in some negative way, the look of my app? Also, which of the drawables in the Android source code are considered "stable" and should be relied on?

I'd rather not copy the drawables because I think that the look of the app should be consistent with the Android version used. So, for example, for version 1.6 it should use the default Android bitmaps for version 1.6.

View 4 Replies View Related

Android :: Passing Linear Layout From One Activity To Another

Feb 28, 2010

For a rather crazy reason I am trying to pass a linear Layout from one activity to another. Should I use an intent extra for this? What would be the right way to create a Linear Layout in one activity and then spawn a new activity using that linear Layout.

View 8 Replies View Related

Android :: Callback To Activity After Layout Has Completed?

Jun 3, 2009

I want to find the dimensions of the various views in my layout. My understanding is this can only be done after layout is completed since layout is somewhat dynamic. So, after the activity calls setContentView() and then returns control on the main thread to the OS so that layout can occur, how do I get a notification that layout has completed so I that I can query the views for their dimensions? On a related topic, can I find out the status bar's height or least the screen's full size (from which the status bar's height can be calculate by subtracting my window's height)?

View 2 Replies View Related

Android :: Can't Get Layout Info / When Creating Activity

Jul 22, 2010

I have this element in my layout XML:
<FrameLayout android:id="@+id/FrameLayout01"
android:layout_width="320sp" android:layout_height="380sp"
android:layout_gravity="center" android:background="#99CC33">
</FrameLayout>
And I want to get its position on the screen with getTop(), getBottom() but I want to do it only once.
I was trying to do it on the onCreate(), but those methods return all 0 as response.

View 1 Replies View Related

Android :: Access Large Layout In Activity?

May 13, 2010

I am having layout which I want to render on to different sizes of mobile (like WVGA854). Resource structure is like

reslayoutmain.xml
reslayout-largemain.xml

By default it is taking layout main.xml file itself of layout. Its not pointing to layout-largemain.xml. its throwing exception:Activity can not start resource not found. So can any one guide me how can I acheive this and how to support mutiple screens with different layouts like large,small and default along with images specified in respective dip folders.

View 1 Replies View Related

Android :: Setting Layout XML File To New Activity

Aug 18, 2009

I created a new Activity and created a new layout file under res/ layout . after this,i also want to add a options menu file under res/menu.but how could i bind all these layout file with this Activity? I can't find any info in manifest file. or i missed it?

View 3 Replies View Related

Android :: Loading More Than One Layout File For An Activity

Apr 29, 2010

How can we use more than one layout file. I have implemented a cutom dialog.That means i have created an layout file for dialog. And one layout file for my activity. But whatever the UI items in dialog layout ile if iam using them by findViewById it is giving me null

I will explain in details here @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); applicationContext=getApplicationContext();

Dialog folder=new Dialog(this); folder.setTitle("Creating folder"); folder.setContentView(R.layout.create_folder); TextView tv=findViewById(R.id.folder_text); //Here folder_text is in my second layoutfile ie in create_folder.xml //In the above statemet i got the null to tv variable. folder.show();

View 5 Replies View Related

Android :: Way To Connect A Layout View With An Activity?

Feb 4, 2010

It displays the first view correctly but i want it to be connected to a java class so i created an FirstActivity class where i can control all my components in the first view but how do i attach the first.xml layout with the FirstActivity java class ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved