Tamas Koos
Tamas Koos

Reputation: 1063

Android - Relative layout inside ScrollView

How can I put relative layout inside a scrollview? I want a scrollable view that contains pictures and texts like this:

The screen should look like this

I searched the Internet for solution or example, but in every sample project they use linear layout. Please help!

Thanks in advance.

Upvotes: 3

Views: 497

Answers (2)

Thomas Bouron
Thomas Bouron

Reputation: 613

Based on what you are describing + your mock, you should use a ListView with a header that contains your picture (on the top of the list)

Upvotes: 0

crazyPixel
crazyPixel

Reputation: 2330

Take a look at this tutorial it has exactly what you need.

Upvotes: 2

Related Questions