Please, help...

El viernes, 24 de agosto de 2012 12:08:54 UTC+2, Pau Rodríguez Coloma 
escribió:
>
> Hi, 
>
>  I'm want to set the background of a RelativeLayout like the attached png. 
> For the moment I'm using a bitmap definition xml named 
> "background_dark.xml" like:
>
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <bitmap xmlns:android="http://schemas.android.com/apk/res/android";
>
>     android:src="@drawable/fondo_oscuro"
>
>     android:tileMode="repeat">
>
> </bitmap>
>
>
> And using it as the background drawable in my RelativeLayout: 
>
>
> <RelativeLayout
>
>     android:layout_width="fill_parent"
>
>     android:layout_height="fill_parent"
>
>     android:layout_below="@+id/headerLayout"
>
>     android:background="@drawable/background_dark">
>
> </RelativeLayout>
>
>
> But I want to make the same effect without using the png file, i.e. using 
> only shapes and layer-list. The number of lines has to be different 
> depending of the screen size, only the separation between lines are 
> determinated.
>
>
> Does anyone know how can I do this?
>
>
> Thanks in advance. 
>
>
> NOTE: Sorry about my english.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to