0

Hello,

I'm using the rotate-layout library by rongi (https://github.com/rongi/rotate-layout) to achieve a horizontal list view by implementing the suggestion given by Kc Ochibili as an answer to this question: http://stackoverflow.com/questions/3240331/horizontal-listview-in-android. I'm getting the following errors when I try to use the library:

"error: Error parsing XML: unbound prefix"

and

"Attribute is missing the Android namespace prefix"

Here's what the code looks like so far:

<com.github.rongi.rotate_layout.layout.RotateLayout
app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.example.newsfeedreader.NewsDisplay$PlaceholderFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" >

<TextView
        android:id="@+id/rss_feed"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:clickable="true"
        app:layout_angle="-90"
        />

        </com.github.rongi.rotate_layout.layout.RotateLayout>

How can I get rid of these errors so that I can use the library? And do you have any suggestions as to how I can make a horizontal list view? I'm trying to build an RSS feed reader by following this tutorial: https://www.androidpit.com/java-guide-2-program-your-own-rss-reader.

P.S. I'm a newbie when it comes to android development so please bear with me. :)

Edited by admiralchip: formatting

2
Contributors
1
Reply
12
Views
2 Years
Discussion Span
Last Post by Raul Perez
0

Engage with me in a chat to help you solve this error.
I suppose you have entered that layout as a dependency, right ?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.