Monday, February 24, 2014

layout files in the new project where it was being given, really strange way


  
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: orientation = "vertical"
android: background = "# 111"
>

android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: layout_centerInParent = "true">

android: id = "@ + id / shakeBg"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: layout_centerInParent = "true"
android: src = "@ drawable/shakehideimg_man2" />

android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
android: layout_centerInParent = "true"
android: orientation = "vertical">

android: id = "@ + id / shakeImgUp"
android: layout_width = "fill_parent"
android: layout_height = "190dp"
android: background = "# 111">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: layout_alignParentBottom = "true"
android: layout_centerHorizontal = "true"
android: src = "@ drawable / shake_logo_up"
/>

android: id = "@ + id / shakeImgDown"
android: layout_width = "fill_parent"
android: layout_height = "190dp"
android: background = "# 111">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: layout_centerHorizontal = "true"
android: src = "@ drawable / shake_logo_down"
/>




android: id = "@ + id / shake_title_bar"
android: layout_width = "fill_parent"
android: layout_height = "45dp"
android: background = "@ drawable / title_bar"
android: gravity = "center_vertical">


In a project where it is normal, copied to the new project will complain
Error: java.lang.StackOverflowError
Exception details are logged in Window> Show View> Error Log
The following classes could not be found:
- Button (Change to android.widget.Button, Fix Build Path, Edit XML)

I see there is no specific error it, this how to do it<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Themselves yo, less resource files, hoping to help a friend after

No comments:

Post a Comment