I mean to ask is there any problem with .png file. On Tue, Aug 28, 2012 at 5:08 PM, vinay kumar <vk872...@gmail.com> wrote:
> May I know what is the issue you are facing with? > > > On Tue, Aug 28, 2012 at 12:26 PM, Pau Rodríguez Coloma > <paro...@gmail.com>wrote: > >> 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<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 >> > > -- 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