I am getting an annoying error when creating the GUI for my app. It is an extremely simple GUI with only two text boxes and one button. I created it using Android's SDK for Eclipse in the "Graphical layout", which converts it to the main.xml. However, I keep getting the following error:
"Failed to convert 'dberm22 app' into a drawable" <--dberm22 app is the (fake) name of my app.
The detailed log gives this:
Code:
!ENTRY com.android.ide.eclipse.adt 4 0 2011-09-27 21:54:46.255
!MESSAGE main.xml: Failed to convert 'dberm22 app' into a drawable
!STACK 0
java.lang.NumberFormatException: Color value 'dberm22 app' must start with #
at com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:71)
at com.android.layoutlib.bridge.impl.ResourceHelper.getDrawable(ResourceHelper.java:248)
at com.android.layoutlib.bridge.android.BridgeTypedArray.getDrawable(BridgeTypedArray.java:731)
at android.view.View.<init>(View.java:1951)
at android.widget.TextView.<init>(TextView.java:350)
at android.widget.TextView.<init>(TextView.java:343)
at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
at com.android.layoutlib.bridge.android.BridgeInflater.onCreateView(BridgeInflater.java:84)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
at com.android.layoutlib.bridge.android.BridgeInflater.createViewFromTag(BridgeInflater.java:129)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:296)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:279)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:318)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:325)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.RenderService.createRenderSession(RenderService.java:380)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.renderWithBridge(GraphicalEditorPart.java:1310)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.recomputeLayout(GraphicalEditorPart.java:1075)
at com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart.activated(GraphicalEditorPart.java:901)
at com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.pageChange(LayoutEditor.java:403)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2745)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1432)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
My strings.xml and main.xml should be fine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<TextView android:text="@string/Welcome" android:id="@+id/textView1" android:textAppearance="?android:attr/textAppearanceLarge" android:layout_height="wrap_content" android:layout_width="match_parent" android:background="@string/app_name" android:gravity="center" android:layout_weight="0.46"></TextView>
<Button android:id="@+id/button1" android:layout_width="match_parent" android:text="@string/Authorize" android:layout_height="wrap_content" android:layout_weight="0.20" android:onClick="callOAuth" android:clickable="true"></Button>
<TextView android:text="@string/Note" android:layout_height="wrap_content" android:id="@+id/textView3" android:gravity="center" android:layout_width="wrap_content" android:layout_weight="0.25"></TextView>
</LinearLayout>
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">dberm22 app</string>
<string name="Note">Note: This app uses OAuth to authenticate, so all your information is completely anonymous to me.</string>
<string name="Welcome">Welcome to yadda yadda yadda.</string>
<string name="Authorize">Authorize App</string>
<string name="callOAuth">callOAuth</string>
</resources>
What can be the issue? Its driving me nuts!
Thanks in advance,
dberm22
dberm22 said:
I am getting an annoying error when creating the GUI for my app. It is an extremely simple GUI with only two text boxes and one button. I created it using Android's SDK for Eclipse in the "Graphical layout", which converts it to the main.xml. However, I keep getting the following error:
"Failed to convert 'dberm22 app' into a drawable" <--dberm22 app is the (fake) name of my app.
The detailed log gives this:
<SNIP>
My strings.xml and main.xml should be fine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:weightSum="1">
<TextView
android:text="@string/Welcome"
android:id="@+id/textView1"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_height="wrap_content"
android:layout_width="match_parent"
[COLOR="Red"]android:background="@string/app_name"[/COLOR]
android:gravity="center"
android:layout_weight="0.46">
</TextView>
<Button android:id="@+id/button1" android:layout_width="match_parent" android:text="@string/Authorize" android:layout_height="wrap_content" android:layout_weight="0.20" android:onClick="callOAuth" android:clickable="true"></Button>
<TextView android:text="@string/Note" android:layout_height="wrap_content" android:id="@+id/textView3" android:gravity="center" android:layout_width="wrap_content" android:layout_weight="0.25"></TextView>
</LinearLayout>
What can be the issue? Its driving me nuts!
Thanks in advance,
dberm22
Click to expand...
Click to collapse
I think it's expectig a color ref hex like #ff0000 (red) for the background color, not a string.
android:background="@string/app_name"
You're trying to use a string as a background.
Gene Poole said:
I think it's expectig a color ref hex like #ff0000 (red) for the background color, not a string.
Click to expand...
Click to collapse
Wow...I looked through my code 1000 times, and completely missed that. Thanks so much!
[SOLVED]
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Related
Hi developers,
I have a special problem and didn't find a solution for it yet. So I hope that anybody here had a similar issue and can point me to a solution.
The problem:
Basically I use an ImageView inside my widgets. When the image is smaller than the ImageViews space then there is no problem.
The problem raises when the image gets bigger than the ImageView.
In some cases I want that the image doesn't get scaled but cropped and then aligned due to the users option.
What I want to achive is that the ImageView gets as big as the image and then is aligned (top, right, bottom, left). The rest of the image should get clipped by the container.
All I could achive until now is that the image gets cropped and centerd (all done by the ImageView).
Here is the xml I use for the widgets:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/widgetbackground"
android:focusable="true" >
<!-- [...] -->
<LinearLayout
android:id="@+id/llTextBlock"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:gravity="center"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/llText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:id="@+id/llContent"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<!-- [...] -->
<ImageView
android:id="@+id/imgContentDontScale"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/widgetbackground"
android:focusable="true"
android:scaleType="center"
android:visibility="gone" >
</ImageView>
</LinearLayout>
<!-- [...] -->
</LinearLayout>
</LinearLayout>
<!-- [...] -->
</RelativeLayout>
The ImageView in question is the "imgContentDontScale" one.
The solution has to work on widgets (so almost only xml defined excluding the "RemotableViewMethod" marked methods) and ist has to be Froyo compatible.
Thanks
Michael
I have created a new xml file in the res>layout forlder called tabs.xml. It has the following code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
androidrientation="vertical" >
<TabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
androidrientation="vertical" >
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</TabWidget>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:id="@+id/Network"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="Channel Type:"
android:textAppearance="?android:attr/textAppearanceMedium" />
<RadioButton
android:id="@+id/urbanButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/textView1"
android:text="Urban" />
<RadioButton
android:id="@+id/suburbanButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/urbanButton1"
android:layout_alignBottom="@+id/urbanButton1"
android:layout_centerHorizontal="true"
android:text="SubUrban" />
<RadioButton
android:id="@+id/ruralButton3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/suburbanButton2"
android:layout_alignBottom="@+id/suburbanButton2"
android:layout_alignParentRight="true"
android:layout_marginRight="15dp"
android:text="Rural" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/urbanButton1"
android:text="Characteristics of Channel:"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignRight="@+id/suburbanButton2"
android:layout_below="@+id/textView2"
android:text="Medium Text"
android:textAppearance="?android:attr/textAppearanceMedium" />
<CheckBox
android:id="@+id/checkBox1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView3"
android:layout_toLeftOf="@+id/ruralButton3"
android:text="Manual Override" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/power"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</RelativeLayout>
<RelativeLayout
android:id="@+id/Connectivity"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</RelativeLayout>
<RelativeLayout
android:id="@+id/Offline"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</RelativeLayout>
</FrameLayout>
</LinearLayout>`enter code here`
</TabHost>
</LinearLayout>
Now i also have a andoid activity_main.xml in the same folder which i added nothing to it. i also created a java file called Tabs.Java and put it in the src folder under src>com.example.qosmetre>Tabs.Java with the following code
package com.example.qosmetre;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
public class Tabs extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.tabs);
}
}
Now my question is, when i run my app on the terminal or in debugging mode, how come nothing is showing up but a blank screen? Like i want the tabs to show up first thing with all the stuff underneath them as shown in the code above. Also how would i import a library for scatter plotting data that would be in my app?
I need to know where and what files to put what code in because im just a beginner and i dont know too much so ill need big guidence.
Thanks again in advance.
How can I use my gesture overlay view with navigation drawer? I'm adding the navigation drawer to the app with gesture overlay already working. I want to just add the swipe menu and if i have to give up the swipe gesture for the just have the action bar push button is fine. I just can't figure how to combine? I get an error before the app can start saying the it can't inflate class Drawer layout. See my XML code under.
Code:
<android.gesture.GestureOverlayView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/gestureOverlayView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- The main content view -->
<FrameLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<!-- The navigation drawer -->
<ListView android:id="@+id/left_drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"
android:choiceMode="singleChoice"
android:divider="#666"
android:dividerHeight="1dp"
android:background="#333"
android:paddingLeft="15sp"
android:paddingRight="15sp"
/>
<LinearLayout
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/timerTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginRight="5sp"
android:text="@string/startTime"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="30sp" />
<TextView
android:id="@+id/instructionTextView"
android:layout_width="574dp"
android:layout_height="wrap_content"
android:layout_weight="0.05"
android:textSize="40sp" />
</LinearLayout>
</android.support.v4.widget.DrawerLayout>
</android.gesture.GestureOverlayView>
Okay, so I'm using Android 4.3 on Xperia M, and the dialpad numbers are strings (their font change with the system's font). I want to make it drawables so that I can theme the dialpad using my own icons. Is this possible, and if it is, how should I do it? Should I edit one of the xmls after decompiling it?
The framework and the dialer/contacts apk:
https://drive.google.com/file/d/0B956mjWProLXRy0xUkJhYlhTTW8/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXY0xoRFAtM1JVQVU/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXQWd2ME1fczNTNUk/edit?usp=sharing
GeniuSotaKu said:
Okay, so I'm using Android 4.3 on Xperia M, and the dialpad numbers are strings (their font change with the system's font). I want to make it drawables so that I can theme the dialpad using my own icons. Is this possible, and if it is, how should I do it? Should I edit one of the xmls after decompiling it?
The framework and the dialer/contacts apk:
https://drive.google.com/file/d/0B956mjWProLXRy0xUkJhYlhTTW8/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXY0xoRFAtM1JVQVU/edit?usp=sharing
https://drive.google.com/file/d/0B956mjWProLXQWd2ME1fczNTNUk/edit?usp=sharing
Click to expand...
Click to collapse
Change @string to @drawable should work and place the pngs
SpinXO said:
Change @string to @drawable should work and place the pngs
Click to expand...
Click to collapse
Thanks.
I want to ask another thing, if it's fine with you.
EDIT: App force close after a few seconds after recompile, and the dialpad remains the same. Tell me where I went wrong. The "nothinghere" is a transparent image.
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/dialpad" android:layout_width="fill_parent" android:layout_height="fill_parent" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ex="http://schemas.android.com/apk/res/com.sonyericsson.android.socialphonebook">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="0.0dip" android:baselineAligned="false" android:layout_weight="15.0" android:layoutDirection="ltr">
<com.sonyericsson.android.socialphonebook.ui.widget.DialpadButtonView android:id="@id/one" android:focusable="true" android:clickable="true" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:soundEffectsEnabled="false" android:layoutDirection="ltr" android:paddingStart="@dimen/dialpad_button_padding_left" ex:normalBackground="@drawable/dial_num" ex:pressedBackground="@drawable/dial_num_pressed">
<TextView android:id="@id/oneNum" android:layout_width="@dimen/dialpad_button_num_text_width" android:layout_height="wrap_content" android:text="@string/lockscreen_strings_dialpad_1_txt" android:contentDescription="@string/spb_accessibility_one_and_voicemail_txt" style="@style/Dialpad.Digit" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:baselineAligned="false" android:layout_centerVertical="true" android:layout_toEndOf="@id/oneNum">
<TextView android:id="@id/oneSearchLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/nothinghere" android:layout_marginStart="@dimen/dialpad_search_lable_margin_left" style="@style/Dialpad.Label" />
<ImageView android:id="@id/voicemail_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/dialpad_1" />
Hi dear developers,
I spend much time with this issue.
When I create LinearLayout with four ToggleButtons with self images, button image will not keep aspect ratio, images will be deformed.
Button images pressed in vertical, not in horizontal.
This is layout code with deformed images:
<LinearLayout
android:id="@+id/linearLayout4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="0px"
androidrientation="horizontal">
<ToggleButton
android:id="@+id/bt1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/led"
android:text="Led"
android:textOff="BT1"
android:textOn="BT1" />
<ToggleButton
android:id="@+id/bt2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/led"
android:text="Led"
android:textOff="BT2"
android:textOn="BT2" />
<ToggleButton
android:id="@+id/bt3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/led"
android:text="Led"
android:textOff="BT3"
android:textOn="BT3" />
<ToggleButton
android:id="@+id/bt"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/led"
android:text="Led"
android:textOff="BT4"
android:textOn="BT4" />
</LinearLayout>
When I create similar LinearLayout with four ImageViews instead of ToggleButtons with same images, images not will be deformed. Same images keep aspect ratio. Button images pressed in vertical and horizontal with same ratio.
<LinearLayout
android:id="@+id/linearLayout3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="0px"
androidrientation="horizontal">
<ImageView
android:id="@+id/img1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/led" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/led" />
<ImageView
android:id="@+id/img3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/led" />
<ImageView
android:id="@+id/img4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:src="@drawable/led" />
</LinearLayout>
I don't know, why it's behavior different. Size of image is 128 x 128 pixels in png file.
How I can reach that ToggleButton's image will keep aspect ratio for all relative sizes?
Application is compiled in Android Studio 3.6.1 with build gradle:
...
android {
compileSdkVersion 25
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "com.nabto.androidaudiodemo"
minSdkVersion 11
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
...
Thank you for your help
Srapur