Change @strings to @string (you're referencing a specific type of
resource, 'string')

On Mar 17, 4:12 pm, "g10re...@gmail.com" <g10re...@gmail.com> wrote:
> i am trying to get my first program to run but it keeps saying no
> resource found that matches the given name strings/main_title" he is
> what i have so far
> <TextView
>                 android:text="@strings/main_title"
>                 android:layout_height="wrap_content"
>                 android:layout_width="wrap_content"
>                 android:layout_gravity="center"
>                 android:layout_marginBottom="25dip"
>                 android:textsize="24.5sp"     />
>
> the strings folder looks like this
>
> <?xml version="1.0" encoding="utf-8"?>
> <resources>
>     <string name="app_name">Sudoku</string>
>         <string name="main_title">Android Sudoku</string>
>         <string name="continue_lable">Continue</string>
>         <string name="new_game_lable">New Game</string>
>         <string name="about_lable">About</string>
>         <string name="exit_lable">Exit</string>
> </resources>
>
> please help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to