- Jun 6, 2020
- 11,517
- 4,383
Hi,
I'm working with a scrollView for the first time. Just as an example, I'm trying to display some lines of text following the format "Line number: 1", "Line number 2", etc...
I put a scrollView in a layout also containing an ImageView on top, and a label in another layout, that I then load on the scrollView panel in the activity_start.
The problem is that these lines show, there are a few empty lines. I want my texts to start showing at the beginning of the scrollView.
These are the variables:
Globals:
This is the code I wrote:
Activity_Start:
If there are some...
I'm working with a scrollView for the first time. Just as an example, I'm trying to display some lines of text following the format "Line number: 1", "Line number 2", etc...
I put a scrollView in a layout also containing an ImageView on top, and a label in another layout, that I then load on the scrollView panel in the activity_start.
The problem is that these lines show, there are a few empty lines. I want my texts to start showing at the beginning of the scrollView.
These are the variables:
Globals:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Activity_Start:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید